Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 113.8 kB / 16.43 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 183.2 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.34/2.34, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.745e-05, allocations: 4.328 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.5024/0.5024, allocations: 69.96 MB / 1.134 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.5217, allocations: 14.4 MB / 1.148 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.5245, allocations: 73.84 kB / 1.148 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.5268, allocations: 0.9576 MB / 1.149 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006901/0.5337, allocations: 2.664 MB / 1.152 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.5387, allocations: 1.988 MB / 1.154 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007054/0.5458, allocations: 5.234 MB / 1.159 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.5478, allocations: 1.349 MB / 1.16 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.5516, allocations: 1.95 MB / 1.162 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.5532, allocations: 1.285 MB / 1.163 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.5534, allocations: 190.8 kB / 1.164 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/0.5581, allocations: 2.058 MB / 1.166 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.003453/0.5616, allocations: 3.21 MB / 1.169 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.001443/0.5631, allocations: 2.03 MB / 1.171 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.5637, allocations: 366 kB / 1.171 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0005691/0.5643, allocations: 70.52 kB / 1.171 GB, free: 2.715 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 (280) * Number of variables: 296 (282) Notification: Performance of Bindings: time 0.006165/0.5705, allocations: 6.644 MB / 1.178 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0005751/0.5711, allocations: 0.5473 MB / 1.178 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.003528/0.5746, allocations: 3.752 MB / 1.182 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simplify1: time 0.0006355/0.5752, allocations: 0.4889 MB / 1.182 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of Alias: time 0.006827/0.5821, allocations: 5.407 MB / 1.187 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simplify2: time 0.0004718/0.5826, allocations: 344.8 kB / 1.188 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0007411/0.5833, allocations: 0.6083 MB / 1.188 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of Events: time 0.0008627/0.5842, allocations: 0.7042 MB / 1.189 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.001066/0.5853, allocations: 1.027 MB / 1.19 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of Causalize: time 0.004842/0.5901, allocations: 4.242 MB / 1.194 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.002218/0.5923, allocations: 2.253 MB / 1.196 GB, free: 96 kB / 0.9044 GB Notification: Performance of Inline: time 0.005343/0.5977, allocations: 5.116 MB / 1.201 GB, free: 11.4 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001953/0.5979, allocations: 100.3 kB / 1.202 GB, free: 11.27 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0009772/0.5989, allocations: 1.237 MB / 1.203 GB, free: 10.02 MB / 0.92 GB Notification: Performance of Causalize: time 0.0136/0.6125, allocations: 11.34 MB / 1.214 GB, free: 14.39 MB / 0.9356 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_46)if heaPum.com.isOn then [----] [SCAL] (1) -heaPum.eva.con.Q_flow = heaPum.com.m_flow * (heaPum.com.hEva - heaPum.com.hCon) ($RES_SIM_47) [----] else [----] [SCAL] (1) -heaPum.eva.con.Q_flow = 0.0 ($RES_SIM_48) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!