Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111 kB / 16.42 MB, free: 6.527 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.001094/0.001094, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.338/1.338, allocations: 222.9 MB / 241.1 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.05309/0.05309, allocations: 12.03 MB / 303.2 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004861/0.0004864, 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.968/1.968, allocations: 272.3 MB / 0.6657 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.654e-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_2ndLaw): time 0.5661/0.5661, allocations: 70.43 MB / 0.9622 GB, free: 31.67 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.03422/0.6004, allocations: 18.93 MB / 0.9807 GB, free: 20.37 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.6046, allocations: 71.22 kB / 0.9807 GB, free: 20.34 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.6083, allocations: 0.8344 MB / 0.9815 GB, free: 19.8 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.6203, allocations: 3.002 MB / 0.9845 GB, free: 18.02 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.005915/0.6262, allocations: 1.665 MB / 0.9861 GB, free: 17.05 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.009562/0.6358, allocations: 4.67 MB / 0.9907 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003553/0.6394, allocations: 1.59 MB / 0.9922 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/0.6451, allocations: 1.915 MB / 0.9941 GB, free: 13.06 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.6484, allocations: 1.172 MB / 0.9952 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.6491, allocations: 173.6 kB / 0.9954 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/0.6543, allocations: 1.45 MB / 0.9968 GB, free: 11.98 MB / 0.6857 GB Notification: Performance of combineBinaries: time 0.0044/0.6587, allocations: 2.873 MB / 0.9996 GB, free: 10.08 MB / 0.6857 GB Notification: Performance of replaceArrayConstructors: time 0.001899/0.6607, allocations: 1.85 MB / 1.001 GB, free: 8.785 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.6618, allocations: 355.7 kB / 1.002 GB, free: 8.59 MB / 0.6857 GB Notification: Performance of FrontEnd: time 0.0007485/0.6626, allocations: 78.16 kB / 1.002 GB, free: 8.562 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: 257 (245) * Number of variables: 257 (254) Notification: Performance of Bindings: time 0.009743/0.6723, allocations: 8.184 MB / 1.01 GB, free: 3.031 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0006844/0.673, allocations: 337 kB / 1.01 GB, free: 2.766 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.005544/0.6786, allocations: 4.963 MB / 1.015 GB, free: 15.59 MB / 0.7013 GB Notification: Performance of simplify1: time 0.000494/0.6791, allocations: 325.5 kB / 1.015 GB, free: 15.45 MB / 0.7013 GB Notification: Performance of Alias: time 0.01137/0.6905, allocations: 8.114 MB / 1.023 GB, free: 10.79 MB / 0.7013 GB Notification: Performance of simplify2: time 0.00082/0.6914, allocations: 242.5 kB / 1.023 GB, free: 10.7 MB / 0.7013 GB Notification: Performance of Detect States: time 0.001279/0.6927, allocations: 0.6661 MB / 1.024 GB, free: 10.26 MB / 0.7013 GB Notification: Performance of Events: time 0.001399/0.6941, allocations: 0.7832 MB / 1.025 GB, free: 9.758 MB / 0.7013 GB Notification: Performance of Partitioning: time 0.00157/0.6957, allocations: 1.136 MB / 1.026 GB, free: 8.984 MB / 0.7013 GB Notification: Performance of Causalize: time 0.005698/0.7014, allocations: 4.349 MB / 1.03 GB, free: 7.27 MB / 0.7013 GB Notification: Performance of After Index Reduction Inline: time 0.003398/0.7048, allocations: 2.703 MB / 1.033 GB, free: 5.543 MB / 0.7013 GB Notification: Performance of Inline: time 0.008554/0.7134, allocations: 6.013 MB / 1.039 GB, free: 1.793 MB / 0.7013 GB Notification: Performance of Partitioning: time 0.0004452/0.7138, allocations: 255.3 kB / 1.039 GB, free: 1.641 MB / 0.7013 GB Notification: Performance of Cleanup: time 0.000397/0.7142, allocations: 224.5 kB / 1.039 GB, free: 1.5 MB / 0.7013 GB Notification: Performance of Causalize: time 0.01003/0.7243, allocations: 7.595 MB / 1.047 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of Tearing: time 0.001387/0.7257, allocations: 1.136 MB / 1.048 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of Initialization: time 1.051e-06/0.7257, allocations: 0 / 1.048 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of Tearing: time 0.001303/0.727, allocations: 1.098 MB / 1.049 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of Categorize: time 6.001e-05/0.7271, allocations: 9.672 kB / 1.049 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of Solve: time 0.002037/0.7291, allocations: 0.8534 MB / 1.05 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of Jacobian: time 4.288e-06/0.7292, allocations: 0 / 1.05 GB, free: 11.02 MB / 0.7169 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: ......... 10 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 39 (39) {$SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $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: ........... 132 (scalar:128, 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: ........... 226 (scalar:221, 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 0.0001051/0.7293, allocations: 67.91 kB / 1.05 GB, free: 10.96 MB / 0.7169 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)