The problem with this part of the code was that I was not setting the number of ghost cells, problem data and aux in ```s1``` and ```s2```. So I added that part of code. 
The line```s1 = copy.deepcopy(state)``` works fine and if it is better to copy the state instead of making a new object then I will change it.