Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001319/0.001319, allocations: 104.9 kB / 16.42 MB, free: 6.031 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.001328/0.001328, allocations: 183.7 kB / 17.35 MB, free: 5.602 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8051/0.8051, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.7e-05, allocations: 6.438 kB / 0.5862 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002951/0.002987, allocations: 2.022 MB / 0.5882 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.005252, allocations: 1.67 MB / 0.5898 GB, free: 18.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.005335, allocations: 2.875 kB / 0.5898 GB, free: 18.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.946e-05/0.00541, allocations: 16.95 kB / 0.5898 GB, free: 18.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.00555, allocations: 51.58 kB / 0.5899 GB, free: 18.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.0065, allocations: 355.8 kB / 0.5902 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.00677, allocations: 256.9 kB / 0.5905 GB, free: 18.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.006945, allocations: 61.77 kB / 0.5905 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.007047, allocations: 87.77 kB / 0.5906 GB, free: 18.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.007163, allocations: 87.67 kB / 0.5907 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.0072, allocations: 20 kB / 0.5907 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.007824, allocations: 411.5 kB / 0.5911 GB, free: 17.7 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002046/0.00804, allocations: 265.9 kB / 0.5914 GB, free: 17.44 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.525e-05/0.008102, allocations: 145.9 kB / 0.5915 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.008137, allocations: 28.88 kB / 0.5915 GB, free: 17.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.983e-05/0.008171, allocations: 0 / 0.5915 GB, free: 17.27 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.0006876/0.008868, allocations: 0.8681 MB / 0.5924 GB, free: 16.32 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001137/0.00899, allocations: 68.56 kB / 0.5924 GB, free: 16.27 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0005396/0.009536, allocations: 0.7775 MB / 0.5932 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simplify1: time 2.225e-05/0.009567, allocations: 23.97 kB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Alias: time 0.0009567/0.01053, allocations: 0.9848 MB / 0.5942 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplify2: time 1.13e-05/0.01055, allocations: 7.984 kB / 0.5942 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Events: time 0.0001578/0.01072, allocations: 144.8 kB / 0.5943 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001643/0.01089, allocations: 178.2 kB / 0.5945 GB, free: 14.03 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001699/0.01107, allocations: 184.5 kB / 0.5947 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006084/0.01168, allocations: 0.7097 MB / 0.5954 GB, free: 13.08 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003773/0.01207, allocations: 0.5629 MB / 0.5959 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Inline: time 0.0007095/0.01278, allocations: 1.03 MB / 0.5969 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Partitioning: time 2.966e-05/0.01282, allocations: 33.25 kB / 0.597 GB, free: 11.39 MB / 446.1 MB Notification: Performance of Cleanup: time 5.212e-05/0.01288, allocations: 43.95 kB / 0.597 GB, free: 11.34 MB / 446.1 MB Notification: Performance of Causalize: time 0.0008098/0.0137, allocations: 0.9293 MB / 0.5979 GB, free: 10.4 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!