Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 116.4 kB / 16.43 MB, free: 6.477 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.001141/0.001141, allocations: 183.2 kB / 17.36 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.211/1.211, allocations: 222.9 MB / 241 MB, free: 15.08 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.309/2.309, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/1.918e-05, allocations: 3.969 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.5151/0.5151, allocations: 69.93 MB / 1.134 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02288/0.5381, allocations: 14.49 MB / 1.148 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/0.5412, allocations: 74 kB / 1.148 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.5437, allocations: 0.9548 MB / 1.149 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007314/0.551, allocations: 2.676 MB / 1.152 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005558/0.5566, allocations: 1.998 MB / 1.154 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007851/0.5645, allocations: 5.225 MB / 1.159 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.5665, allocations: 1.332 MB / 1.16 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.571, allocations: 1.951 MB / 1.162 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.5727, allocations: 1.283 MB / 1.163 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.573, allocations: 189.1 kB / 1.164 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.5781, allocations: 2.058 MB / 1.166 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.002657/0.5807, allocations: 3.202 MB / 1.169 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.001494/0.5822, allocations: 2.027 MB / 1.171 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000625/0.5829, allocations: 358.8 kB / 1.171 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0005547/0.5834, allocations: 70.58 kB / 1.171 GB, free: 2.789 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: 294 (278) * Number of variables: 294 (280) Notification: Performance of Bindings: time 0.006628/0.5901, allocations: 6.653 MB / 1.178 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0006064/0.5907, allocations: 0.5084 MB / 1.178 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.003759/0.5944, allocations: 3.64 MB / 1.182 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simplify1: time 0.0006498/0.5951, allocations: 495.6 kB / 1.182 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of Alias: time 0.006948/0.6021, allocations: 5.369 MB / 1.187 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of simplify2: time 0.0004911/0.6026, allocations: 351.3 kB / 1.188 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of Detect States: time 0.00059/0.6032, allocations: 0.5882 MB / 1.188 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of Events: time 0.0008125/0.604, allocations: 0.6482 MB / 1.189 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.001078/0.6051, allocations: 0.9991 MB / 1.19 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of Causalize: time 0.004767/0.6098, allocations: 4.167 MB / 1.194 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.002213/0.6121, allocations: 2.171 MB / 1.196 GB, free: 480 kB / 0.9044 GB Notification: Performance of Inline: time 0.005419/0.6175, allocations: 4.949 MB / 1.201 GB, free: 12.07 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001777/0.6177, allocations: 96.27 kB / 1.201 GB, free: 11.95 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0009969/0.6187, allocations: 1.193 MB / 1.202 GB, free: 10.74 MB / 0.92 GB Notification: Performance of Causalize: time 0.01368/0.6324, allocations: 11.17 MB / 1.213 GB, free: 15.27 MB / 0.9356 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_79)if heaPum.com.isOn then [----] [SCAL] (1) heaPum.com.TSuc = heaPum.com.port_a.T + heaPum.com.dTSup ($RES_SIM_80) [----] else [----] [SCAL] (1) heaPum.com.TSuc = heaPum.com.port_a.T ($RES_SIM_81) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!