Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001343/0.001343, allocations: 108.5 kB / 16.42 MB, free: 6.504 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.001335/0.001335, allocations: 187.8 kB / 17.35 MB, free: 5.727 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9102/0.9102, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.026e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002602/0.00263, allocations: 2.029 MB / 0.5981 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.004628, allocations: 1.683 MB / 0.5997 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.004717, allocations: 0 / 0.5997 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.263e-05/0.004788, allocations: 24.72 kB / 0.5998 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.004896, allocations: 48.7 kB / 0.5998 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.005828, allocations: 356.2 kB / 0.6001 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.006041, allocations: 253.4 kB / 0.6004 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.006215, allocations: 47.61 kB / 0.6004 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.556e-05/0.006309, allocations: 93.2 kB / 0.6005 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.006429, allocations: 87.67 kB / 0.6006 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.006465, allocations: 20 kB / 0.6006 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.007066, allocations: 416.4 kB / 0.601 GB, free: 7.328 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001735/0.007251, allocations: 261.4 kB / 0.6013 GB, free: 7.07 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.876e-05/0.007307, allocations: 144.1 kB / 0.6014 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.007341, allocations: 23.94 kB / 0.6014 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.05e-05/0.007376, allocations: 4 kB / 0.6014 GB, free: 6.902 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.000782/0.008164, allocations: 0.868 MB / 0.6023 GB, free: 5.953 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001564/0.00833, allocations: 83.48 kB / 0.6024 GB, free: 5.883 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0005825/0.008921, allocations: 0.7736 MB / 0.6031 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simplify1: time 2.345e-05/0.008954, allocations: 20.59 kB / 0.6031 GB, free: 5.078 MB / 446.1 MB Notification: Performance of Alias: time 0.001017/0.009978, allocations: 0.9985 MB / 0.6041 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simplify2: time 1.341e-05/0.01, allocations: 7.984 kB / 0.6041 GB, free: 3.977 MB / 446.1 MB Notification: Performance of Events: time 0.0001985/0.01021, allocations: 137.1 kB / 0.6043 GB, free: 3.848 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001674/0.01038, allocations: 172 kB / 0.6044 GB, free: 3.664 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001777/0.01057, allocations: 188.4 kB / 0.6046 GB, free: 3.449 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006626/0.01124, allocations: 0.7144 MB / 0.6053 GB, free: 2.699 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003956/0.01165, allocations: 0.5703 MB / 0.6059 GB, free: 2.102 MB / 446.1 MB Notification: Performance of Inline: time 0.0007719/0.01243, allocations: 1.022 MB / 0.6069 GB, free: 1.043 MB / 446.1 MB Notification: Performance of Partitioning: time 4.157e-05/0.01248, allocations: 41.25 kB / 0.6069 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of Cleanup: time 3.852e-05/0.01253, allocations: 41.08 kB / 0.6069 GB, free: 0.957 MB / 446.1 MB Notification: Performance of Causalize: time 0.0008253/0.01336, allocations: 0.9262 MB / 0.6078 GB, free: 24 kB / 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 = BuildSysPro.IBPSA.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!