Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001344/0.001351, allocations: 108.5 kB / 16.42 MB, free: 6.504 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.001433/0.001433, allocations: 187.2 kB / 17.35 MB, free: 5.73 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8073/0.8073, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.203e-05, allocations: 5.234 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00287/0.002902, allocations: 2.004 MB / 0.5839 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.005168, allocations: 1.67 MB / 0.5855 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.005254, allocations: 2.25 kB / 0.5855 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.166e-05/0.005322, allocations: 17.14 kB / 0.5856 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.005436, allocations: 50.89 kB / 0.5856 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.006485, allocations: 356.3 kB / 0.5859 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.006744, allocations: 243.9 kB / 0.5862 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.006915, allocations: 60.58 kB / 0.5862 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.007029, allocations: 85.52 kB / 0.5863 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.007177, allocations: 88.45 kB / 0.5864 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.007216, allocations: 18.34 kB / 0.5864 GB, free: 20.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.007984, allocations: 408.8 kB / 0.5868 GB, free: 20.06 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002489/0.008244, allocations: 254.2 kB / 0.5871 GB, free: 19.89 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 9.331e-05/0.008345, allocations: 133.8 kB / 0.5872 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.008394, allocations: 28.28 kB / 0.5872 GB, free: 19.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.403e-05/0.008435, allocations: 4.625 kB / 0.5872 GB, free: 19.79 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.0009539/0.009395, allocations: 0.8281 MB / 0.588 GB, free: 19.1 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.000145/0.009546, allocations: 77.62 kB / 0.5881 GB, free: 19.05 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0007372/0.01029, allocations: 0.6527 MB / 0.5887 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simplify1: time 2.979e-05/0.01033, allocations: 28.27 kB / 0.5888 GB, free: 18.52 MB / 446.1 MB Notification: Performance of Alias: time 0.001236/0.01157, allocations: 0.9413 MB / 0.5897 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simplify2: time 1.352e-05/0.0116, allocations: 9.078 kB / 0.5897 GB, free: 17.85 MB / 446.1 MB Notification: Performance of Events: time 0.0001635/0.01177, allocations: 105.9 kB / 0.5898 GB, free: 17.78 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001642/0.01194, allocations: 143.1 kB / 0.5899 GB, free: 17.65 MB / 446.1 MB Notification: Performance of Partitioning: time 0.000189/0.01214, allocations: 170.7 kB / 0.5901 GB, free: 17.51 MB / 446.1 MB Notification: Performance of Causalize: time 0.0007524/0.01289, allocations: 0.6152 MB / 0.5907 GB, free: 17.18 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.000307/0.01321, allocations: 472.3 kB / 0.5911 GB, free: 16.7 MB / 446.1 MB Notification: Performance of Inline: time 0.0005464/0.01376, allocations: 0.8423 MB / 0.592 GB, free: 15.82 MB / 446.1 MB Notification: Performance of Partitioning: time 3.003e-05/0.0138, allocations: 33.25 kB / 0.592 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Cleanup: time 2.864e-05/0.01384, allocations: 34.48 kB / 0.592 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006822/0.01452, allocations: 0.818 MB / 0.5928 GB, free: 14.93 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.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!