Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger.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.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=332,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger") translateModel(AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=332,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001428, allocations: 106.2 kB / 16.42 MB, free: 6.434 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.001409/0.001409, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05561/0.05561, allocations: 12.04 MB / 303.2 MB, free: 3.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005652/0.0005652, allocations: 39.88 kB / 356.3 MB, free: 13.94 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 2.073/2.073, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.153e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger): time 0.006648/0.006679, allocations: 4.473 MB / 0.8978 GB, free: 10.69 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003716/0.01041, allocations: 1.714 MB / 0.8995 GB, free: 8.969 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.01113, allocations: 15.94 kB / 0.8995 GB, free: 8.953 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatGenerators/Boiler/Boiler.mo:61:3-64:57:writable] Warning: Connector enthalpyPort_a1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatGenerators/Boiler/Boiler.mo:65:3-68:56:writable] Warning: Connector enthalpyPort_b1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:4:3-7:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:8:3-11:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:13:3-15:71:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:16:3-18:73:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/Pumps/Pump.mo:30:3-33:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/Pumps/Pump.mo:34:3-37:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:4:3-7:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:8:3-11:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:13:3-15:71:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:16:3-18:73:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:4:3-7:59:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/EnergyBalance.mo:8:3-11:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:13:3-15:71:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/BaseClasses/WorkingFluid.mo:16:3-18:73:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/DHWHeatExchanger.mo:75:3-77:35:writable] Warning: Connector enthalpyPort_heaterIn is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/DHWHeatExchanger.mo:78:3-80:60:writable] Warning: Connector enthalpyPort_heaterOut is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/DHWHeatExchanger.mo:81:3-83:40:writable] Warning: Connector enthalpyPort_dHWIn is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/DHWHeatExchanger.mo:84:3-86:38:writable] Warning: Connector enthalpyPort_dHWOut is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/Pumps/FluidSource.mo:21:3-24:57:writable] Warning: Connector enthalpyPort_b is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/Sinks/Vessel.mo:9:3-11:41:writable] Warning: Connector enthalpyPort_a is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001072/0.01221, allocations: 209.7 kB / 0.8997 GB, free: 8.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.01324, allocations: 285.9 kB / 0.9 GB, free: 8.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.01406, allocations: 270.6 kB / 0.9002 GB, free: 8.207 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.01602, allocations: 1.737 MB / 0.9019 GB, free: 6.469 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.0178, allocations: 1.437 MB / 0.9033 GB, free: 5.004 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008599/0.01867, allocations: 0.6509 MB / 0.904 GB, free: 4.352 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.01971, allocations: 0.6622 MB / 0.9046 GB, free: 3.688 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.01993, allocations: 167.9 kB / 0.9048 GB, free: 3.523 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.02046, allocations: 268 kB / 0.905 GB, free: 3.262 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001058/0.02152, allocations: 1.568 MB / 0.9065 GB, free: 1.68 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005786/0.02211, allocations: 0.9263 MB / 0.9075 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.02231, allocations: 167.6 kB / 0.9076 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0001743/0.02249, allocations: 23.88 kB / 0.9076 GB, free: 0.5547 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 (296) * Number of variables: 376 (160) Notification: Performance of Bindings: time 0.005081/0.02758, allocations: 5.712 MB / 0.9132 GB, free: 10.65 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0003322/0.02792, allocations: 379.3 kB / 0.9136 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.003192/0.03112, allocations: 3.875 MB / 0.9174 GB, free: 6.328 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0002325/0.03137, allocations: 211.8 kB / 0.9176 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of Alias: time 0.005369/0.03674, allocations: 4.552 MB / 0.922 GB, free: 1.293 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0001766/0.03694, allocations: 155.8 kB / 0.9222 GB, free: 1.141 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0006194/0.03756, allocations: 0.639 MB / 0.9228 GB, free: 500 kB / 0.6857 GB Notification: Performance of Events: time 0.0002188/0.03779, allocations: 231.8 kB / 0.923 GB, free: 268 kB / 0.6857 GB Notification: Performance of Partitioning: time 0.4665/0.5043, allocations: 1.13 MB / 0.9241 GB, free: 58.84 MB / 0.6857 GB Notification: Performance of Causalize: time 0.009424/0.5138, allocations: 8.314 MB / 0.9322 GB, free: 57.4 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002457/0.5163, allocations: 2.667 MB / 0.9348 GB, free: 57.19 MB / 0.6857 GB Notification: Performance of Inline: time 0.007159/0.5235, allocations: 5.703 MB / 0.9404 GB, free: 56.65 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.0002439/0.5238, allocations: 211.4 kB / 0.9406 GB, free: 56.57 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.0002562/0.524, allocations: 204.7 kB / 0.9408 GB, free: 56.57 MB / 0.6857 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(25) {dHWHeatExchanger.layer_dHW[1].medium.lambda, dHWHeatExchanger.layer_dHW[2].medium.lambda, dHWHeatExchanger.layer_dHW[3].medium.lambda, dHWHeatExchanger.layer_dHW[4].medium.lambda, dHWHeatExchanger.layer_dHW[5].medium.lambda}, does not fit the equation size 5. Error: Internal error NBSlice.resolveDependency failed for: dHWHeatExchanger.layer_dHW.medium.lambda. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (20) ($RES_BND_385) [----] for $i1 in 1:5 loop [----] [RECD] (4) dHWHeatExchanger.layer_dHW[$i1].medium = dHWHeatExchanger.medium ($RES_BND_386) [----] end for; Error: Internal error NBInitialization.main failed to apply modules!