Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001379/0.00138, allocations: 117.3 kB / 17.1 MB, free: 6.004 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.001516/0.001517, allocations: 192.9 kB / 18.03 MB, free: 5.082 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.623/1.623, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8048/0.8048, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.271e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.00401/0.004051, allocations: 2.016 MB / 0.5603 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.006915, allocations: 1.663 MB / 0.5619 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.007051, allocations: 4.375 kB / 0.5619 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.514e-05/0.007154, allocations: 19.94 kB / 0.5619 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.007327, allocations: 48.98 kB / 0.5619 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.008759, allocations: 361.3 kB / 0.5623 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.00917, allocations: 253.8 kB / 0.5625 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.009421, allocations: 48.55 kB / 0.5626 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.009592, allocations: 90.2 kB / 0.5627 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.009807, allocations: 92.38 kB / 0.5628 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.009872, allocations: 19.62 kB / 0.5628 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.01081, allocations: 406 kB / 0.5632 GB, free: 29.19 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0003089/0.01113, allocations: 272.7 kB / 0.5634 GB, free: 29.02 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 9.935e-05/0.01124, allocations: 135.2 kB / 0.5635 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.0113, allocations: 28.47 kB / 0.5636 GB, free: 28.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.368e-05/0.01135, allocations: 5.562 kB / 0.5636 GB, free: 28.92 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.001097/0.01245, allocations: 0.8659 MB / 0.5644 GB, free: 28.26 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.000153/0.01261, allocations: 79.83 kB / 0.5645 GB, free: 28.22 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001011/0.01363, allocations: 0.7705 MB / 0.5653 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simplify1: time 4.467e-05/0.01368, allocations: 25 kB / 0.5653 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Alias: time 0.001813/0.0155, allocations: 0.991 MB / 0.5662 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simplify2: time 2.528e-05/0.01554, allocations: 13.94 kB / 0.5663 GB, free: 27.13 MB / 446.1 MB Notification: Performance of Events: time 0.0002768/0.01583, allocations: 134.4 kB / 0.5664 GB, free: 27.06 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002971/0.01613, allocations: 175.9 kB / 0.5666 GB, free: 26.94 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0003219/0.01646, allocations: 201.7 kB / 0.5667 GB, free: 26.8 MB / 446.1 MB Notification: Performance of Causalize: time 0.001379/0.01785, allocations: 0.7154 MB / 0.5674 GB, free: 26.53 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001011/0.01887, allocations: 0.566 MB / 0.568 GB, free: 26.18 MB / 446.1 MB Notification: Performance of Inline: time 0.001701/0.02058, allocations: 1.016 MB / 0.569 GB, free: 25.56 MB / 446.1 MB Notification: Performance of Partitioning: time 6.589e-05/0.02066, allocations: 35.19 kB / 0.569 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Cleanup: time 8.455e-05/0.02075, allocations: 44 kB / 0.5691 GB, free: 25.51 MB / 446.1 MB Notification: Performance of Causalize: time 0.001804/0.02257, allocations: 0.9204 MB / 0.57 GB, free: 25.21 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_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!