Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001065/0.001065, allocations: 107.5 kB / 16.42 MB, free: 6.492 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.001052/0.001052, allocations: 189.5 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.123/1.123, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 285.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8267/0.8267, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.179e-05, allocations: 2.281 kB / 0.682 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002329/0.002348, allocations: 2.027 MB / 0.684 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.004287, allocations: 1.66 MB / 0.6856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.004344, allocations: 0 / 0.6856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.004404, allocations: 23.78 kB / 0.6856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.004498, allocations: 47.55 kB / 0.6857 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.005256, allocations: 362.8 kB / 0.686 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.005472, allocations: 251.1 kB / 0.6863 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005604, allocations: 57.45 kB / 0.6863 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.005692, allocations: 83.78 kB / 0.6864 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.005808, allocations: 91.66 kB / 0.6865 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.00584, allocations: 20 kB / 0.6865 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.006426, allocations: 411.5 kB / 0.6869 GB, free: 2.062 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001783/0.006614, allocations: 261.4 kB / 0.6872 GB, free: 1.805 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.886e-05/0.006689, allocations: 141.9 kB / 0.6873 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.006719, allocations: 27.94 kB / 0.6873 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.544e-05/0.00674, allocations: 7.938 kB / 0.6873 GB, free: 1.629 MB / 494.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.0006978/0.007442, allocations: 0.8721 MB / 0.6882 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of FunctionAlias: time 9.765e-05/0.007545, allocations: 73.98 kB / 0.6882 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of Early Inline: time 0.2366/0.2442, allocations: 0.7702 MB / 0.689 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simplify1: time 5.055e-05/0.2443, allocations: 27.23 kB / 0.689 GB, free: 13.83 MB / 494.1 MB Notification: Performance of Alias: time 0.001048/0.2453, allocations: 0.9693 MB / 0.69 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simplify2: time 1.287e-05/0.2454, allocations: 10.67 kB / 0.69 GB, free: 13.56 MB / 494.1 MB Notification: Performance of Events: time 0.0001825/0.2455, allocations: 139.1 kB / 0.6901 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001505/0.2457, allocations: 181.8 kB / 0.6903 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Partitioning: time 0.000168/0.2459, allocations: 190.5 kB / 0.6905 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Causalize: time 0.0006752/0.2466, allocations: 0.7172 MB / 0.6912 GB, free: 13.28 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.000527/0.2471, allocations: 0.5635 MB / 0.6917 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Inline: time 0.0011/0.2482, allocations: 1.021 MB / 0.6927 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Partitioning: time 4.188e-05/0.2483, allocations: 33.11 kB / 0.6927 GB, free: 13.07 MB / 494.1 MB Notification: Performance of Cleanup: time 5.352e-05/0.2483, allocations: 48.05 kB / 0.6928 GB, free: 13.06 MB / 494.1 MB Notification: Performance of Causalize: time 0.001261/0.2496, allocations: 0.9228 MB / 0.6937 GB, free: 12.77 MB / 494.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 = BuildingSystems.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!