Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(AixLib.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 109.2 kB / 16.42 MB, free: 6.512 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.001179/0.001179, allocations: 189.9 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.263/1.263, 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.0536/0.0536, allocations: 12.03 MB / 303.2 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004867/0.0004867, allocations: 27.95 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.849/1.849, allocations: 272.3 MB / 0.6657 GB, free: 18.23 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.828e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4028/0.4028, allocations: 61.18 MB / 0.9532 GB, free: 36.48 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.4174, allocations: 12 MB / 0.9649 GB, free: 31.5 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002687/0.4202, allocations: 61.06 kB / 0.9649 GB, free: 31.48 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.4219, allocations: 0.6785 MB / 0.9656 GB, free: 31.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.4275, allocations: 1.967 MB / 0.9675 GB, free: 30.36 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.4312, allocations: 1.204 MB / 0.9687 GB, free: 29.78 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.4366, allocations: 3.572 MB / 0.9722 GB, free: 28.07 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.4388, allocations: 1.22 MB / 0.9734 GB, free: 27.51 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.4425, allocations: 1.456 MB / 0.9748 GB, free: 26.81 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.4442, allocations: 0.9358 MB / 0.9757 GB, free: 26.38 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.4444, allocations: 119.2 kB / 0.9758 GB, free: 26.38 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.4489, allocations: 1.473 MB / 0.9773 GB, free: 25.88 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001953/0.4509, allocations: 2.371 MB / 0.9796 GB, free: 24.34 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0009055/0.4518, allocations: 1.532 MB / 0.9811 GB, free: 23.27 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.4523, allocations: 260.1 kB / 0.9813 GB, free: 23.14 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0005646/0.4529, allocations: 63.45 kB / 0.9814 GB, free: 23.12 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.006285/0.4591, allocations: 6.327 MB / 0.9876 GB, free: 18.89 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0002778/0.4594, allocations: 240.3 kB / 0.9878 GB, free: 18.73 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.003442/0.4629, allocations: 3.496 MB / 0.9912 GB, free: 16.52 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0002943/0.4632, allocations: 232.8 kB / 0.9914 GB, free: 16.42 MB / 0.6857 GB Notification: Performance of Alias: time 0.007097/0.4703, allocations: 5.343 MB / 0.9966 GB, free: 13.4 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0002729/0.4706, allocations: 179.5 kB / 0.9968 GB, free: 13.34 MB / 0.6857 GB Notification: Performance of Events: time 0.0007712/0.4714, allocations: 0.6331 MB / 0.9974 GB, free: 12.95 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0006232/0.472, allocations: 0.6214 MB / 0.998 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0009787/0.473, allocations: 0.8988 MB / 0.9989 GB, free: 11.92 MB / 0.6857 GB Notification: Performance of Causalize: time 0.004555/0.4775, allocations: 3.59 MB / 1.002 GB, free: 10.51 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002177/0.4797, allocations: 2.118 MB / 1.004 GB, free: 9.156 MB / 0.6857 GB Notification: Performance of Inline: time 0.005689/0.4854, allocations: 4.796 MB / 1.009 GB, free: 6.211 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0002875/0.4857, allocations: 221.4 kB / 1.009 GB, free: 6.078 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.000529/0.4863, allocations: 460.9 kB / 1.01 GB, free: 5.797 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01763/0.5039, allocations: 12.68 MB / 1.022 GB, free: 1.148 MB / 0.6857 GB Notification: Performance of Tearing: time 0.002592/0.5066, allocations: 2.197 MB / 1.024 GB, free: 15.94 MB / 0.7013 GB Notification: Performance of Initialization: time 3.898e-06/0.5066, allocations: 4 kB / 1.024 GB, free: 15.94 MB / 0.7013 GB Notification: Performance of Tearing: time 0.001356/0.5079, allocations: 1.098 MB / 1.025 GB, free: 15.34 MB / 0.7013 GB Notification: Performance of Categorize: time 5.258e-05/0.508, allocations: 4.781 kB / 1.025 GB, free: 15.34 MB / 0.7013 GB Notification: Performance of Solve: time 0.002139/0.5102, allocations: 0.6752 MB / 1.026 GB, free: 15.1 MB / 0.7013 GB Notification: Performance of Jacobian: time 4.558e-06/0.5102, allocations: 0 / 1.026 GB, free: 15.1 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: ......... 11 * 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: ................. 33 (33) {$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: ........... 102 (scalar:98, 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: ........... 195 (scalar:190, 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: ........... 195 (scalar:190, 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.0001312/0.5103, allocations: 81.84 kB / 1.026 GB, free: 15.04 MB / 0.7013 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)