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.001055/0.001055, allocations: 109.1 kB / 16.42 MB, free: 6.484 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.001036/0.001036, allocations: 187.2 kB / 17.35 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.118/1.118, 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.04961/0.04961, allocations: 12.04 MB / 303.2 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004562/0.0004563, 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.582/1.582, allocations: 272.3 MB / 0.6657 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.493e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3063/0.3064, allocations: 61.19 MB / 0.9532 GB, free: 38.28 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.3168, allocations: 11.98 MB / 0.9649 GB, free: 33.16 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.3178, allocations: 61.25 kB / 0.965 GB, free: 33.14 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.3189, allocations: 0.6996 MB / 0.9656 GB, free: 32.84 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.3219, allocations: 2.061 MB / 0.9677 GB, free: 31.84 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.3238, allocations: 1.212 MB / 0.9688 GB, free: 31.18 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.3266, allocations: 3.559 MB / 0.9723 GB, free: 29.49 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.3278, allocations: 1.207 MB / 0.9735 GB, free: 28.95 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.33, allocations: 1.47 MB / 0.9749 GB, free: 28.24 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.331, allocations: 0.9092 MB / 0.9758 GB, free: 27.82 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3311, allocations: 113.9 kB / 0.9759 GB, free: 27.82 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.3332, allocations: 1.483 MB / 0.9774 GB, free: 27.32 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001135/0.3343, allocations: 2.327 MB / 0.9797 GB, free: 25.8 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0005768/0.3349, allocations: 1.511 MB / 0.9811 GB, free: 24.75 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.3351, allocations: 260.7 kB / 0.9814 GB, free: 24.62 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0002339/0.3354, allocations: 66.8 kB / 0.9814 GB, free: 24.6 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.003881/0.3393, allocations: 6.431 MB / 0.9877 GB, free: 20.32 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0001983/0.3395, allocations: 252.5 kB / 0.988 GB, free: 20.15 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.002274/0.3418, allocations: 3.126 MB / 0.991 GB, free: 18.17 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0001702/0.3419, allocations: 209.4 kB / 0.9912 GB, free: 18.07 MB / 0.6857 GB Notification: Performance of Alias: time 0.004325/0.3463, allocations: 5.407 MB / 0.9965 GB, free: 14.96 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0001341/0.3464, allocations: 151.3 kB / 0.9966 GB, free: 14.9 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0003315/0.3467, allocations: 482.1 kB / 0.9971 GB, free: 14.58 MB / 0.6857 GB Notification: Performance of Events: time 0.0004371/0.3472, allocations: 0.5282 MB / 0.9976 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0006268/0.3478, allocations: 0.8594 MB / 0.9985 GB, free: 13.6 MB / 0.6857 GB Notification: Performance of Causalize: time 0.002775/0.3506, allocations: 3.155 MB / 1.002 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.001283/0.3519, allocations: 1.807 MB / 1.003 GB, free: 11.12 MB / 0.6857 GB Notification: Performance of Inline: time 0.003327/0.3552, allocations: 4.156 MB / 1.007 GB, free: 8.559 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0001735/0.3554, allocations: 195.2 kB / 1.008 GB, free: 8.438 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0002833/0.3557, allocations: 396.1 kB / 1.008 GB, free: 8.195 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01038/0.3661, allocations: 11.1 MB / 1.019 GB, free: 4.02 MB / 0.6857 GB Notification: Performance of Tearing: time 0.002942/0.369, allocations: 3.22 MB / 1.022 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of Initialization: time 8.41e-07/0.3691, allocations: 0 / 1.022 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001425/0.3705, allocations: 1.581 MB / 1.023 GB, free: 1.938 MB / 0.6857 GB Notification: Performance of Categorize: time 2.786e-05/0.3705, allocations: 10.69 kB / 1.023 GB, free: 1.93 MB / 0.6857 GB Notification: Performance of Solve: time 0.0009848/0.3715, allocations: 0.6536 MB / 1.024 GB, free: 1.707 MB / 0.6857 GB Notification: Performance of Jacobian: time 2.795e-06/0.3715, allocations: 4 kB / 1.024 GB, free: 1.703 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 172 (scalar:167, 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: ........... 172 (scalar:167, 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 6.051e-05/0.3716, allocations: 82.45 kB / 1.024 GB, free: 1.641 MB / 0.6857 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)