Conical nozzle flow of a viscous compressible gas with energy extraction