Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001181/0.00118, allocations: 109.8 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.001247/0.001247, allocations: 196.2 kB / 17.35 MB, free: 5.754 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.407/1.407, 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-master/package.mo): time 0.8191/0.8191, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.327e-05, allocations: 2.5 kB / 0.5862 GB, free: 21.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002669/0.0027, allocations: 2.009 MB / 0.5882 GB, free: 20.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.004819, allocations: 1.669 MB / 0.5898 GB, free: 18.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.004896, allocations: 1.469 kB / 0.5898 GB, free: 18.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.854e-05/0.004971, allocations: 22.66 kB / 0.5898 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.005092, allocations: 50.08 kB / 0.5899 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009273/0.006025, allocations: 360.6 kB / 0.5902 GB, free: 18.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.00628, allocations: 243.4 kB / 0.5905 GB, free: 18.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.006448, allocations: 60.89 kB / 0.5905 GB, free: 18.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.006557, allocations: 76.75 kB / 0.5906 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.006696, allocations: 84.45 kB / 0.5907 GB, free: 18.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.006768, allocations: 20.16 kB / 0.5907 GB, free: 18.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006195/0.007393, allocations: 412.1 kB / 0.5911 GB, free: 17.75 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001603/0.007564, allocations: 257.5 kB / 0.5913 GB, free: 17.5 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.622e-05/0.007617, allocations: 139.2 kB / 0.5915 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.007647, allocations: 23.94 kB / 0.5915 GB, free: 17.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.175e-05/0.007674, allocations: 4 kB / 0.5915 GB, free: 17.34 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.0006434/0.008323, allocations: 0.8315 MB / 0.5923 GB, free: 16.43 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001144/0.008444, allocations: 72.45 kB / 0.5924 GB, free: 16.36 MB / 446.1 MB Notification: Performance of Early Inline: time 0.000486/0.008937, allocations: 0.6586 MB / 0.593 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simplify1: time 1.923e-05/0.008964, allocations: 19.97 kB / 0.593 GB, free: 15.67 MB / 446.1 MB Notification: Performance of Alias: time 0.0008738/0.009844, allocations: 0.9306 MB / 0.5939 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simplify2: time 1.106e-05/0.009866, allocations: 15.97 kB / 0.5939 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Events: time 0.0001463/0.01002, allocations: 116.8 kB / 0.5941 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003399/0.01036, allocations: 142.3 kB / 0.5942 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001748/0.01055, allocations: 177.5 kB / 0.5944 GB, free: 14.16 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005747/0.01113, allocations: 0.6048 MB / 0.595 GB, free: 13.53 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002975/0.01143, allocations: 472.1 kB / 0.5954 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Inline: time 0.0005624/0.012, allocations: 0.8307 MB / 0.5962 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Partitioning: time 3.567e-05/0.01205, allocations: 49.22 kB / 0.5963 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Cleanup: time 2.963e-05/0.01208, allocations: 34.83 kB / 0.5963 GB, free: 12.09 MB / 446.1 MB Notification: Performance of Causalize: time 0.000722/0.01281, allocations: 0.8343 MB / 0.5971 GB, free: 11.25 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!