Stability of solutions of hydrodynamic equations describing the scaling limit of a massive piston in an ideal gas