Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 109.1 kB / 16.42 MB, free: 6.523 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.001032/0.001032, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.11/1.11, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04983/0.04983, 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.0004031/0.0004031, allocations: 19.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.594/1.594, allocations: 272.3 MB / 0.6657 GB, free: 18.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.578e-06/9.598e-06, allocations: 2.281 kB / 0.8934 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.305/0.305, allocations: 61.18 MB / 0.9532 GB, free: 38.39 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3152, allocations: 11.98 MB / 0.9649 GB, free: 33.28 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009235/0.3162, allocations: 66.41 kB / 0.9649 GB, free: 33.25 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.3172, allocations: 0.7038 MB / 0.9656 GB, free: 32.96 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.3203, allocations: 2.063 MB / 0.9676 GB, free: 31.88 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.3223, allocations: 1.21 MB / 0.9688 GB, free: 31.21 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.3254, allocations: 3.565 MB / 0.9723 GB, free: 29.52 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.3267, allocations: 1.219 MB / 0.9735 GB, free: 28.98 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.329, allocations: 1.467 MB / 0.9749 GB, free: 28.27 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009542/0.33, allocations: 0.9355 MB / 0.9758 GB, free: 27.84 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.3302, allocations: 118.9 kB / 0.976 GB, free: 27.84 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.3325, allocations: 1.468 MB / 0.9774 GB, free: 27.33 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001188/0.3337, allocations: 2.358 MB / 0.9797 GB, free: 25.8 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0006048/0.3343, allocations: 1.527 MB / 0.9812 GB, free: 24.74 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.3345, allocations: 260.5 kB / 0.9814 GB, free: 24.61 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0002821/0.3348, allocations: 62.67 kB / 0.9815 GB, free: 24.59 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.003976/0.3388, allocations: 6.432 MB / 0.9878 GB, free: 20.3 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0001885/0.339, allocations: 247.6 kB / 0.988 GB, free: 20.14 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.002547/0.3416, allocations: 3.498 MB / 0.9914 GB, free: 17.93 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0001936/0.3418, allocations: 241.7 kB / 0.9917 GB, free: 17.82 MB / 0.6857 GB Notification: Performance of Alias: time 0.004353/0.3461, allocations: 5.264 MB / 0.9968 GB, free: 14.86 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0001568/0.3463, allocations: 182.3 kB / 0.997 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0003476/0.3466, allocations: 0.5137 MB / 0.9975 GB, free: 14.44 MB / 0.6857 GB Notification: Performance of Events: time 0.0005377/0.3472, allocations: 0.6353 MB / 0.9981 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0006511/0.3479, allocations: 0.9205 MB / 0.999 GB, free: 13.39 MB / 0.6857 GB Notification: Performance of Causalize: time 0.003187/0.351, allocations: 3.631 MB / 1.003 GB, free: 11.92 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.001506/0.3526, allocations: 2.12 MB / 1.005 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of Inline: time 0.003755/0.3563, allocations: 4.764 MB / 1.009 GB, free: 7.641 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0001887/0.3565, allocations: 217.4 kB / 1.009 GB, free: 7.504 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0003455/0.3569, allocations: 458.4 kB / 1.01 GB, free: 7.227 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01177/0.3686, allocations: 12.42 MB / 1.022 GB, free: 2.625 MB / 0.6857 GB Notification: Performance of Tearing: time 0.003418/0.3721, allocations: 3.973 MB / 1.026 GB, free: 0.9922 MB / 0.6857 GB Notification: Performance of Initialization: time 1.663e-06/0.3721, allocations: 2.938 kB / 1.026 GB, free: 0.9922 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001615/0.3737, allocations: 1.944 MB / 1.028 GB, free: 200 kB / 0.6857 GB Notification: Performance of Categorize: time 2.683e-05/0.3738, allocations: 2.719 kB / 1.028 GB, free: 200 kB / 0.6857 GB Notification: Performance of Solve: time 0.001244/0.375, allocations: 0.6959 MB / 1.028 GB, free: 15.96 MB / 0.7013 GB Notification: Performance of Jacobian: time 2.826e-06/0.375, allocations: 0 / 1.028 GB, free: 15.96 MB / 0.7013 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ................. 34 (34) {$SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $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: ........... 103 (scalar:99, 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: ........... 186 (scalar:181, 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: ........... 186 (scalar:181, 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 7.593e-05/0.3751, allocations: 87.47 kB / 1.029 GB, free: 15.89 MB / 0.7013 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)