A chemical system is at equilibrium when