Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Examples.Carnot_TEva") translateModel(AixLib.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 109.5 kB / 16.42 MB, free: 6.52 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.001031/0.001031, allocations: 187.8 kB / 17.36 MB, free: 5.723 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.121/1.121, 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.04926/0.04926, allocations: 12.04 MB / 303.2 MB, free: 3.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004498/0.0004499, allocations: 27.97 kB / 356.3 MB, free: 13.94 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.596/1.596, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.526e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Examples.Carnot_TEva): time 0.313/0.313, allocations: 61.13 MB / 0.9531 GB, free: 36.43 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.3236, allocations: 11.98 MB / 0.9648 GB, free: 31.45 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.325, allocations: 64.69 kB / 0.9649 GB, free: 31.44 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3263, allocations: 0.7005 MB / 0.9656 GB, free: 31.15 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.3297, allocations: 2.065 MB / 0.9676 GB, free: 30.31 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.3319, allocations: 1.206 MB / 0.9688 GB, free: 29.65 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.003048/0.3349, allocations: 3.569 MB / 0.9722 GB, free: 27.95 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.3361, allocations: 1.202 MB / 0.9734 GB, free: 27.4 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.3383, allocations: 1.464 MB / 0.9748 GB, free: 26.7 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/0.3392, allocations: 0.91 MB / 0.9757 GB, free: 26.28 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.3394, allocations: 114 kB / 0.9758 GB, free: 26.28 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.3414, allocations: 1.476 MB / 0.9773 GB, free: 25.77 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.0011/0.3425, allocations: 2.321 MB / 0.9796 GB, free: 24.27 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0005619/0.3431, allocations: 1.511 MB / 0.981 GB, free: 23.21 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3433, allocations: 264.1 kB / 0.9813 GB, free: 23.08 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0002399/0.3435, allocations: 63.67 kB / 0.9813 GB, free: 23.06 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.003923/0.3475, allocations: 6.531 MB / 0.9877 GB, free: 18.69 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.000173/0.3477, allocations: 226.4 kB / 0.9879 GB, free: 18.54 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.002315/0.35, allocations: 3.232 MB / 0.9911 GB, free: 16.49 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0001717/0.3502, allocations: 222.3 kB / 0.9913 GB, free: 16.39 MB / 0.6857 GB Notification: Performance of Alias: time 0.00425/0.3544, allocations: 5.267 MB / 0.9964 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0001296/0.3546, allocations: 159.6 kB / 0.9966 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0003318/0.3549, allocations: 496.2 kB / 0.9971 GB, free: 12.99 MB / 0.6857 GB Notification: Performance of Events: time 0.0004592/0.3554, allocations: 0.5464 MB / 0.9976 GB, free: 12.66 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0005891/0.356, allocations: 0.869 MB / 0.9985 GB, free: 12.02 MB / 0.6857 GB Notification: Performance of Causalize: time 0.002815/0.3588, allocations: 3.22 MB / 1.002 GB, free: 10.7 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.001341/0.3601, allocations: 1.915 MB / 1.003 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of Inline: time 0.003373/0.3635, allocations: 4.305 MB / 1.008 GB, free: 6.84 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0001755/0.3637, allocations: 199.6 kB / 1.008 GB, free: 6.715 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0002958/0.364, allocations: 422.1 kB / 1.008 GB, free: 6.453 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01064/0.3746, allocations: 11.25 MB / 1.019 GB, free: 2.285 MB / 0.6857 GB Notification: Performance of Tearing: time 0.002903/0.3776, allocations: 3.235 MB / 1.022 GB, free: 0.8828 MB / 0.6857 GB Notification: Performance of Initialization: time 9.22e-07/0.3776, allocations: 1.531 kB / 1.022 GB, free: 0.8828 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001332/0.3789, allocations: 1.569 MB / 1.024 GB, free: 216 kB / 0.6857 GB Notification: Performance of Categorize: time 2.502e-05/0.3789, allocations: 5.094 kB / 1.024 GB, free: 216 kB / 0.6857 GB Notification: Performance of Solve: time 0.001048/0.38, allocations: 0.6739 MB / 1.025 GB, free: 15.98 MB / 0.7013 GB Notification: Performance of Jacobian: time 2.625e-06/0.38, allocations: 0 / 1.025 GB, free: 15.98 MB / 0.7013 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 12 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 28 (28) {$SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 97 (scalar:93, array:4, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 174 (scalar:169, array:5, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 174 (scalar:169, array:5, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 8.548e-05/0.3801, allocations: 85.03 kB / 1.025 GB, free: 15.91 MB / 0.7013 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)