Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 103.9 kB / 16.38 MB, free: 6.48 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.001166/0.001166, allocations: 193.3 kB / 17.32 MB, free: 5.797 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.167/1.167, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05117/0.05117, allocations: 12.03 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.0004088/0.0004088, allocations: 31.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.692/1.692, allocations: 272.3 MB / 0.6656 GB, free: 18.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.044e-05, allocations: 6.219 kB / 0.7863 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04964/0.04968, allocations: 61.21 MB / 0.8461 GB, free: 15.5 MB / 0.6232 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.06362, allocations: 11.99 MB / 0.8578 GB, free: 3.48 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.06527, allocations: 59.62 kB / 0.8578 GB, free: 3.422 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.06674, allocations: 0.683 MB / 0.8585 GB, free: 2.734 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.0709, allocations: 1.959 MB / 0.8604 GB, free: 0.7656 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.07342, allocations: 1.214 MB / 0.8616 GB, free: 15.56 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.003455/0.07688, allocations: 3.542 MB / 0.8651 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.07816, allocations: 1.236 MB / 0.8663 GB, free: 10.76 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.08042, allocations: 1.438 MB / 0.8677 GB, free: 9.32 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/0.08139, allocations: 0.9453 MB / 0.8686 GB, free: 8.371 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.08154, allocations: 119.9 kB / 0.8687 GB, free: 8.254 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.08365, allocations: 1.478 MB / 0.8702 GB, free: 6.773 MB / 0.6388 GB Notification: Performance of combineBinaries: time 0.001441/0.0851, allocations: 2.322 MB / 0.8724 GB, free: 4.426 MB / 0.6388 GB Notification: Performance of replaceArrayConstructors: time 0.0007451/0.08585, allocations: 1.507 MB / 0.8739 GB, free: 2.898 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.08611, allocations: 259.2 kB / 0.8741 GB, free: 2.645 MB / 0.6388 GB Notification: Performance of FrontEnd: time 0.0002265/0.08634, allocations: 59.73 kB / 0.8742 GB, free: 2.586 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.004782/0.09113, allocations: 6.476 MB / 0.8805 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0002289/0.09137, allocations: 251.7 kB / 0.8808 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002729/0.0941, allocations: 3.244 MB / 0.8839 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001724/0.09429, allocations: 211.8 kB / 0.8841 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of Alias: time 0.004377/0.09867, allocations: 4.799 MB / 0.8888 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001369/0.09882, allocations: 159.8 kB / 0.889 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of Events: time 0.0005288/0.09935, allocations: 0.5624 MB / 0.8895 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0005284/0.09989, allocations: 0.5879 MB / 0.8901 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0007696/0.1007, allocations: 0.888 MB / 0.891 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004026/0.1047, allocations: 4.793 MB / 0.8956 GB, free: 11.79 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.001593/0.1063, allocations: 1.93 MB / 0.8975 GB, free: 9.828 MB / 0.67 GB Notification: Performance of Inline: time 0.003666/0.11, allocations: 4.233 MB / 0.9017 GB, free: 5.547 MB / 0.67 GB Notification: Performance of Partitioning: time 0.000207/0.1102, allocations: 207.7 kB / 0.9019 GB, free: 5.332 MB / 0.67 GB Notification: Performance of Cleanup: time 0.0003191/0.1105, allocations: 419.4 kB / 0.9023 GB, free: 4.91 MB / 0.67 GB Notification: Performance of Causalize: time 0.01284/0.1234, allocations: 16.19 MB / 0.9181 GB, free: 5.578 MB / 0.6857 GB Notification: Performance of Tearing: time 0.001695/0.1251, allocations: 1.843 MB / 0.9199 GB, free: 3.625 MB / 0.6857 GB Notification: Performance of Initialization: time 6.41e-07/0.1251, allocations: 4 kB / 0.9199 GB, free: 3.621 MB / 0.6857 GB Notification: Performance of Tearing: time 0.0008607/0.126, allocations: 0.926 MB / 0.9208 GB, free: 2.645 MB / 0.6857 GB Notification: Performance of Categorize: time 2.603e-05/0.126, allocations: 7.938 kB / 0.9208 GB, free: 2.637 MB / 0.6857 GB Notification: Performance of Solve: time 0.001085/0.1271, allocations: 0.697 MB / 0.9215 GB, free: 1.934 MB / 0.6857 GB Notification: Performance of Jacobian: time 3.176e-06/0.1271, allocations: 0 / 0.9215 GB, free: 1.934 MB / 0.6857 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: ......... 13 * 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: ................. 29 (29) {$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: ........... 99 (scalar:95, 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: ........... 187 (scalar:182, 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: ........... 187 (scalar:182, 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 7.568e-05/0.1272, allocations: 96.56 kB / 0.9216 GB, free: 1.859 MB / 0.6857 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)