Storing simulation output in redis