Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 106.8 kB / 16.42 MB, free: 6.5 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.001516/0.001517, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05501/0.05501, allocations: 12.03 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.0005367/0.0005367, allocations: 31.7 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.964/1.964, allocations: 272.3 MB / 0.6657 GB, free: 18.26 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.446e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.5047/0.5048, allocations: 61.19 MB / 0.9532 GB, free: 38.38 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.5211, allocations: 11.99 MB / 0.9649 GB, free: 33.27 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.5242, allocations: 61.28 kB / 0.965 GB, free: 33.25 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.5262, allocations: 0.6842 MB / 0.9656 GB, free: 32.95 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/0.5325, allocations: 1.96 MB / 0.9675 GB, free: 31.98 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.5364, allocations: 1.201 MB / 0.9687 GB, free: 31.33 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.006624/0.5431, allocations: 3.555 MB / 0.9722 GB, free: 29.64 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.5455, allocations: 1.204 MB / 0.9734 GB, free: 29.1 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.5501, allocations: 1.468 MB / 0.9748 GB, free: 28.39 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.5527, allocations: 0.9061 MB / 0.9757 GB, free: 27.98 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.553, allocations: 114.8 kB / 0.9758 GB, free: 27.98 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.5578, allocations: 1.486 MB / 0.9772 GB, free: 27.46 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.002572/0.5604, allocations: 2.324 MB / 0.9795 GB, free: 25.96 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.001237/0.5616, allocations: 1.509 MB / 0.981 GB, free: 24.91 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0007337/0.5624, allocations: 260.2 kB / 0.9812 GB, free: 24.77 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.000734/0.5631, allocations: 66.7 kB / 0.9813 GB, free: 24.75 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.007471/0.5706, allocations: 6.438 MB / 0.9876 GB, free: 20.46 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0003733/0.571, allocations: 250.7 kB / 0.9878 GB, free: 20.3 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.003906/0.5749, allocations: 3.124 MB / 0.9909 GB, free: 18.32 MB / 0.6857 GB Notification: Performance of simplify1: time 0.000368/0.5753, allocations: 208.3 kB / 0.9911 GB, free: 18.23 MB / 0.6857 GB Notification: Performance of Alias: time 0.00763/0.5829, allocations: 5.403 MB / 0.9963 GB, free: 15.14 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0004348/0.5834, allocations: 151.1 kB / 0.9965 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of Events: time 0.000729/0.5842, allocations: 0.5293 MB / 0.997 GB, free: 14.74 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0006769/0.5848, allocations: 0.5507 MB / 0.9975 GB, free: 14.37 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.001093/0.5859, allocations: 0.8686 MB / 0.9984 GB, free: 13.72 MB / 0.6857 GB Notification: Performance of Causalize: time 0.004385/0.5903, allocations: 3.154 MB / 1.001 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002134/0.5925, allocations: 1.804 MB / 1.003 GB, free: 11.25 MB / 0.6857 GB Notification: Performance of Inline: time 0.005651/0.5982, allocations: 4.197 MB / 1.007 GB, free: 8.664 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0003033/0.5985, allocations: 212.8 kB / 1.008 GB, free: 8.527 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0005466/0.599, allocations: 398 kB / 1.008 GB, free: 8.285 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01785/0.6169, allocations: 11.37 MB / 1.019 GB, free: 4.023 MB / 0.6857 GB Notification: Performance of Tearing: time 0.002434/0.6194, allocations: 1.847 MB / 1.021 GB, free: 2.949 MB / 0.6857 GB Notification: Performance of Initialization: time 1.893e-06/0.6194, allocations: 0 / 1.021 GB, free: 2.949 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001021/0.6205, allocations: 0.9272 MB / 1.022 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of Categorize: time 6.137e-05/0.6205, allocations: 5.5 kB / 1.022 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of Solve: time 0.002091/0.6226, allocations: 0.6379 MB / 1.022 GB, free: 2.191 MB / 0.6857 GB Notification: Performance of Jacobian: time 6.161e-06/0.6226, allocations: 0 / 1.022 GB, free: 2.191 MB / 0.6857 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: ......... 13 * 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: ................. 26 (26) {$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: ........... 95 (scalar:91, 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 179 (scalar:174, 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: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 179 (scalar:174, 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: 0, nonlinear:1) Notification: Performance of backend: time 0.0001172/0.6228, allocations: 84.34 kB / 1.022 GB, free: 2.125 MB / 0.6857 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)