Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 112.1 kB / 16.43 MB, free: 6.512 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.001063/0.001063, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.161/2.161, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.282e-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_ZeroInput): time 0.002325/0.002345, allocations: 2.039 MB / 1.057 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.00424, allocations: 1.667 MB / 1.058 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.0043, allocations: 4 kB / 1.058 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.004363, allocations: 23.78 kB / 1.058 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.004453, allocations: 51.55 kB / 1.058 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.005215, allocations: 354.8 kB / 1.059 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.005432, allocations: 255.1 kB / 1.059 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.005558, allocations: 53.52 kB / 1.059 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.005645, allocations: 83.78 kB / 1.059 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005762, allocations: 95.66 kB / 1.059 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.005796, allocations: 20 kB / 1.059 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.006383, allocations: 403.5 kB / 1.06 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001708/0.006565, allocations: 265.5 kB / 1.06 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.195e-05/0.006633, allocations: 148 kB / 1.06 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.006663, allocations: 27.94 kB / 1.06 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.59e-05/0.006683, allocations: 4 kB / 1.06 GB, free: 2.301 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.000658/0.007345, allocations: 0.8758 MB / 1.061 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 9.418e-05/0.007444, allocations: 77.91 kB / 1.061 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0005772/0.008028, allocations: 0.7648 MB / 1.062 GB, free: 472 kB / 0.8262 GB Notification: Performance of simplify1: time 2.784e-05/0.008063, allocations: 31.94 kB / 1.062 GB, free: 440 kB / 0.8262 GB Notification: Performance of Alias: time 0.0009639/0.009033, allocations: 0.9761 MB / 1.063 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simplify2: time 1.469e-05/0.009058, allocations: 15.92 kB / 1.063 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of Events: time 0.0001646/0.009228, allocations: 140.8 kB / 1.063 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001428/0.009379, allocations: 176 kB / 1.063 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000172/0.009558, allocations: 190.8 kB / 1.063 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006534/0.01022, allocations: 0.7117 MB / 1.064 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004122/0.01064, allocations: 0.5707 MB / 1.064 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007404/0.01139, allocations: 1.014 MB / 1.065 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.636e-05/0.01143, allocations: 37.23 kB / 1.065 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.375e-05/0.01147, allocations: 43.95 kB / 1.065 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000844/0.01232, allocations: 0.9183 MB / 1.066 GB, free: 11.38 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_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!