Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001278/0.001278, allocations: 117 kB / 17.1 MB, free: 5.98 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.001335/0.001335, allocations: 198.2 kB / 18.04 MB, free: 5.055 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.577/1.577, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8852/0.8852, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.82e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00331/0.003349, allocations: 1.994 MB / 0.5602 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.005915, allocations: 1.666 MB / 0.5619 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.006027, allocations: 2.562 kB / 0.5619 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.17e-05/0.006108, allocations: 22.31 kB / 0.5619 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.006232, allocations: 48.81 kB / 0.5619 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.007372, allocations: 353.9 kB / 0.5623 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.007677, allocations: 238.4 kB / 0.5625 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.007874, allocations: 56 kB / 0.5625 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.008006, allocations: 86.59 kB / 0.5626 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.008181, allocations: 83.7 kB / 0.5627 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.00823, allocations: 17.81 kB / 0.5627 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.009069, allocations: 408.7 kB / 0.5631 GB, free: 29.16 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002579/0.009337, allocations: 256.2 kB / 0.5634 GB, free: 29 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 9.239e-05/0.009436, allocations: 139.4 kB / 0.5635 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.009484, allocations: 24.53 kB / 0.5635 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.622e-05/0.009526, allocations: 3.062 kB / 0.5635 GB, free: 28.9 MB / 446.1 MB 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.0009604/0.01049, allocations: 0.8299 MB / 0.5643 GB, free: 28.26 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.000145/0.01065, allocations: 82.23 kB / 0.5644 GB, free: 28.21 MB / 446.1 MB Notification: Performance of Early Inline: time 0.000799/0.01145, allocations: 0.6581 MB / 0.5651 GB, free: 27.81 MB / 446.1 MB Notification: Performance of simplify1: time 3.627e-05/0.0115, allocations: 26.91 kB / 0.5651 GB, free: 27.79 MB / 446.1 MB Notification: Performance of Alias: time 0.001578/0.01309, allocations: 0.9365 MB / 0.566 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simplify2: time 2.002e-05/0.01312, allocations: 5.656 kB / 0.566 GB, free: 27.21 MB / 446.1 MB Notification: Performance of Events: time 0.0002167/0.01334, allocations: 99.42 kB / 0.5661 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002131/0.01356, allocations: 152.9 kB / 0.5662 GB, free: 27.05 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002054/0.01377, allocations: 168.2 kB / 0.5664 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Causalize: time 0.0008566/0.01464, allocations: 0.6204 MB / 0.567 GB, free: 26.68 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004729/0.01512, allocations: 468.8 kB / 0.5675 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Inline: time 0.000999/0.01613, allocations: 0.8405 MB / 0.5683 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Partitioning: time 5.043e-05/0.01619, allocations: 39.23 kB / 0.5683 GB, free: 25.82 MB / 446.1 MB Notification: Performance of Cleanup: time 5.303e-05/0.01625, allocations: 36 kB / 0.5683 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Causalize: time 0.001135/0.01739, allocations: 0.8206 MB / 0.5691 GB, free: 25.53 MB / 446.1 MB 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 = IBPSA.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!