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.00105/0.00105, allocations: 106.4 kB / 16.42 MB, free: 6.492 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.00104/0.00104, allocations: 190 kB / 17.36 MB, free: 5.703 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.111/1.111, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04891/0.04891, allocations: 12.04 MB / 303.2 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003985/0.0003985, allocations: 23.95 kB / 356.3 MB, free: 13.95 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.585/1.585, allocations: 272.3 MB / 0.6657 GB, free: 18.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.047e-05, allocations: 5.234 kB / 0.8934 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002281/0.002299, allocations: 2.007 MB / 0.8954 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.004205, allocations: 1.671 MB / 0.897 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.004258, allocations: 0 / 0.897 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.004306, allocations: 19.84 kB / 0.897 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.004389, allocations: 51.55 kB / 0.8971 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.005105, allocations: 354.8 kB / 0.8974 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.005317, allocations: 251 kB / 0.8977 GB, free: 10.82 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.005429, allocations: 45.47 kB / 0.8977 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.005517, allocations: 79.83 kB / 0.8978 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.005639, allocations: 95.61 kB / 0.8979 GB, free: 10.61 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.005672, allocations: 20 kB / 0.8979 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.006238, allocations: 411.5 kB / 0.8983 GB, free: 10.18 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0001713/0.006419, allocations: 249.5 kB / 0.8985 GB, free: 9.938 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 6.21e-05/0.006486, allocations: 138 kB / 0.8986 GB, free: 9.801 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.006517, allocations: 31.88 kB / 0.8987 GB, free: 9.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.44e-05/0.006535, allocations: 7.938 kB / 0.8987 GB, free: 9.762 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 (36) * Number of variables: 36 (36) Notification: Performance of Bindings: time 0.0006959/0.007236, allocations: 0.8716 MB / 0.8995 GB, free: 8.785 MB / 0.67 GB Notification: Performance of FunctionAlias: time 8.92e-05/0.00733, allocations: 73.36 kB / 0.8996 GB, free: 8.723 MB / 0.67 GB Notification: Performance of Early Inline: time 0.000553/0.007889, allocations: 0.7062 MB / 0.9003 GB, free: 7.988 MB / 0.67 GB Notification: Performance of simplify1: time 2.461e-05/0.007921, allocations: 31.95 kB / 0.9003 GB, free: 7.957 MB / 0.67 GB Notification: Performance of Alias: time 0.0009464/0.008873, allocations: 0.9603 MB / 0.9013 GB, free: 6.875 MB / 0.67 GB Notification: Performance of simplify2: time 1.067e-05/0.008894, allocations: 11.98 kB / 0.9013 GB, free: 6.863 MB / 0.67 GB Notification: Performance of Detect States: time 0.000116/0.009015, allocations: 132 kB / 0.9014 GB, free: 6.719 MB / 0.67 GB Notification: Performance of Events: time 0.0001287/0.00915, allocations: 112.9 kB / 0.9015 GB, free: 6.609 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0001699/0.009328, allocations: 198.8 kB / 0.9017 GB, free: 6.387 MB / 0.67 GB Notification: Performance of Causalize: time 0.0006302/0.009964, allocations: 0.6388 MB / 0.9023 GB, free: 5.715 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0003838/0.01036, allocations: 0.5044 MB / 0.9028 GB, free: 5.184 MB / 0.67 GB Notification: Performance of Inline: time 0.0007246/0.01109, allocations: 0.9337 MB / 0.9037 GB, free: 4.215 MB / 0.67 GB Notification: Performance of Partitioning: time 3.464e-05/0.01113, allocations: 38.36 kB / 0.9038 GB, free: 4.168 MB / 0.67 GB Notification: Performance of Cleanup: time 3.368e-05/0.01117, allocations: 47.83 kB / 0.9038 GB, free: 4.121 MB / 0.67 GB Notification: Performance of Causalize: time 0.0008322/0.01201, allocations: 0.8564 MB / 0.9046 GB, free: 3.262 MB / 0.67 GB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if com.isOn then [----] [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_20) [----] else [----] [SCAL] (1) com.k = 1.0 ($RES_SIM_21) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!