Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterProperties.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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterProperties") translateModel(AixLib.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 105 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.00129/0.001291, allocations: 187.2 kB / 17.35 MB, free: 5.695 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.381/1.381, allocations: 222.9 MB / 241.1 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.05623/0.05624, 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.0005138/0.0005138, allocations: 31.95 kB / 356.3 MB, free: 13.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.547/1.547, allocations: 268.3 MB / 0.6617 GB, free: 2.574 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.498e-05, allocations: 5.234 kB / 0.8879 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterProperties): time 0.518/0.518, allocations: 4.706 MB / 0.8925 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.5211, allocations: 2.707 MB / 0.8952 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.5213, allocations: 0.75 kB / 0.8952 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.5216, allocations: 51.3 kB / 0.8952 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.522, allocations: 96.72 kB / 0.8953 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.5238, allocations: 0.506 MB / 0.8958 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000423/0.5242, allocations: 256.1 kB / 0.896 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.5243, allocations: 8.797 kB / 0.896 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.5245, allocations: 119.4 kB / 0.8962 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.5247, allocations: 86.66 kB / 0.8962 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.5247, allocations: 7.75 kB / 0.8962 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009084/0.5256, allocations: 367.8 kB / 0.8966 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0002355/0.5259, allocations: 265.4 kB / 0.8968 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0001174/0.526, allocations: 170.1 kB / 0.897 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.5261, allocations: 26.09 kB / 0.897 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.082e-05/0.5261, allocations: 6.719 kB / 0.897 GB, free: 11.15 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.0009501/0.5271, allocations: 0.8692 MB / 0.8979 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 5.465e-05/0.5271, allocations: 27.52 kB / 0.8979 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.0006053/0.5277, allocations: 435.4 kB / 0.8983 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplify1: time 5.488e-05/0.5278, allocations: 42.48 kB / 0.8984 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Alias: time 0.001039/0.5289, allocations: 0.6845 MB / 0.899 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of simplify2: time 4.628e-05/0.5289, allocations: 33.23 kB / 0.8991 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0001526/0.5291, allocations: 105.1 kB / 0.8992 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of Events: time 0.0001538/0.5292, allocations: 85.16 kB / 0.8993 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0002302/0.5295, allocations: 214.5 kB / 0.8995 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of Causalize: time 0.0008392/0.5303, allocations: 0.5815 MB / 0.9 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.0003344/0.5307, allocations: 300 kB / 0.9003 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of Inline: time 0.0005956/0.5313, allocations: 487.8 kB / 0.9008 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of Partitioning: time 3.309e-05/0.5313, allocations: 22.88 kB / 0.9008 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of Cleanup: time 3.987e-05/0.5313, allocations: 30.62 kB / 0.9008 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of Causalize: time 0.0007253/0.5321, allocations: 0.4974 MB / 0.9013 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of Tearing: time 1.612e-05/0.5321, allocations: 4.922 kB / 0.9013 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Initialization: time 4.11e-07/0.5321, allocations: 0 / 0.9013 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Tearing: time 7.423e-06/0.5321, allocations: 6.156 kB / 0.9013 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of Categorize: time 1.445e-05/0.5321, allocations: 5.891 kB / 0.9013 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of Solve: time 0.000194/0.5323, allocations: 91.22 kB / 0.9014 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Jacobian: time 3.998e-06/0.5324, allocations: 5.156 kB / 0.9014 GB, free: 8.578 MB / 0.6075 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:26, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:26, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.112e-05/0.5324, allocations: 15.73 kB / 0.9014 GB, free: 8.574 MB / 0.6075 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)