Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 102.6 kB / 16.37 MB, free: 6.371 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.001005/0.001005, allocations: 195.4 kB / 17.31 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.023e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003456/0.003498, allocations: 2.045 MB / 0.6748 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.005894, allocations: 1.668 MB / 0.6765 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.005964, allocations: 0 / 0.6765 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.452e-05/0.006036, allocations: 23.78 kB / 0.6765 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.00615, allocations: 47.55 kB / 0.6765 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.007103, allocations: 358.8 kB / 0.6769 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.007372, allocations: 247.1 kB / 0.6771 GB, free: 1.535 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.007537, allocations: 57.52 kB / 0.6772 GB, free: 1.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.007652, allocations: 83.72 kB / 0.6773 GB, free: 1.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.007784, allocations: 95.66 kB / 0.6773 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.007822, allocations: 20 kB / 0.6774 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.008487, allocations: 407.5 kB / 0.6778 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002209/0.00872, allocations: 269.4 kB / 0.678 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 8.512e-05/0.008812, allocations: 141.1 kB / 0.6781 GB, free: 496 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.008852, allocations: 27.94 kB / 0.6782 GB, free: 468 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.972e-05/0.008877, allocations: 4 kB / 0.6782 GB, free: 464 kB / 0.545 GB 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.0008426/0.009724, allocations: 0.8527 MB / 0.679 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001186/0.00985, allocations: 85.66 kB / 0.6791 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0007346/0.01059, allocations: 0.7726 MB / 0.6798 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simplify1: time 2.562e-05/0.01063, allocations: 23.97 kB / 0.6799 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Alias: time 0.001046/0.01168, allocations: 0.8833 MB / 0.6807 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simplify2: time 1.226e-05/0.0117, allocations: 7.984 kB / 0.6807 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Events: time 0.0002041/0.01191, allocations: 148.8 kB / 0.6809 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001778/0.0121, allocations: 160.1 kB / 0.681 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002189/0.01232, allocations: 193.1 kB / 0.6812 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001375/0.0137, allocations: 1.309 MB / 0.6825 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0005032/0.01422, allocations: 0.5779 MB / 0.6831 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of Inline: time 0.0009272/0.01516, allocations: 1.002 MB / 0.684 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.012e-05/0.01521, allocations: 37.23 kB / 0.6841 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of Cleanup: time 4.909e-05/0.01526, allocations: 43.95 kB / 0.6841 GB, free: 10 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001466/0.01673, allocations: 1.53 MB / 0.6856 GB, free: 8.477 MB / 0.5606 GB 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 = Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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!