Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(AixLib.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 107.8 kB / 16.38 MB, free: 6.445 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.00115/0.00115, allocations: 188.2 kB / 17.31 MB, free: 5.789 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.203/1.203, 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.05083/0.05083, allocations: 12.02 MB / 303.2 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000441/0.000441, allocations: 31.94 kB / 356.3 MB, free: 13.99 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.677/1.677, allocations: 272.3 MB / 0.6657 GB, free: 18.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.054e-05, allocations: 2.281 kB / 0.7863 GB, free: 12.92 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0505/0.05054, allocations: 61.17 MB / 0.846 GB, free: 15.54 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.06484, allocations: 12 MB / 0.8578 GB, free: 3.504 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.0665, allocations: 63.62 kB / 0.8578 GB, free: 3.441 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.06802, allocations: 0.6792 MB / 0.8585 GB, free: 2.758 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.004413/0.07244, allocations: 1.957 MB / 0.8604 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.07501, allocations: 1.215 MB / 0.8616 GB, free: 15.59 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.003704/0.07873, allocations: 3.538 MB / 0.865 GB, free: 12.04 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.08014, allocations: 1.24 MB / 0.8662 GB, free: 10.79 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.08269, allocations: 1.427 MB / 0.8676 GB, free: 9.355 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.0838, allocations: 0.9531 MB / 0.8686 GB, free: 8.398 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.08395, allocations: 115.9 kB / 0.8687 GB, free: 8.285 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.08625, allocations: 1.462 MB / 0.8701 GB, free: 6.82 MB / 0.6388 GB Notification: Performance of combineBinaries: time 0.001536/0.0878, allocations: 2.315 MB / 0.8724 GB, free: 4.48 MB / 0.6388 GB Notification: Performance of replaceArrayConstructors: time 0.0008473/0.08865, allocations: 1.503 MB / 0.8738 GB, free: 2.957 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.08899, allocations: 263.2 kB / 0.8741 GB, free: 2.699 MB / 0.6388 GB Notification: Performance of FrontEnd: time 0.0002943/0.08929, allocations: 59.73 kB / 0.8741 GB, free: 2.641 MB / 0.6388 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.005286/0.09458, allocations: 6.485 MB / 0.8805 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0002525/0.09484, allocations: 235.7 kB / 0.8807 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.003035/0.09788, allocations: 3.228 MB / 0.8838 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002418/0.09814, allocations: 215.7 kB / 0.8841 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of Alias: time 0.005087/0.1032, allocations: 4.796 MB / 0.8887 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001683/0.1034, allocations: 160.3 kB / 0.8889 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of Events: time 0.0005711/0.104, allocations: 0.5624 MB / 0.8894 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of Detect States: time 0.000489/0.1045, allocations: 0.5813 MB / 0.89 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0008878/0.1054, allocations: 0.888 MB / 0.8909 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of Causalize: time 0.00454/0.1099, allocations: 4.759 MB / 0.8955 GB, free: 11.91 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.001944/0.1119, allocations: 1.926 MB / 0.8974 GB, free: 9.949 MB / 0.67 GB Notification: Performance of Inline: time 0.004278/0.1162, allocations: 4.218 MB / 0.9015 GB, free: 5.684 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0002102/0.1164, allocations: 219.6 kB / 0.9017 GB, free: 5.457 MB / 0.67 GB Notification: Performance of Cleanup: time 0.0003423/0.1168, allocations: 415.4 kB / 0.9021 GB, free: 5.039 MB / 0.67 GB Notification: Performance of Causalize: time 0.01284/0.1296, allocations: 16.17 MB / 0.9179 GB, free: 5.738 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001705/0.1313, allocations: 1.849 MB / 0.9197 GB, free: 3.781 MB / 0.6857 GB Notification: Performance of Initialization: time 8.71e-07/0.1314, allocations: 0 / 0.9197 GB, free: 3.781 MB / 0.6857 GB Notification: Performance of Tearing: time 0.0008203/0.1322, allocations: 0.9236 MB / 0.9206 GB, free: 2.805 MB / 0.6857 GB Notification: Performance of Categorize: time 2.785e-05/0.1322, allocations: 11.94 kB / 0.9206 GB, free: 2.793 MB / 0.6857 GB Notification: Performance of Solve: time 0.0012/0.1334, allocations: 0.6853 MB / 0.9213 GB, free: 2.102 MB / 0.6857 GB Notification: Performance of Jacobian: time 4.338e-06/0.1334, allocations: 7.984 kB / 0.9213 GB, free: 2.094 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: ................. 29 (29) {$SEV_26, $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: ........... 98 (scalar:94, 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: ........... 187 (scalar:182, 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: ........... 187 (scalar:182, 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 7.831e-05/0.1335, allocations: 85.17 kB / 0.9214 GB, free: 2.027 MB / 0.6857 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)