Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 106.5 kB / 16.38 MB, free: 5.969 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.00129/0.00129, allocations: 192.6 kB / 17.32 MB, free: 5.582 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.505e-05, allocations: 5.938 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003206/0.003246, allocations: 2.029 MB / 0.6748 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.005551, allocations: 1.664 MB / 0.6765 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.005622, allocations: 4 kB / 0.6765 GB, free: 2.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.668e-05/0.005684, allocations: 11.86 kB / 0.6765 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.005792, allocations: 51.55 kB / 0.6765 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.006726, allocations: 358.8 kB / 0.6769 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.006971, allocations: 243 kB / 0.6771 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.007133, allocations: 53.45 kB / 0.6772 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.007241, allocations: 83.83 kB / 0.6772 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.00738, allocations: 87.67 kB / 0.6773 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.007415, allocations: 16 kB / 0.6773 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.008043, allocations: 403.5 kB / 0.6777 GB, free: 0.875 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002147/0.008268, allocations: 253.5 kB / 0.678 GB, free: 0.625 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 7.758e-05/0.008353, allocations: 142 kB / 0.6781 GB, free: 496 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.008392, allocations: 27.88 kB / 0.6781 GB, free: 468 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-05/0.00842, allocations: 7.938 kB / 0.6781 GB, free: 460 kB / 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.0007937/0.009219, allocations: 0.8139 MB / 0.6789 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.000127/0.009355, allocations: 75.55 kB / 0.679 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0006021/0.009964, allocations: 0.6505 MB / 0.6796 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simplify1: time 2.467e-05/0.009998, allocations: 27.95 kB / 0.6797 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Alias: time 0.0009825/0.01099, allocations: 0.8482 MB / 0.6805 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplify2: time 1.125e-05/0.01101, allocations: 7.984 kB / 0.6805 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of Events: time 0.000162/0.01118, allocations: 108.9 kB / 0.6806 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001527/0.01134, allocations: 148 kB / 0.6807 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001868/0.01153, allocations: 155.8 kB / 0.6809 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001071/0.01261, allocations: 1.086 MB / 0.6819 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0004337/0.01305, allocations: 468.3 kB / 0.6824 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Inline: time 0.000761/0.01382, allocations: 0.8229 MB / 0.6832 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of Partitioning: time 3.79e-05/0.01387, allocations: 41.22 kB / 0.6832 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of Cleanup: time 3.517e-05/0.01391, allocations: 39.89 kB / 0.6833 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001176/0.01509, allocations: 1.286 MB / 0.6845 GB, free: 9.531 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.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!