Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001325/0.001325, allocations: 110.9 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.001312/0.001312, 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.103/1.103, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6593/0.6593, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/9.788e-06, allocations: 6.219 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.001895/0.001913, allocations: 2.011 MB / 0.5839 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.003465, allocations: 1.676 MB / 0.5856 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.003526, allocations: 1.156 kB / 0.5856 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.003573, allocations: 18.36 kB / 0.5856 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.003653, allocations: 49.7 kB / 0.5856 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.004317, allocations: 361.5 kB / 0.586 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.004505, allocations: 253 kB / 0.5862 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.004622, allocations: 61.89 kB / 0.5863 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.004702, allocations: 84.03 kB / 0.5864 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.004803, allocations: 91.23 kB / 0.5864 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.004831, allocations: 17.88 kB / 0.5865 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005177/0.005354, allocations: 411.9 kB / 0.5868 GB, free: 20.03 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001391/0.005502, allocations: 270.1 kB / 0.5871 GB, free: 19.84 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.936e-05/0.005558, allocations: 144.2 kB / 0.5872 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.005586, allocations: 23.69 kB / 0.5873 GB, free: 19.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.444e-05/0.005606, allocations: 4.531 kB / 0.5873 GB, free: 19.74 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.0005446/0.006154, allocations: 0.8651 MB / 0.5881 GB, free: 19.02 MB / 446.1 MB Notification: Performance of FunctionAlias: time 8.562e-05/0.006245, allocations: 78.03 kB / 0.5882 GB, free: 18.97 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0004852/0.006736, allocations: 0.7773 MB / 0.5889 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simplify1: time 1.933e-05/0.006763, allocations: 24.78 kB / 0.589 GB, free: 18.36 MB / 446.1 MB Notification: Performance of Alias: time 0.0008363/0.007604, allocations: 0.9696 MB / 0.5899 GB, free: 17.68 MB / 446.1 MB Notification: Performance of simplify2: time 1.116e-05/0.007624, allocations: 13.22 kB / 0.5899 GB, free: 17.67 MB / 446.1 MB Notification: Performance of Events: time 0.0001495/0.007778, allocations: 138 kB / 0.5901 GB, free: 17.57 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001151/0.007901, allocations: 180.3 kB / 0.5902 GB, free: 17.41 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001448/0.008052, allocations: 197.7 kB / 0.5904 GB, free: 17.26 MB / 446.1 MB Notification: Performance of Causalize: time 0.0005488/0.008607, allocations: 0.7193 MB / 0.5911 GB, free: 16.73 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002918/0.008906, allocations: 0.5629 MB / 0.5917 GB, free: 16.14 MB / 446.1 MB Notification: Performance of Inline: time 0.0005348/0.009447, allocations: 1.018 MB / 0.5927 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Partitioning: time 2.554e-05/0.00948, allocations: 41.25 kB / 0.5927 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Cleanup: time 2.422e-05/0.00951, allocations: 35.95 kB / 0.5927 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006783/0.01019, allocations: 0.9284 MB / 0.5936 GB, free: 14.07 MB / 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 = IDEAS.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!