The selected ReaxFF potential does not work for this system; it's missing certain bonds that are necessary. If you try it in the "Quick optimizer" in the Builder you do get a proper error message about this, and also if you use the potential in a script as
potentialSet = ReaxFF_CHONSSiPtZrNiCuCo_2005()
calculator = TremoloXCalculator(parameters=potentialSet)
Your modification to set "strict_bondpairs = False" means you bypass the warning, but the NaN is precisely why the warning is there in the first place.
Btw, let me also note that the system as constructed doesn't make much sense to optimize... If you really want a Cu/ZrO interface you need a lot more ZrO on one side and Cu on the other.