Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001079/0.001079, allocations: 106.7 kB / 16.42 MB, free: 6.035 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.001059/0.001059, allocations: 186.4 kB / 17.36 MB, free: 5.621 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.102/1.102, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6553/0.6553, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.092e-05, allocations: 6.219 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.001844/0.001863, allocations: 2.002 MB / 0.5839 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.003389, allocations: 1.669 MB / 0.5855 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.003442, allocations: 2.969 kB / 0.5855 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.003496, allocations: 17.11 kB / 0.5856 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.003575, allocations: 52.36 kB / 0.5856 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.004222, allocations: 355.3 kB / 0.5859 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004388, allocations: 238 kB / 0.5862 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.004504, allocations: 62.36 kB / 0.5862 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.004585, allocations: 88.89 kB / 0.5863 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.004688, allocations: 81.41 kB / 0.5864 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.00472, allocations: 18.28 kB / 0.5864 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.005231, allocations: 415.7 kB / 0.5868 GB, free: 20.14 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001394/0.00538, allocations: 250.7 kB / 0.5871 GB, free: 19.97 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.728e-05/0.005433, allocations: 137.9 kB / 0.5872 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.005461, allocations: 29.03 kB / 0.5872 GB, free: 19.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.46e-05/0.005481, allocations: 3.406 kB / 0.5872 GB, free: 19.86 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.0005012/0.005986, allocations: 0.8293 MB / 0.588 GB, free: 19.17 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.753e-05/0.006069, allocations: 69.11 kB / 0.5881 GB, free: 19.13 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0004366/0.006511, allocations: 0.6593 MB / 0.5887 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simplify1: time 1.92e-05/0.006538, allocations: 24.56 kB / 0.5888 GB, free: 18.6 MB / 446.1 MB Notification: Performance of Alias: time 0.0007978/0.007341, allocations: 0.9397 MB / 0.5897 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simplify2: time 9.948e-06/0.00736, allocations: 13.38 kB / 0.5897 GB, free: 17.93 MB / 446.1 MB Notification: Performance of Events: time 0.0001185/0.007484, allocations: 109.7 kB / 0.5898 GB, free: 17.85 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001003/0.00759, allocations: 140.9 kB / 0.5899 GB, free: 17.72 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001228/0.00772, allocations: 175.4 kB / 0.5901 GB, free: 17.57 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004874/0.008213, allocations: 0.6041 MB / 0.5907 GB, free: 17.18 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.000244/0.008464, allocations: 472.5 kB / 0.5911 GB, free: 16.69 MB / 446.1 MB Notification: Performance of Inline: time 0.000458/0.008928, allocations: 0.8384 MB / 0.592 GB, free: 15.82 MB / 446.1 MB Notification: Performance of Partitioning: time 2.443e-05/0.00896, allocations: 37.19 kB / 0.592 GB, free: 15.77 MB / 446.1 MB Notification: Performance of Cleanup: time 2.116e-05/0.008987, allocations: 43.91 kB / 0.592 GB, free: 15.73 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005966/0.009587, allocations: 0.8212 MB / 0.5928 GB, free: 14.91 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 = IDEAS.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!