Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001431/0.001431, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001418/0.001418, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8337/0.8337, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.425e-05, allocations: 2.5 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00279/0.002824, allocations: 2.007 MB / 0.5882 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.005, allocations: 1.678 MB / 0.5898 GB, free: 18.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.005086, allocations: 1.438 kB / 0.5898 GB, free: 18.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.367e-05/0.005157, allocations: 27.34 kB / 0.5898 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.005285, allocations: 46.12 kB / 0.5899 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.006227, allocations: 355.6 kB / 0.5902 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.006516, allocations: 254.9 kB / 0.5905 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.006696, allocations: 62.2 kB / 0.5905 GB, free: 18.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.006828, allocations: 88.11 kB / 0.5906 GB, free: 18.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.006956, allocations: 94.06 kB / 0.5907 GB, free: 18.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.00699, allocations: 20 kB / 0.5907 GB, free: 18.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.007635, allocations: 407.5 kB / 0.5911 GB, free: 17.71 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001772/0.007823, allocations: 265.4 kB / 0.5914 GB, free: 17.45 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.583e-05/0.007885, allocations: 145.9 kB / 0.5915 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.00792, allocations: 24.66 kB / 0.5915 GB, free: 17.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.72e-05/0.007952, allocations: 3.938 kB / 0.5915 GB, free: 17.28 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.0006508/0.008609, allocations: 0.8693 MB / 0.5924 GB, free: 16.33 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001096/0.008725, allocations: 66.55 kB / 0.5924 GB, free: 16.27 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0005778/0.009309, allocations: 0.7713 MB / 0.5932 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simplify1: time 2.442e-05/0.009343, allocations: 29.61 kB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Alias: time 0.0009737/0.01032, allocations: 0.9822 MB / 0.5942 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simplify2: time 1.101e-05/0.01034, allocations: 7.984 kB / 0.5942 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Events: time 0.000178/0.01053, allocations: 156.9 kB / 0.5943 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001602/0.01069, allocations: 160.1 kB / 0.5945 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001789/0.01088, allocations: 190.1 kB / 0.5947 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006153/0.0115, allocations: 0.7139 MB / 0.5954 GB, free: 13.09 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003676/0.01188, allocations: 0.5703 MB / 0.5959 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Inline: time 0.0006796/0.01257, allocations: 1.014 MB / 0.5969 GB, free: 11.44 MB / 446.1 MB Notification: Performance of Partitioning: time 3.027e-05/0.0126, allocations: 37.25 kB / 0.597 GB, free: 11.4 MB / 446.1 MB Notification: Performance of Cleanup: time 3.247e-05/0.01264, allocations: 51.92 kB / 0.597 GB, free: 11.35 MB / 446.1 MB Notification: Performance of Causalize: time 0.0007936/0.01344, allocations: 0.9215 MB / 0.5979 GB, free: 10.41 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.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!