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.00105/0.00105, allocations: 108.3 kB / 16.42 MB, free: 5.961 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.00105/0.00105, allocations: 191.2 kB / 17.36 MB, free: 5.566 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.099/1.099, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04885/0.04885, allocations: 12.04 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.0004538/0.0004538, allocations: 27.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.569/1.569, allocations: 272.3 MB / 0.6657 GB, free: 18.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.403e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.2946/0.2946, allocations: 61.19 MB / 0.9532 GB, free: 37.03 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.3049, allocations: 11.99 MB / 0.9649 GB, free: 32.03 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.3058, allocations: 61.09 kB / 0.9649 GB, free: 32.01 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3069, allocations: 0.6954 MB / 0.9656 GB, free: 31.73 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.3097, allocations: 2.069 MB / 0.9676 GB, free: 30.55 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.3116, allocations: 1.207 MB / 0.9688 GB, free: 29.89 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.3144, allocations: 3.576 MB / 0.9723 GB, free: 28.19 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.3157, allocations: 1.221 MB / 0.9735 GB, free: 27.64 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.3178, allocations: 1.469 MB / 0.9749 GB, free: 26.93 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009286/0.3187, allocations: 0.9357 MB / 0.9758 GB, free: 26.5 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.3189, allocations: 117.8 kB / 0.976 GB, free: 26.5 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.3209, allocations: 1.478 MB / 0.9774 GB, free: 25.99 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.001133/0.322, allocations: 2.361 MB / 0.9797 GB, free: 24.46 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.0005791/0.3226, allocations: 1.533 MB / 0.9812 GB, free: 23.39 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.3228, allocations: 261.1 kB / 0.9814 GB, free: 23.26 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0002298/0.3231, allocations: 66.66 kB / 0.9815 GB, free: 23.23 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.003838/0.3269, allocations: 6.324 MB / 0.9877 GB, free: 19 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0001869/0.3271, allocations: 241.9 kB / 0.9879 GB, free: 18.84 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.002485/0.3296, allocations: 3.502 MB / 0.9913 GB, free: 16.62 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0001872/0.3298, allocations: 228.2 kB / 0.9916 GB, free: 16.52 MB / 0.6857 GB Notification: Performance of Alias: time 0.004306/0.3341, allocations: 5.349 MB / 0.9968 GB, free: 13.5 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0001596/0.3343, allocations: 175.3 kB / 0.9969 GB, free: 13.44 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0003387/0.3346, allocations: 0.5136 MB / 0.9974 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of Events: time 0.0005411/0.3352, allocations: 0.6321 MB / 0.9981 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0006391/0.3358, allocations: 0.899 MB / 0.9989 GB, free: 12.09 MB / 0.6857 GB Notification: Performance of Causalize: time 0.003198/0.339, allocations: 3.594 MB / 1.002 GB, free: 10.68 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.00147/0.3405, allocations: 2.126 MB / 1.005 GB, free: 9.324 MB / 0.6857 GB Notification: Performance of Inline: time 0.003725/0.3442, allocations: 4.751 MB / 1.009 GB, free: 6.406 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0001915/0.3444, allocations: 210.3 kB / 1.009 GB, free: 6.277 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0003339/0.3448, allocations: 458.8 kB / 1.01 GB, free: 6 MB / 0.6857 GB Notification: Performance of Causalize: time 0.01155/0.3563, allocations: 12.4 MB / 1.022 GB, free: 1.453 MB / 0.6857 GB Notification: Performance of Tearing: time 0.003449/0.3598, allocations: 3.97 MB / 1.026 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of Initialization: time 1.352e-06/0.3598, allocations: 2.594 kB / 1.026 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of Tearing: time 0.00183/0.3616, allocations: 1.936 MB / 1.028 GB, free: 15.04 MB / 0.7013 GB Notification: Performance of Categorize: time 2.688e-05/0.3617, allocations: 13.39 kB / 1.028 GB, free: 15.03 MB / 0.7013 GB Notification: Performance of Solve: time 0.001129/0.3628, allocations: 0.697 MB / 1.028 GB, free: 14.79 MB / 0.7013 GB Notification: Performance of Jacobian: time 2.765e-06/0.3628, allocations: 0 / 1.028 GB, free: 14.79 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 188 (scalar:183, 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: ........... 188 (scalar:183, 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.812e-05/0.3629, allocations: 84.69 kB / 1.028 GB, free: 14.72 MB / 0.7013 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)