Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 107 kB / 16.42 MB, free: 6.527 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.001186/0.001186, allocations: 187.2 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 251.7 MB / 0.51 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.487e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002521/0.002544, allocations: 2.033 MB / 0.7284 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.004867, allocations: 2.03 MB / 0.7303 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.00493, allocations: 8 kB / 0.7303 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.004984, allocations: 23.78 kB / 0.7304 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.005073, allocations: 51.55 kB / 0.7304 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.005954, allocations: 446.1 kB / 0.7308 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.006182, allocations: 235.1 kB / 0.7311 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.006315, allocations: 61.39 kB / 0.7311 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.006427, allocations: 83.72 kB / 0.7312 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.006546, allocations: 83.67 kB / 0.7313 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.006579, allocations: 20 kB / 0.7313 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.007191, allocations: 467.3 kB / 0.7318 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0001831/0.007383, allocations: 249.5 kB / 0.732 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 7.54e-05/0.007464, allocations: 138 kB / 0.7321 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.007497, allocations: 31.94 kB / 0.7322 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.395e-05/0.007515, allocations: 4 kB / 0.7322 GB, free: 14.77 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 (27) * Number of variables: 36 (36) Notification: Performance of Bindings: time 0.0007124/0.008232, allocations: 0.8176 MB / 0.733 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001024/0.00834, allocations: 73.55 kB / 0.733 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.000585/0.008931, allocations: 0.6583 MB / 0.7337 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simplify1: time 2.485e-05/0.008964, allocations: 23.97 kB / 0.7337 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of Alias: time 0.0009066/0.009875, allocations: 0.8403 MB / 0.7345 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simplify2: time 1.175e-05/0.009897, allocations: 7.984 kB / 0.7345 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of Events: time 0.0001488/0.01005, allocations: 112.9 kB / 0.7346 GB, free: 12 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001557/0.01021, allocations: 148 kB / 0.7348 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001678/0.01039, allocations: 172.8 kB / 0.7349 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0009637/0.01136, allocations: 1.067 MB / 0.736 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003706/0.01174, allocations: 472.1 kB / 0.7364 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Inline: time 0.0006863/0.01243, allocations: 0.8385 MB / 0.7372 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of Partitioning: time 3.539e-05/0.01247, allocations: 33.25 kB / 0.7373 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of Cleanup: time 3.178e-05/0.01251, allocations: 35.91 kB / 0.7373 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001103/0.01362, allocations: 1.3 MB / 0.7386 GB, free: 7.828 MB / 0.5762 GB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if com.isOn then [SCAL] (1) -(-heaFloCon.Q_flow) = com.P * com.COP ($RES_SIM_20) [SCAL] (1) -heaFloCon.Q_flow = -(heaFloEva.Q_flow + com.P) ($RES_SIM_21) [SCAL] (1) heaFloEva.Q_flow = com.m_flow * (com.hEva - com.hCon) ($RES_SIM_22) [SCAL] (1) com.TSuc = eva.T + com.dTSup ($RES_SIM_23) [SCAL] (1) com.P = com.PThe / com.etaEle + com.PLos ($RES_SIM_24) [SCAL] (1) com.PThe = com.vSuc * com.pSuc * com.m_flow * (com.k / (com.k - 1.0)) * (com.PR ^ ((com.k - 1.0) / com.k) - 1.0) ($RES_SIM_25) [SCAL] (1) com.m_flow = ((com.pisDis * com.pisDis_norm) / com.vSuc) * ((com.cleFac + 1.0) - com.cleFac * com.PR ^ (1.0 / com.k)) ($RES_SIM_26) [SCAL] (1) com.k = Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.com.ref.isentropicExponentVap_Tv(com.TSuc, com.vSuc) ($RES_SIM_27) [SCAL] (1) com.pDis = com.pCon + com.pDro ($RES_SIM_28) [SCAL] (1) com.pSuc = smooth(1, if $SEV_4 then com.pEva - com.pDro else if $SEV_5 then com.pCon - com.pDro else 0.25 * ((com.pDro + com.pCon) - (com.pEva + com.pDro)) * ((-3.0) + (((com.pDro + com.pCon) - (com.pEva + com.pDro)) / 49261.0) ^ 2.0) * (2.030003451005867e-5 * ((com.pCon + com.pDro) - (com.pDro + com.pEva))) + 0.5 * ((com.pEva + com.pCon) - (com.pDro + com.pDro))) ($RES_SIM_29) else [SCAL] (1) com.COP = 1.0 ($RES_SIM_30) [SCAL] (1) -heaFloCon.Q_flow = 0.0 ($RES_SIM_31) [SCAL] (1) heaFloEva.Q_flow = 0.0 ($RES_SIM_32) [SCAL] (1) com.TSuc = eva.T ($RES_SIM_33) [SCAL] (1) com.P = 0.0 ($RES_SIM_34) [SCAL] (1) com.PThe = 0.0 ($RES_SIM_35) [SCAL] (1) com.m_flow = 0.0 ($RES_SIM_36) [SCAL] (1) com.pDis = com.pCon ($RES_SIM_37) [SCAL] (1) com.pSuc = com.pEva ($RES_SIM_38) [SCAL] (1) com.k = 1.0 ($RES_SIM_39) end if; Error: Internal error NBInitialization.main failed to apply modules!