I have a strange problem with the climatological multi-year simulation in ROMS.
I force the model by a climatological atmospheric forcing, climatological boundary conditions and climatological nudging at the open boundaries. And also with climatological river point sources and tides. So all the forcing are repeated each year, except tides.
However, at the middle of the second (!) year of the simulation, something happens and the temperature is quickly filled with exclusion value 1e+37. The given time step is 12 seconds and the output step - once per day. My frames show, that it happens gradually (see the pictures below). The first frame is the last OK state of simulation, the next frame - the half of the domain is vanished, the last frame - everything disappeared.



The time series of temperature also shows, that there are no more valid temperature values after one year and a half (the figure below).

However, all the other variables continues to be successfully simulated (!). For example, salinity (the picture below) is being simulated during all five years.

Furthermore, although the phenomenon is repeated, I can not reproduce by restarting (even with the same time step) from some initial conditions taken before it happens (which I tried to do to identify the source of this 'NaN' spreading).
So the strange aspects which I don't understand are :
1. Why does this happens during the second year, although the atmospheric and boundary forcing are the same as for the first year?
2. How could it be, that the other variables are still computed and written, then temperature has only NaN values?
The important thing is - without tides there is no such an error. Non-tidal 10-years climatological run went successfully. So, I suspect, it could be due to tides. And tides is also the only forcing, that does not repeat every year.
I built tidal forcing with using of the matlab ROMS script. As a source, I took TPXO Global Tidal Solutions.
I also use WET_DRY, which I suspect, could be involved in the answer to this issue (not sure). The domain, where I'm working, is close to the West Coast of France, where tides are very big.
Thank you in advance!