Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001259/0.00126, allocations: 113.9 kB / 17.1 MB, free: 5.957 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.00114/0.00114, allocations: 194.2 kB / 18.03 MB, free: 5.039 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.564/1.564, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.806/0.806, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.248e-05, allocations: 4.812 kB / 0.5583 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003681/0.003724, allocations: 2.018 MB / 0.5603 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.006141, allocations: 1.667 MB / 0.5619 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.00625, allocations: 1.094 kB / 0.5619 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.488e-05/0.006334, allocations: 20.67 kB / 0.5619 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.006469, allocations: 48.66 kB / 0.562 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.007618, allocations: 358.2 kB / 0.5623 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.007911, allocations: 247.8 kB / 0.5625 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.008082, allocations: 50.86 kB / 0.5626 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.0082, allocations: 91.47 kB / 0.5627 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.008346, allocations: 92.58 kB / 0.5628 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.008387, allocations: 19.81 kB / 0.5628 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007795/0.009173, allocations: 411 kB / 0.5632 GB, free: 28.97 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002293/0.009414, allocations: 263.1 kB / 0.5634 GB, free: 28.81 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 7.824e-05/0.009498, allocations: 143.4 kB / 0.5636 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.009545, allocations: 28.66 kB / 0.5636 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.579e-05/0.009576, allocations: 3.375 kB / 0.5636 GB, free: 28.7 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.000864/0.01045, allocations: 0.859 MB / 0.5644 GB, free: 28.04 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001302/0.01058, allocations: 81.27 kB / 0.5645 GB, free: 28 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0008317/0.01142, allocations: 0.7776 MB / 0.5653 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simplify1: time 3.727e-05/0.01147, allocations: 24.5 kB / 0.5653 GB, free: 27.52 MB / 446.1 MB Notification: Performance of Alias: time 0.001385/0.01286, allocations: 0.9862 MB / 0.5662 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simplify2: time 2.2e-05/0.0129, allocations: 14.06 kB / 0.5663 GB, free: 26.91 MB / 446.1 MB Notification: Performance of Events: time 0.0002427/0.01315, allocations: 132.6 kB / 0.5664 GB, free: 26.84 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002074/0.01336, allocations: 176.3 kB / 0.5666 GB, free: 26.71 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002306/0.0136, allocations: 199 kB / 0.5667 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Causalize: time 0.0009357/0.01454, allocations: 0.7158 MB / 0.5674 GB, free: 26.3 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006049/0.01516, allocations: 0.563 MB / 0.568 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Inline: time 0.001133/0.0163, allocations: 1.023 MB / 0.569 GB, free: 25.33 MB / 446.1 MB Notification: Performance of Partitioning: time 4.874e-05/0.01636, allocations: 35.84 kB / 0.569 GB, free: 25.3 MB / 446.1 MB Notification: Performance of Cleanup: time 5.714e-05/0.01642, allocations: 44.62 kB / 0.5691 GB, free: 25.28 MB / 446.1 MB Notification: Performance of Causalize: time 0.001276/0.01771, allocations: 0.9207 MB / 0.57 GB, free: 24.98 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 = IBPSA.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!