Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001428/0.001428, allocations: 109.2 kB / 16.43 MB, free: 6.496 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.001515/0.001515, allocations: 188.3 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8486/0.8486, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.091e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003352/0.003392, allocations: 2.004 MB / 0.5882 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.005691, allocations: 1.671 MB / 0.5898 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.005779, allocations: 2.344 kB / 0.5898 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.518e-05/0.005849, allocations: 16.92 kB / 0.5898 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.005985, allocations: 51.2 kB / 0.5899 GB, free: 18.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.007199, allocations: 356.7 kB / 0.5902 GB, free: 18.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.007487, allocations: 238.8 kB / 0.5904 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.00768, allocations: 65.66 kB / 0.5905 GB, free: 18.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.007789, allocations: 85.09 kB / 0.5906 GB, free: 18.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.007927, allocations: 84.36 kB / 0.5907 GB, free: 18.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.007961, allocations: 23.94 kB / 0.5907 GB, free: 18.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.00857, allocations: 408.4 kB / 0.5911 GB, free: 17.75 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001769/0.008759, allocations: 254.5 kB / 0.5913 GB, free: 17.5 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.517e-05/0.00882, allocations: 138 kB / 0.5915 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.008851, allocations: 23.94 kB / 0.5915 GB, free: 17.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.395e-05/0.008891, allocations: 4.719 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.0006744/0.00957, allocations: 0.8243 MB / 0.5923 GB, free: 16.43 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001111/0.009689, allocations: 63.55 kB / 0.5924 GB, free: 16.38 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0004967/0.01019, allocations: 0.6622 MB / 0.593 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simplify1: time 1.893e-05/0.01022, allocations: 19.97 kB / 0.593 GB, free: 15.68 MB / 446.1 MB Notification: Performance of Alias: time 0.0009307/0.01116, allocations: 0.9398 MB / 0.5939 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simplify2: time 1.164e-05/0.01118, allocations: 15.98 kB / 0.594 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Events: time 0.0001464/0.01133, allocations: 116.8 kB / 0.5941 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001311/0.01147, allocations: 138 kB / 0.5942 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001338/0.01161, allocations: 175.2 kB / 0.5944 GB, free: 14.16 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005016/0.01212, allocations: 0.5937 MB / 0.5949 GB, free: 13.54 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002999/0.01243, allocations: 488.4 kB / 0.5954 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Inline: time 0.0005691/0.013, allocations: 0.8385 MB / 0.5962 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Partitioning: time 2.853e-05/0.01304, allocations: 37.23 kB / 0.5963 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Cleanup: time 3.123e-05/0.01308, allocations: 42.7 kB / 0.5963 GB, free: 12.08 MB / 446.1 MB Notification: Performance of Causalize: time 0.00071/0.01379, allocations: 0.8226 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.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!