Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001161/0.001162, allocations: 110.5 kB / 16.38 MB, free: 6.445 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.001004/0.001005, allocations: 191.9 kB / 17.32 MB, free: 5.789 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.506/1.506, 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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.636e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003352/0.003393, allocations: 2.041 MB / 0.6748 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.005691, allocations: 1.668 MB / 0.6765 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.00577, allocations: 4 kB / 0.6765 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.761e-05/0.005843, allocations: 19.78 kB / 0.6765 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.005963, allocations: 55.55 kB / 0.6766 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.006918, allocations: 361.6 kB / 0.6769 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.007163, allocations: 251.1 kB / 0.6771 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.007321, allocations: 57.5 kB / 0.6772 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.007427, allocations: 79.78 kB / 0.6773 GB, free: 1.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.007557, allocations: 91.72 kB / 0.6774 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.007594, allocations: 20 kB / 0.6774 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.008241, allocations: 411.5 kB / 0.6778 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002228/0.008474, allocations: 261.4 kB / 0.678 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 7.583e-05/0.008558, allocations: 145.9 kB / 0.6782 GB, free: 476 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.008603, allocations: 27.94 kB / 0.6782 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.534e-05/0.008633, allocations: 4 kB / 0.6782 GB, free: 444 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.0007861/0.009424, allocations: 0.8566 MB / 0.679 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.000117/0.009549, allocations: 78.42 kB / 0.6791 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0006939/0.01025, allocations: 0.7765 MB / 0.6799 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simplify1: time 2.273e-05/0.01028, allocations: 19.97 kB / 0.6799 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Alias: time 0.0009662/0.01125, allocations: 0.8872 MB / 0.6807 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simplify2: time 1.228e-05/0.01128, allocations: 7.984 kB / 0.6807 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of Events: time 0.0001884/0.01147, allocations: 144.8 kB / 0.6809 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001602/0.01164, allocations: 164.1 kB / 0.681 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002063/0.01185, allocations: 193.1 kB / 0.6812 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001322/0.01318, allocations: 1.313 MB / 0.6825 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0004873/0.01369, allocations: 0.5704 MB / 0.6831 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of Inline: time 0.0008832/0.01458, allocations: 0.9907 MB / 0.684 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.245e-05/0.01463, allocations: 49.16 kB / 0.6841 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Cleanup: time 4.196e-05/0.01468, allocations: 52.11 kB / 0.6841 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001366/0.01605, allocations: 1.519 MB / 0.6856 GB, free: 8.453 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.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!