Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111 kB / 16.42 MB, free: 6.426 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.001144/0.001144, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05269/0.05269, allocations: 12.03 MB / 303.2 MB, free: 3.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000618/0.0006182, allocations: 39.81 kB / 356.3 MB, free: 13.93 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 1.789/1.789, allocations: 272.3 MB / 0.6657 GB, free: 18.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.056e-05, allocations: 5.375 kB / 0.8934 GB, free: 15.14 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002838/0.002867, allocations: 2.004 MB / 0.8954 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.005294, allocations: 1.675 MB / 0.897 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.005375, allocations: 0 / 0.897 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 6.212e-05/0.005444, allocations: 15.86 kB / 0.897 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.005555, allocations: 55.42 kB / 0.8971 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009327/0.006505, allocations: 354.8 kB / 0.8974 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.006769, allocations: 243.1 kB / 0.8976 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.00695, allocations: 57.41 kB / 0.8977 GB, free: 10.72 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.007064, allocations: 87.75 kB / 0.8978 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.007212, allocations: 87.69 kB / 0.8979 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.00726, allocations: 16 kB / 0.8979 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000662/0.007928, allocations: 407.5 kB / 0.8983 GB, free: 10.13 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0002168/0.008155, allocations: 249.5 kB / 0.8985 GB, free: 9.887 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 8.796e-05/0.00825, allocations: 145.9 kB / 0.8986 GB, free: 9.742 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.00829, allocations: 27.94 kB / 0.8987 GB, free: 9.715 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.709e-05/0.008322, allocations: 11.88 kB / 0.8987 GB, free: 9.703 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: 36 (27) * Number of variables: 36 (36) Notification: Performance of Bindings: time 0.0008225/0.00915, allocations: 0.8255 MB / 0.8995 GB, free: 8.773 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0001299/0.009288, allocations: 65.67 kB / 0.8996 GB, free: 8.711 MB / 0.67 GB Notification: Performance of Early Inline: time 0.0006213/0.009918, allocations: 0.6622 MB / 0.9002 GB, free: 8.023 MB / 0.67 GB Notification: Performance of simplify1: time 2.468e-05/0.009951, allocations: 19.97 kB / 0.9002 GB, free: 8.004 MB / 0.67 GB Notification: Performance of Alias: time 0.001107/0.01106, allocations: 0.9369 MB / 0.9011 GB, free: 6.945 MB / 0.67 GB Notification: Performance of simplify2: time 1.446e-05/0.01109, allocations: 11.98 kB / 0.9011 GB, free: 6.934 MB / 0.67 GB Notification: Performance of Events: time 0.000186/0.01128, allocations: 116.8 kB / 0.9013 GB, free: 6.816 MB / 0.67 GB Notification: Performance of Detect States: time 0.0001615/0.01145, allocations: 146.7 kB / 0.9014 GB, free: 6.66 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0001761/0.01163, allocations: 172.3 kB / 0.9016 GB, free: 6.461 MB / 0.67 GB Notification: Performance of Causalize: time 0.0006526/0.01229, allocations: 0.6022 MB / 0.9022 GB, free: 5.824 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0003912/0.01269, allocations: 476.5 kB / 0.9026 GB, free: 5.332 MB / 0.67 GB Notification: Performance of Inline: time 0.0007887/0.01349, allocations: 0.8307 MB / 0.9034 GB, free: 4.469 MB / 0.67 GB Notification: Performance of Partitioning: time 3.765e-05/0.01353, allocations: 37.22 kB / 0.9035 GB, free: 4.422 MB / 0.67 GB Notification: Performance of Cleanup: time 3.857e-05/0.01358, allocations: 43.89 kB / 0.9035 GB, free: 4.379 MB / 0.67 GB Notification: Performance of Causalize: time 0.0008457/0.01443, allocations: 0.8106 MB / 0.9043 GB, free: 3.562 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_20) [SCAL] (1) -heaFloCon.Q_flow = -(heaFloEva.Q_flow + com.P) ($RES_SIM_21) [SCAL] (1) heaFloEva.Q_flow = com.m_flow * (com.hEva - com.hCon) ($RES_SIM_22) [SCAL] (1) com.TSuc = eva.T + com.dTSup ($RES_SIM_23) [SCAL] (1) com.P = com.PThe / com.etaEle + com.PLos ($RES_SIM_24) [SCAL] (1) com.PThe = com.vSuc * com.pSuc * com.m_flow * (com.k / (com.k - 1.0)) * (com.PR ^ ((com.k - 1.0) / com.k) - 1.0) ($RES_SIM_25) [SCAL] (1) com.m_flow = ((com.pisDis * com.pisDis_norm) / com.vSuc) * ((com.cleFac + 1.0) - com.cleFac * com.PR ^ (1.0 / com.k)) ($RES_SIM_26) [SCAL] (1) com.k = AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.com.ref.isentropicExponentVap_Tv(com.TSuc, com.vSuc) ($RES_SIM_27) [SCAL] (1) com.pDis = com.pCon + com.pDro ($RES_SIM_28) [SCAL] (1) com.pSuc = smooth(1, if $SEV_4 then com.pEva - com.pDro else if $SEV_5 then com.pCon - com.pDro else 0.25 * ((com.pDro + com.pCon) - (com.pEva + com.pDro)) * ((-3.0) + (((com.pDro + com.pCon) - (com.pEva + com.pDro)) / 49261.0) ^ 2.0) * (2.030003451005867e-5 * ((com.pCon + com.pDro) - (com.pDro + com.pEva))) + 0.5 * ((com.pEva + com.pCon) - (com.pDro + com.pDro))) ($RES_SIM_29) else [SCAL] (1) com.COP = 1.0 ($RES_SIM_30) [SCAL] (1) -heaFloCon.Q_flow = 0.0 ($RES_SIM_31) [SCAL] (1) heaFloEva.Q_flow = 0.0 ($RES_SIM_32) [SCAL] (1) com.TSuc = eva.T ($RES_SIM_33) [SCAL] (1) com.P = 0.0 ($RES_SIM_34) [SCAL] (1) com.PThe = 0.0 ($RES_SIM_35) [SCAL] (1) com.m_flow = 0.0 ($RES_SIM_36) [SCAL] (1) com.pDis = com.pCon ($RES_SIM_37) [SCAL] (1) com.pSuc = com.pEva ($RES_SIM_38) [SCAL] (1) com.k = 1.0 ($RES_SIM_39) end if; Error: Internal error NBInitialization.main failed to apply modules!