Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_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.001125/0.001125, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.001076/0.001076, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.173/1.173, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.229/2.229, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.589e-05, allocations: 2.281 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002406/0.00243, allocations: 2.057 MB / 1.057 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004372, allocations: 1.67 MB / 1.058 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.004427, allocations: 0 / 1.058 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.004482, allocations: 19.8 kB / 1.058 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.00457, allocations: 47.55 kB / 1.058 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.005331, allocations: 358.8 kB / 1.059 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.005539, allocations: 251.1 kB / 1.059 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.005662, allocations: 49.53 kB / 1.059 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.005753, allocations: 91.7 kB / 1.059 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.005871, allocations: 91.67 kB / 1.059 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.005905, allocations: 20 kB / 1.059 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.006484, allocations: 407.5 kB / 1.06 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001712/0.006665, allocations: 269.5 kB / 1.06 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.326e-05/0.006734, allocations: 145.8 kB / 1.06 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.006769, allocations: 27.94 kB / 1.06 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.517e-05/0.006788, allocations: 4 kB / 1.06 GB, free: 2.281 MB / 0.8262 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.0006741/0.007466, allocations: 0.872 MB / 1.061 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 8.838e-05/0.007561, allocations: 69.64 kB / 1.061 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0005857/0.008155, allocations: 0.7726 MB / 1.062 GB, free: 452 kB / 0.8262 GB Notification: Performance of simplify1: time 2.349e-05/0.008186, allocations: 23.97 kB / 1.062 GB, free: 428 kB / 0.8262 GB Notification: Performance of Alias: time 0.0009797/0.00917, allocations: 0.9838 MB / 1.063 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simplify2: time 1.399e-05/0.009195, allocations: 11.97 kB / 1.063 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of Events: time 0.0001605/0.00936, allocations: 135 kB / 1.063 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001499/0.009518, allocations: 184 kB / 1.063 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001735/0.009698, allocations: 188.4 kB / 1.063 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006786/0.01038, allocations: 0.7132 MB / 1.064 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004272/0.01082, allocations: 0.5668 MB / 1.064 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007614/0.01159, allocations: 1.014 MB / 1.065 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.614e-05/0.01163, allocations: 41.23 kB / 1.065 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.391e-05/0.01167, allocations: 39.95 kB / 1.065 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008717/0.01255, allocations: 0.9282 MB / 1.066 GB, free: 11.35 MB / 0.8419 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!