Automatic lost foam production line