Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001585/0.001585, allocations: 119.4 kB / 17.1 MB, free: 6.004 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.00134/0.00134, allocations: 192.9 kB / 18.03 MB, free: 5.082 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.591/1.591, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8198/0.8198, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.77e-05, allocations: 6.641 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00408/0.004118, allocations: 2.005 MB / 0.5602 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.007208, allocations: 1.658 MB / 0.5619 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.007448, allocations: 3.25 kB / 0.5619 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.007554, allocations: 15.78 kB / 0.5619 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.00777, allocations: 54.45 kB / 0.5619 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.009482, allocations: 352.3 kB / 0.5623 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.009996, allocations: 243.9 kB / 0.5625 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.01025, allocations: 53.75 kB / 0.5626 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.01051, allocations: 83.5 kB / 0.5626 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.01079, allocations: 81.3 kB / 0.5627 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.01085, allocations: 19 kB / 0.5627 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.01198, allocations: 411.2 kB / 0.5631 GB, free: 29.24 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0003107/0.01231, allocations: 253.9 kB / 0.5634 GB, free: 29.09 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001156/0.01243, allocations: 138.7 kB / 0.5635 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.01252, allocations: 31.94 kB / 0.5635 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.569e-05/0.01258, allocations: 7.406 kB / 0.5635 GB, free: 28.98 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.001207/0.01379, allocations: 0.8318 MB / 0.5643 GB, free: 28.34 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001878/0.01399, allocations: 65.03 kB / 0.5644 GB, free: 28.31 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001004/0.015, allocations: 0.6631 MB / 0.5651 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simplify1: time 5.621e-05/0.01507, allocations: 22.69 kB / 0.5651 GB, free: 27.89 MB / 446.1 MB Notification: Performance of Alias: time 0.001696/0.01677, allocations: 0.9294 MB / 0.566 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simplify2: time 3.46e-05/0.01682, allocations: 20.3 kB / 0.566 GB, free: 27.31 MB / 446.1 MB Notification: Performance of Events: time 0.0002743/0.0171, allocations: 100.5 kB / 0.5661 GB, free: 27.25 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002133/0.01732, allocations: 144.6 kB / 0.5662 GB, free: 27.15 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002486/0.01758, allocations: 176.9 kB / 0.5664 GB, free: 27.02 MB / 446.1 MB Notification: Performance of Causalize: time 0.0009009/0.01849, allocations: 0.6144 MB / 0.567 GB, free: 26.78 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005273/0.01902, allocations: 469.4 kB / 0.5675 GB, free: 26.48 MB / 446.1 MB Notification: Performance of Inline: time 0.001126/0.02016, allocations: 0.8401 MB / 0.5683 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Partitioning: time 5.186e-05/0.02022, allocations: 39.34 kB / 0.5683 GB, free: 25.92 MB / 446.1 MB Notification: Performance of Cleanup: time 7.763e-05/0.02031, allocations: 34.23 kB / 0.5683 GB, free: 25.9 MB / 446.1 MB Notification: Performance of Causalize: time 0.001361/0.02167, allocations: 0.8185 MB / 0.5691 GB, free: 25.63 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_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!