Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001026/0.001026, allocations: 189.9 kB / 17.36 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.11/1.11, 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.6694/0.6694, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.51e-05, allocations: 8.625 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001959/0.001982, allocations: 2.013 MB / 0.5839 GB, free: 22.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.003541, allocations: 1.677 MB / 0.5856 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.003597, allocations: 1.406 kB / 0.5856 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.00365, allocations: 22.44 kB / 0.5856 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.003734, allocations: 49.95 kB / 0.5856 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.004428, allocations: 356.3 kB / 0.586 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004614, allocations: 253.2 kB / 0.5862 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004735, allocations: 62.08 kB / 0.5863 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.004814, allocations: 81.81 kB / 0.5863 GB, free: 20.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/0.004917, allocations: 93.31 kB / 0.5864 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.004949, allocations: 20.03 kB / 0.5865 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.005478, allocations: 409.6 kB / 0.5868 GB, free: 20.04 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001465/0.005633, allocations: 265.9 kB / 0.5871 GB, free: 19.86 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.037e-05/0.005689, allocations: 142.6 kB / 0.5872 GB, free: 19.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.00572, allocations: 33.06 kB / 0.5873 GB, free: 19.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.605e-05/0.005741, allocations: 4 kB / 0.5873 GB, free: 19.75 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: 38 (28) * Number of variables: 38 (38) Notification: Performance of Bindings: time 0.0005474/0.006293, allocations: 0.861 MB / 0.5881 GB, free: 19.03 MB / 446.1 MB Notification: Performance of FunctionAlias: time 8.601e-05/0.006386, allocations: 80.88 kB / 0.5882 GB, free: 18.98 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0004903/0.006883, allocations: 0.7775 MB / 0.5889 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simplify1: time 2.052e-05/0.00691, allocations: 23.62 kB / 0.589 GB, free: 18.37 MB / 446.1 MB Notification: Performance of Alias: time 0.0008838/0.007799, allocations: 0.9765 MB / 0.5899 GB, free: 17.69 MB / 446.1 MB Notification: Performance of simplify2: time 1.08e-05/0.00782, allocations: 11.08 kB / 0.5899 GB, free: 17.68 MB / 446.1 MB Notification: Performance of Events: time 0.0001471/0.007972, allocations: 147.5 kB / 0.5901 GB, free: 17.57 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001441/0.008123, allocations: 167.1 kB / 0.5902 GB, free: 17.42 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001473/0.008276, allocations: 197.1 kB / 0.5904 GB, free: 17.27 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005632/0.008845, allocations: 0.7151 MB / 0.5911 GB, free: 16.73 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002976/0.00915, allocations: 0.5627 MB / 0.5917 GB, free: 16.14 MB / 446.1 MB Notification: Performance of Inline: time 0.0005427/0.009699, allocations: 1.026 MB / 0.5927 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Partitioning: time 2.467e-05/0.009731, allocations: 29.25 kB / 0.5927 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Cleanup: time 2.664e-05/0.009762, allocations: 47.94 kB / 0.5927 GB, free: 15 MB / 446.1 MB Notification: Performance of Causalize: time 0.000667/0.01043, allocations: 0.9206 MB / 0.5936 GB, free: 14.07 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_12) [SCAL] (1) -heaFloCon.Q_flow = -(heaFloEva.Q_flow + com.P) ($RES_SIM_13) [SCAL] (1) heaFloEva.Q_flow = com.m_flow * (com.hEva - com.hCon) ($RES_SIM_14) [SCAL] (1) com.P = com.PThe / com.etaEle + com.PLos ($RES_SIM_15) [SCAL] (1) com.TSuc = eva.T + com.dTSup ($RES_SIM_16) [SCAL] (1) com.PThe = com.V_flow_nominal * com.pSuc * ((com.k * com.v_norm) / (com.k - 1.0)) * (((1.0 / com.k) * com.PRInt ^ ((com.k - 1.0) / com.k) + (com.PR * ((com.k - 1.0) / com.k)) / com.volRat) - 1.0) ($RES_SIM_17) [SCAL] (1) com.k = IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.com.ref.isentropicExponentVap_Tv(com.TSuc, com.vSuc) ($RES_SIM_18) [SCAL] (1) com.m_flow = com.v_norm * smooth(1, if $SEV_4 then com.V_flow_nominal / com.vSuc - com.mLea_flow else if $SEV_5 then (1e-5 * com.V_flow_nominal) / com.vSuc else if $SEV_6 then 0.25 * ((com.mLea_flow + (1e-5 * com.V_flow_nominal) / com.vSuc) - com.V_flow_nominal / com.vSuc) * ((-3.0) + ((com.V_flow_nominal / com.vSuc - ((1e-5 * com.V_flow_nominal) / com.vSuc + com.mLea_flow)) / ((1e-6 * com.V_flow_nominal) / com.vSuc)) ^ 2.0) * ((1e6 * com.vSuc * (com.V_flow_nominal / com.vSuc - (com.mLea_flow + (1e-5 * com.V_flow_nominal) / com.vSuc))) / com.V_flow_nominal) + 0.5 * ((com.V_flow_nominal / com.vSuc + (1e-5 * com.V_flow_nominal) / com.vSuc) - com.mLea_flow) else 0.5 * ((com.V_flow_nominal / com.vSuc + (1e-5 * com.V_flow_nominal) / com.vSuc) - com.mLea_flow)) ($RES_SIM_19) [SCAL] (1) com.mLea_flow = com.leaCoe * com.PR ($RES_SIM_20) [SCAL] (1) com.pDis = com.pCon ($RES_SIM_21) [SCAL] (1) com.pSuc = com.pEva ($RES_SIM_22) else [SCAL] (1) com.COP = 1.0 ($RES_SIM_23) [SCAL] (1) -heaFloCon.Q_flow = 0.0 ($RES_SIM_24) [SCAL] (1) heaFloEva.Q_flow = 0.0 ($RES_SIM_25) [SCAL] (1) com.TSuc = eva.T ($RES_SIM_26) [SCAL] (1) com.P = 0.0 ($RES_SIM_27) [SCAL] (1) com.PThe = 0.0 ($RES_SIM_28) [SCAL] (1) com.m_flow = 0.0 ($RES_SIM_29) [SCAL] (1) com.mLea_flow = 0.0 ($RES_SIM_30) [SCAL] (1) com.pDis = com.pCon ($RES_SIM_31) [SCAL] (1) com.pSuc = com.pEva ($RES_SIM_32) [SCAL] (1) com.k = 1.0 ($RES_SIM_33) end if; Error: Internal error NBInitialization.main failed to apply modules!