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.001088/0.001088, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.00125/0.00125, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.329/1.329, 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.05783/0.05783, allocations: 12.02 MB / 303.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005545/0.0005546, allocations: 27.94 kB / 356.3 MB, free: 13.96 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.932/1.932, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.231e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.YearIndependent.FastHVAC.Examples.HeatExchangers.DHWHeatExchanger.DHWHeatExchanger): time 0.005995/0.006027, allocations: 4.464 MB / 0.8978 GB, free: 10.67 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.00895, allocations: 1.726 MB / 0.8995 GB, free: 8.941 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.009223, allocations: 12 kB / 0.8995 GB, free: 8.93 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.0008283/0.01006, allocations: 217.9 kB / 0.8997 GB, free: 8.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0005886/0.01065, allocations: 281.9 kB / 0.9 GB, free: 8.441 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.01124, allocations: 270.7 kB / 0.9002 GB, free: 8.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.0131, allocations: 1.737 MB / 0.9019 GB, free: 6.441 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.01485, allocations: 1.441 MB / 0.9033 GB, free: 4.973 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007738/0.01563, allocations: 0.6432 MB / 0.9039 GB, free: 4.328 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.01628, allocations: 0.666 MB / 0.9046 GB, free: 3.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.01645, allocations: 164 kB / 0.9048 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.01689, allocations: 275.9 kB / 0.905 GB, free: 3.23 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001247/0.01815, allocations: 1.561 MB / 0.9065 GB, free: 1.656 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005908/0.01875, allocations: 0.9264 MB / 0.9074 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.01895, allocations: 163.6 kB / 0.9076 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0001768/0.01913, allocations: 23.88 kB / 0.9076 GB, free: 0.5352 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.00532/0.02446, allocations: 5.724 MB / 0.9132 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of FunctionAlias: time 0.0003993/0.02487, allocations: 360.6 kB / 0.9136 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of Early Inline: time 0.003673/0.02855, allocations: 3.89 MB / 0.9174 GB, free: 6.297 MB / 0.6857 GB Notification: Performance of simplify1: time 0.0002344/0.0288, allocations: 203.8 kB / 0.9175 GB, free: 6.098 MB / 0.6857 GB Notification: Performance of Alias: time 0.005331/0.03414, allocations: 4.544 MB / 0.922 GB, free: 1.277 MB / 0.6857 GB Notification: Performance of simplify2: time 0.0002135/0.03438, allocations: 159.8 kB / 0.9221 GB, free: 1.121 MB / 0.6857 GB Notification: Performance of Events: time 0.0002106/0.03459, allocations: 227.9 kB / 0.9224 GB, free: 0.8984 MB / 0.6857 GB Notification: Performance of Detect States: time 0.0006521/0.03525, allocations: 0.6473 MB / 0.923 GB, free: 248 kB / 0.6857 GB Notification: Performance of Partitioning: time 0.4154/0.4507, allocations: 1.135 MB / 0.9241 GB, free: 58.14 MB / 0.6857 GB Notification: Performance of Causalize: time 0.007835/0.4585, allocations: 8.302 MB / 0.9322 GB, free: 56.68 MB / 0.6857 GB Notification: Performance of After Index Reduction Inline: time 0.002053/0.4606, allocations: 2.669 MB / 0.9348 GB, free: 56.46 MB / 0.6857 GB Notification: Performance of Inline: time 0.004411/0.465, allocations: 5.639 MB / 0.9403 GB, free: 55.94 MB / 0.6857 GB Notification: Performance of Partitioning: time 0.000187/0.4652, allocations: 208.1 kB / 0.9405 GB, free: 55.87 MB / 0.6857 GB Notification: Performance of Cleanup: time 0.00016/0.4654, allocations: 205.5 kB / 0.9407 GB, free: 55.87 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!