Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 106.5 kB / 16.42 MB, free: 6.488 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.0009556/0.0009557, allocations: 187.2 kB / 17.36 MB, free: 5.703 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.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04905/0.04905, allocations: 12.05 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.0004044/0.0004044, 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.582/1.582, allocations: 272.3 MB / 0.6657 GB, free: 18.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.622e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3585/0.3585, allocations: 132.2 MB / 1.023 GB, free: 5.531 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.02815/0.3867, allocations: 23.2 MB / 1.045 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004142/0.3909, allocations: 128.8 kB / 1.045 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.3943, allocations: 1.531 MB / 1.047 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.4044, allocations: 4.304 MB / 1.051 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.4093, allocations: 2.172 MB / 1.053 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008945/0.4183, allocations: 7.591 MB / 1.061 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003663/0.4219, allocations: 2.628 MB / 1.063 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006024/0.428, allocations: 3.045 MB / 1.066 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.4313, allocations: 1.939 MB / 1.068 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.4318, allocations: 247.8 kB / 1.068 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004645/0.4365, allocations: 2.02 MB / 1.07 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.00445/0.4409, allocations: 4.883 MB / 1.075 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.002472/0.4434, allocations: 3.159 MB / 1.078 GB, free: 15.67 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.0009335/0.4444, allocations: 0.5336 MB / 1.079 GB, free: 15.13 MB / 0.7482 GB Notification: Performance of FrontEnd: time 0.0006071/0.445, allocations: 135.5 kB / 1.079 GB, free: 15 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 (364) * Number of variables: 388 (379) Notification: Performance of Bindings: time 0.009818/0.4548, allocations: 13.07 MB / 1.091 GB, free: 1.711 MB / 0.7482 GB Notification: Performance of FunctionAlias: time 0.0009835/0.4558, allocations: 1.405 MB / 1.093 GB, free: 304 kB / 0.7482 GB Notification: Performance of Early Inline: time 0.00533/0.4611, allocations: 6.715 MB / 1.099 GB, free: 9.523 MB / 0.7638 GB Notification: Performance of simplify1: time 0.0003762/0.4615, allocations: 439.5 kB / 1.1 GB, free: 9.094 MB / 0.7638 GB Notification: Performance of Alias: time 0.01002/0.4715, allocations: 10.89 MB / 1.11 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simplify2: time 0.0003129/0.4719, allocations: 323.9 kB / 1.111 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of Detect States: time 0.0007238/0.4726, allocations: 0.9891 MB / 1.112 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of Events: time 0.001035/0.4736, allocations: 1.13 MB / 1.113 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.001512/0.4752, allocations: 1.807 MB / 1.115 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of Causalize: time 0.006653/0.4818, allocations: 7.242 MB / 1.122 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.003196/0.485, allocations: 3.964 MB / 1.126 GB, free: 13.55 MB / 0.795 GB Notification: Performance of Inline: time 0.0084/0.4934, allocations: 9.706 MB / 1.135 GB, free: 3.734 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0004277/0.4939, allocations: 445.4 kB / 1.135 GB, free: 3.277 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0002386/0.4941, allocations: 311.6 kB / 1.136 GB, free: 2.973 MB / 0.795 GB Notification: Performance of Causalize: time 0.01283/0.5069, allocations: 13.03 MB / 1.148 GB, free: 5.828 MB / 0.8107 GB Notification: Performance of Tearing: time 0.003427/0.5104, allocations: 3.62 MB / 1.152 GB, free: 2.129 MB / 0.8107 GB Notification: Performance of Initialization: time 1.022e-06/0.5104, allocations: 0 / 1.152 GB, free: 2.129 MB / 0.8107 GB Notification: Performance of Tearing: time 0.003203/0.5136, allocations: 3.401 MB / 1.155 GB, free: 14.63 MB / 0.8263 GB Notification: Performance of Categorize: time 4.524e-05/0.5137, allocations: 11.94 kB / 1.155 GB, free: 14.62 MB / 0.8263 GB Notification: Performance of Solve: time 0.00176/0.5154, allocations: 1.286 MB / 1.157 GB, free: 13.32 MB / 0.8263 GB Notification: Performance of Jacobian: time 4.038e-06/0.5154, allocations: 4 kB / 1.157 GB, free: 13.31 MB / 0.8263 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 17 * 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: ................. 54 (54) {$SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $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} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 207 (scalar:199, array:8, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 400 (scalar:389, array:11, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 8.663e-05/0.5155, allocations: 104.3 kB / 1.157 GB, free: 13.22 MB / 0.8263 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_39)