Machine Learning Methods to Speed up Compositional Reservoir Simulation