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.001515/0.001516, allocations: 111.2 kB / 16.42 MB, free: 6.508 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.001786/0.001786, allocations: 185.9 kB / 17.36 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05859/0.05859, allocations: 12.04 MB / 303.2 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005523/0.0005521, allocations: 27.89 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 2.183/2.183, allocations: 272.3 MB / 0.6657 GB, free: 18.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.658e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.5863/0.5863, allocations: 61.19 MB / 0.9532 GB, free: 38.47 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.6048, allocations: 11.99 MB / 0.9649 GB, free: 33.35 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.6082, allocations: 58 kB / 0.9649 GB, free: 33.33 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.6105, allocations: 0.7029 MB / 0.9656 GB, free: 33.04 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.007022/0.6176, allocations: 2.064 MB / 0.9676 GB, free: 31.93 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.6214, allocations: 1.21 MB / 0.9688 GB, free: 31.27 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.006495/0.6279, allocations: 3.559 MB / 0.9723 GB, free: 29.57 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.6301, allocations: 1.227 MB / 0.9735 GB, free: 29.02 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.6344, allocations: 1.463 MB / 0.9749 GB, free: 28.32 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.6365, allocations: 0.9366 MB / 0.9758 GB, free: 27.89 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.6367, allocations: 117.6 kB / 0.976 GB, free: 27.89 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.6408, allocations: 1.464 MB / 0.9774 GB, free: 27.39 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001948/0.6427, allocations: 2.362 MB / 0.9797 GB, free: 25.86 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0009775/0.6437, allocations: 1.531 MB / 0.9812 GB, free: 24.79 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.6442, allocations: 263.9 kB / 0.9814 GB, free: 24.66 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0005375/0.6448, allocations: 58.59 kB / 0.9815 GB, free: 24.64 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.00771/0.6525, allocations: 6.432 MB / 0.9878 GB, free: 20.36 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0003422/0.6528, allocations: 246.7 kB / 0.988 GB, free: 20.19 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.00397/0.6568, allocations: 3.499 MB / 0.9914 GB, free: 17.98 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0003183/0.6571, allocations: 227.4 kB / 0.9916 GB, free: 17.89 MB / 0.6857 GB Notification: Performance of Alias: time 0.006867/0.664, allocations: 5.271 MB / 0.9968 GB, free: 14.92 MB / 0.6857 GB Notification: Performance of simplify2: time 0.000299/0.6643, allocations: 178.4 kB / 0.997 GB, free: 14.85 MB / 0.6857 GB Notification: Performance of Events: time 0.0007783/0.6651, allocations: 0.6318 MB / 0.9976 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0006355/0.6658, allocations: 0.6264 MB / 0.9982 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0009816/0.6667, allocations: 0.9267 MB / 0.9991 GB, free: 13.39 MB / 0.6857 GB Notification: Performance of Causalize: time 0.004686/0.6714, allocations: 3.629 MB / 1.003 GB, free: 11.92 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002321/0.6738, allocations: 2.122 MB / 1.005 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of Inline: time 0.006194/0.68, allocations: 4.799 MB / 1.009 GB, free: 7.613 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0003086/0.6803, allocations: 224.8 kB / 1.01 GB, free: 7.477 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0005955/0.6809, allocations: 465.6 kB / 1.01 GB, free: 7.191 MB / 0.6857 GB Notification: Performance of Causalize: time 0.0198/0.7007, allocations: 12.7 MB / 1.022 GB, free: 2.488 MB / 0.6857 GB Notification: Performance of Tearing: time 0.002809/0.7036, allocations: 2.205 MB / 1.025 GB, free: 1.277 MB / 0.6857 GB Notification: Performance of Initialization: time 1.913e-06/0.7036, allocations: 4 kB / 1.025 GB, free: 1.273 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001215/0.7048, allocations: 1.115 MB / 1.026 GB, free: 0.6562 MB / 0.6857 GB Notification: Performance of Categorize: time 5.827e-05/0.7049, allocations: 5.188 kB / 1.026 GB, free: 0.6562 MB / 0.6857 GB Notification: Performance of Solve: time 0.002012/0.7069, allocations: 0.6611 MB / 1.026 GB, free: 436 kB / 0.6857 GB Notification: Performance of Jacobian: time 4.398e-06/0.7069, allocations: 0 / 1.026 GB, free: 436 kB / 0.6857 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 193 (scalar:188, 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: ........... 193 (scalar:188, 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.0001109/0.707, allocations: 81.09 kB / 1.026 GB, free: 368 kB / 0.6857 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)