Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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(AixLib.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(AixLib.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.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.001262/0.001262, allocations: 108.7 kB / 16.42 MB, free: 6.449 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.00137/0.00137, allocations: 192.3 kB / 17.36 MB, free: 5.699 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05672/0.05672, allocations: 12.03 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004971/0.0004973, allocations: 31.94 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 2.022/2.022, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.19e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.005029/0.005073, allocations: 2.018 MB / 0.8954 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003701/0.008794, allocations: 1.675 MB / 0.897 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.008975, allocations: 0 / 0.897 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.0091, allocations: 23.78 kB / 0.897 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.009347, allocations: 43.56 kB / 0.8971 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.011, allocations: 366.8 kB / 0.8974 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.01146, allocations: 255 kB / 0.8977 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.01169, allocations: 61.45 kB / 0.8977 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.01191, allocations: 83.81 kB / 0.8978 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.01212, allocations: 91.67 kB / 0.8979 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.01219, allocations: 23.94 kB / 0.8979 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.01332, allocations: 407.5 kB / 0.8983 GB, free: 10.12 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0003395/0.01367, allocations: 269.4 kB / 0.8986 GB, free: 9.852 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0001252/0.01381, allocations: 137.9 kB / 0.8987 GB, free: 9.715 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.01387, allocations: 35.88 kB / 0.8987 GB, free: 9.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.091e-05/0.01392, allocations: 4 kB / 0.8987 GB, free: 9.676 MB / 0.67 GB 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.001367/0.0153, allocations: 0.8643 MB / 0.8996 GB, free: 8.707 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0002029/0.01551, allocations: 69.8 kB / 0.8996 GB, free: 8.645 MB / 0.67 GB Notification: Performance of Early Inline: time 0.001406/0.01693, allocations: 0.7765 MB / 0.9004 GB, free: 7.84 MB / 0.67 GB Notification: Performance of simplify1: time 6.411e-05/0.01701, allocations: 19.97 kB / 0.9004 GB, free: 7.82 MB / 0.67 GB Notification: Performance of Alias: time 0.002041/0.01906, allocations: 0.9799 MB / 0.9014 GB, free: 6.719 MB / 0.67 GB Notification: Performance of simplify2: time 3.175e-05/0.01911, allocations: 11.97 kB / 0.9014 GB, free: 6.707 MB / 0.67 GB Notification: Performance of Events: time 0.0003369/0.01945, allocations: 152.7 kB / 0.9015 GB, free: 6.559 MB / 0.67 GB Notification: Performance of Detect States: time 0.0002979/0.01976, allocations: 166.2 kB / 0.9017 GB, free: 6.383 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0003786/0.02016, allocations: 196.4 kB / 0.9019 GB, free: 6.16 MB / 0.67 GB Notification: Performance of Causalize: time 0.001296/0.02146, allocations: 0.7077 MB / 0.9026 GB, free: 5.426 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0009304/0.02241, allocations: 0.5665 MB / 0.9031 GB, free: 4.832 MB / 0.67 GB Notification: Performance of Inline: time 0.00178/0.0242, allocations: 1.014 MB / 0.9041 GB, free: 3.781 MB / 0.67 GB Notification: Performance of Partitioning: time 7.013e-05/0.02428, allocations: 41.25 kB / 0.9042 GB, free: 3.734 MB / 0.67 GB Notification: Performance of Cleanup: time 0.0001032/0.02439, allocations: 43.88 kB / 0.9042 GB, free: 3.691 MB / 0.67 GB Notification: Performance of Causalize: time 0.001762/0.02617, allocations: 0.9223 MB / 0.9051 GB, free: 2.758 MB / 0.67 GB 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 = AixLib.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!