Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001519/0.001519, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.001689/0.001689, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9498/0.9498, allocations: 143 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.086e-05, allocations: 6.219 kB / 0.5155 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.4028/0.4028, allocations: 69.91 MB / 0.5838 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.4275, allocations: 14.49 MB / 0.5979 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.4319, allocations: 77.88 kB / 0.598 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.4357, allocations: 0.9184 MB / 0.5989 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4467, allocations: 2.549 MB / 0.6014 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.4569, allocations: 1.988 MB / 0.6033 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.4675, allocations: 5.213 MB / 0.6084 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.4711, allocations: 1.76 MB / 0.6101 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005962/0.4771, allocations: 1.915 MB / 0.612 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/0.4805, allocations: 1.338 MB / 0.6133 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005772/0.4811, allocations: 188.3 kB / 0.6135 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006784/0.4879, allocations: 2.061 MB / 0.6155 GB, free: 2.488 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.003528/0.4915, allocations: 3.194 MB / 0.6186 GB, free: 15.26 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.001797/0.4933, allocations: 2.024 MB / 0.6206 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.4942, allocations: 359.1 kB / 0.6209 GB, free: 12.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0006534/0.4948, allocations: 67.69 kB / 0.621 GB, free: 12.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 (269) * Number of variables: 294 (280) Notification: Performance of Bindings: time 0.01022/0.5051, allocations: 9.249 MB / 0.63 GB, free: 3.516 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.001012/0.5061, allocations: 0.8948 MB / 0.6309 GB, free: 2.645 MB / 462.1 MB Notification: Performance of Early Inline: time 0.005386/0.5115, allocations: 4.941 MB / 0.6357 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simplify1: time 0.0004656/0.512, allocations: 315.6 kB / 0.636 GB, free: 13.35 MB / 478.1 MB Notification: Performance of Alias: time 0.0112/0.5232, allocations: 7.986 MB / 0.6438 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simplify2: time 0.0005883/0.5238, allocations: 219.7 kB / 0.644 GB, free: 4.664 MB / 478.1 MB Notification: Performance of Events: time 0.001357/0.5252, allocations: 0.8646 MB / 0.6449 GB, free: 3.812 MB / 478.1 MB Notification: Performance of Detect States: time 0.0009948/0.5262, allocations: 0.9558 MB / 0.6458 GB, free: 2.828 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001841/0.5281, allocations: 1.427 MB / 0.6472 GB, free: 1.176 MB / 478.1 MB Notification: Performance of Causalize: time 0.00937/0.5374, allocations: 8.363 MB / 0.6554 GB, free: 8.926 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.003622/0.5411, allocations: 3.05 MB / 0.6584 GB, free: 5.84 MB / 494.1 MB Notification: Performance of Inline: time 0.008232/0.5494, allocations: 6.443 MB / 0.6647 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0005248/0.5499, allocations: 308.8 kB / 0.6649 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0009353/0.5509, allocations: 0.6257 MB / 0.6656 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of Causalize: time 0.02606/0.577, allocations: 24.23 MB / 0.6892 GB, free: 7.371 MB / 0.5137 GB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if heaPum.com.isOn then [SCAL] (1) -(-heaPum.con.con.Q_flow) = heaPum.com.P * heaPum.com.COP ($RES_SIM_62) [SCAL] (1) -heaPum.con.con.Q_flow = -((-heaPum.eva.con.Q_flow) + heaPum.com.P) ($RES_SIM_63) [SCAL] (1) -heaPum.eva.con.Q_flow = heaPum.com.m_flow * (heaPum.com.hEva - heaPum.com.hCon) ($RES_SIM_64) [SCAL] (1) heaPum.com.TSuc = heaPum.com.port_a.T + heaPum.com.dTSup ($RES_SIM_65) [SCAL] (1) heaPum.com.P = heaPum.com.PThe / heaPum.com.etaEle + heaPum.com.PLos ($RES_SIM_66) [SCAL] (1) heaPum.com.PThe = heaPum.com.vSuc * heaPum.com.pSuc * heaPum.com.m_flow * (heaPum.com.k / (heaPum.com.k - 1.0)) * (heaPum.com.PR ^ ((heaPum.com.k - 1.0) / heaPum.com.k) - 1.0) ($RES_SIM_67) [SCAL] (1) heaPum.com.m_flow = ((heaPum.com.pisDis * heaPum.com.pisDis_norm) / heaPum.com.vSuc) * ((heaPum.com.cleFac + 1.0) - heaPum.com.cleFac * heaPum.com.PR ^ (1.0 / heaPum.com.k)) ($RES_SIM_68) [SCAL] (1) heaPum.com.k = BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.heaPum.com.ref.isentropicExponentVap_Tv(heaPum.com.TSuc, heaPum.com.vSuc) ($RES_SIM_69) [SCAL] (1) heaPum.com.pDis = heaPum.com.pCon + heaPum.com.pDro ($RES_SIM_70) [SCAL] (1) heaPum.com.pSuc = smooth(1, if $SEV_18 then heaPum.com.pEva - heaPum.com.pDro else if $SEV_19 then heaPum.com.pCon - heaPum.com.pDro else 0.25 * ((heaPum.com.pDro + heaPum.com.pCon) - (heaPum.com.pEva + heaPum.com.pDro)) * ((-3.0) + (((heaPum.com.pDro + heaPum.com.pCon) - (heaPum.com.pEva + heaPum.com.pDro)) / 49261.0) ^ 2.0) * (2.030003451005867e-5 * ((heaPum.com.pCon + heaPum.com.pDro) - (heaPum.com.pDro + heaPum.com.pEva))) + 0.5 * ((heaPum.com.pEva + heaPum.com.pCon) - (heaPum.com.pDro + heaPum.com.pDro))) ($RES_SIM_71) else [SCAL] (1) heaPum.com.COP = 1.0 ($RES_SIM_72) [SCAL] (1) -heaPum.con.con.Q_flow = 0.0 ($RES_SIM_73) [SCAL] (1) -heaPum.eva.con.Q_flow = 0.0 ($RES_SIM_74) [SCAL] (1) heaPum.com.TSuc = heaPum.com.port_a.T ($RES_SIM_75) [SCAL] (1) heaPum.com.P = 0.0 ($RES_SIM_76) [SCAL] (1) heaPum.com.PThe = 0.0 ($RES_SIM_77) [SCAL] (1) heaPum.com.m_flow = 0.0 ($RES_SIM_78) [SCAL] (1) heaPum.com.pDis = heaPum.com.pCon ($RES_SIM_79) [SCAL] (1) heaPum.com.pSuc = heaPum.com.pEva ($RES_SIM_80) [SCAL] (1) heaPum.com.k = 1.0 ($RES_SIM_81) end if; Error: Internal error NBInitialization.main failed to apply modules!