The recently introduced lattice Boltzmann model for thermal flow simulation on a standard lattice [Prasianakis and Karlin, Phys. Rev. E 76, 016702 (2007)] is studied numerically in the case where compressibility effects are essential. It is demonstrated that the speed of sound and shock propagation are described correctly in a wide temperature range, and that it is possible to take into account additional physics such as heat sources and sinks. A remarkable simplicity of the model makes it viable for engineering applications in subsonic flows with large temperature and density variations.