Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001286/0.001286, allocations: 103.2 kB / 16.37 MB, free: 6.367 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.00124/0.00124, allocations: 195.3 kB / 17.31 MB, free: 5.91 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.78e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003028/0.003072, allocations: 2.033 MB / 0.6748 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.005233, allocations: 1.66 MB / 0.6765 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.005303, allocations: 0 / 0.6765 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.39e-05/0.005374, allocations: 23.78 kB / 0.6765 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.831e-05/0.005478, allocations: 47.55 kB / 0.6765 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.006376, allocations: 358.8 kB / 0.6769 GB, free: 1.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.006596, allocations: 243 kB / 0.6771 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.006741, allocations: 51.83 kB / 0.6772 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.006839, allocations: 79.83 kB / 0.6772 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.00696, allocations: 83.67 kB / 0.6773 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.006994, allocations: 20 kB / 0.6773 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005839/0.007583, allocations: 415.5 kB / 0.6777 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001809/0.007774, allocations: 253.5 kB / 0.678 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 6.782e-05/0.007848, allocations: 138 kB / 0.6781 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.00788, allocations: 27.88 kB / 0.6781 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.816e-05/0.007903, allocations: 4 kB / 0.6781 GB, free: 0.5078 MB / 0.545 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.0007061/0.00862, allocations: 0.8176 MB / 0.6789 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001121/0.008738, allocations: 76.73 kB / 0.679 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0005634/0.009308, allocations: 0.6583 MB / 0.6796 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of simplify1: time 2.557e-05/0.009343, allocations: 23.97 kB / 0.6797 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of Alias: time 0.0009072/0.01026, allocations: 0.8444 MB / 0.6805 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simplify2: time 1.086e-05/0.01028, allocations: 7.984 kB / 0.6805 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Events: time 0.0001532/0.01044, allocations: 108.9 kB / 0.6806 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0002886/0.01073, allocations: 140.1 kB / 0.6807 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001714/0.01091, allocations: 164.1 kB / 0.6809 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0009821/0.0119, allocations: 1.078 MB / 0.6819 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0003806/0.01229, allocations: 464.3 kB / 0.6824 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Inline: time 0.0006888/0.01299, allocations: 0.8193 MB / 0.6832 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.09e-05/0.01304, allocations: 53.19 kB / 0.6832 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Cleanup: time 3.456e-05/0.01308, allocations: 35.91 kB / 0.6833 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001091/0.01418, allocations: 1.278 MB / 0.6845 GB, free: 9.594 MB / 0.5606 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!