Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5760,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage") translateModel(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5760,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 99.59 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.495/1.495, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2488/0.2488, allocations: 12.03 MB / 303.7 MB, free: 1.672 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002389/0.0002388, allocations: 11.98 kB / 357.8 MB, free: 3.25 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 2.123/2.123, allocations: 266.8 MB / 0.6628 GB, free: 3.281 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005782/0.0005782, allocations: 19.81 kB / 0.7832 GB, free: 32.71 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2975, allocations: 110.2 MB / 0.8908 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage): time 2.053/2.351, allocations: 0.5934 GB / 1.484 GB, free: 62.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1877/2.538, allocations: 130.7 MB / 1.612 GB, free: 38.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05088/2.589, allocations: 0.6453 MB / 1.613 GB, free: 38.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.03226/2.622, allocations: 5.997 MB / 1.618 GB, free: 33.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0825/2.704, allocations: 18.73 MB / 1.637 GB, free: 22.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.04578/2.75, allocations: 11.78 MB / 1.648 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.1001/2.85, allocations: 57.42 MB / 1.704 GB, free: 5.988 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04527/2.895, allocations: 12.67 MB / 1.717 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05313/2.949, allocations: 15.45 MB / 1.732 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03708/2.986, allocations: 12.51 MB / 1.744 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.009338/2.995, allocations: 0.6758 MB / 1.745 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03768/3.033, allocations: 6.411 MB / 1.751 GB, free: 8.297 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.009804/3.043, allocations: 3.277 MB / 1.754 GB, free: 5.102 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01249/3.055, allocations: 3.925 MB / 1.758 GB, free: 1.164 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04556/3.101, allocations: 25.64 MB / 1.783 GB, free: 8.48 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/3.101, allocations: 0 / 1.783 GB, free: 8.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.036e-06/3.101, allocations: 0 / 1.783 GB, free: 8.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001158/3.102, allocations: 4 kB / 1.783 GB, free: 8.477 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.04992/3.152, allocations: 16.08 MB / 1.799 GB, free: 8.508 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/3.152, allocations: 12.03 kB / 1.799 GB, free: 8.496 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/3.169, allocations: 3.41 MB / 1.802 GB, free: 5.062 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04736/3.216, allocations: 16.63 MB / 1.818 GB, free: 4.812 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002961/3.219, allocations: 1.217 MB / 1.819 GB, free: 3.598 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/3.224, allocations: 1.101 MB / 1.82 GB, free: 2.5 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.181/4.405, allocations: 13.38 MB / 1.834 GB, free: 478.4 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006562/4.405, allocations: 36.11 kB / 1.834 GB, free: 478.4 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003954/4.409, allocations: 455.8 kB / 1.834 GB, free: 478.4 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004808/4.41, allocations: 304.6 kB / 1.834 GB, free: 478.4 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0405/4.45, allocations: 11.05 MB / 1.845 GB, free: 474.9 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1362/4.587, allocations: 71.54 MB / 1.915 GB, free: 416.7 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/4.605, allocations: 7.179 MB / 1.922 GB, free: 413.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009801/4.615, allocations: 4.108 MB / 1.926 GB, free: 411.1 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.05147/4.667, allocations: 23.9 MB / 1.949 GB, free: 389 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/4.667, allocations: 111.5 kB / 1.949 GB, free: 388.9 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01105/4.678, allocations: 1.111 MB / 1.951 GB, free: 388.4 MB / 1.123 GB Notification: Performance of pre-optimization done (n=590): time 3.49e-05/4.678, allocations: 0 / 1.951 GB, free: 388.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=590): time 0.05175/4.73, allocations: 14.71 MB / 1.965 GB, free: 381.3 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/4.73, allocations: 112.6 kB / 1.965 GB, free: 381.2 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03498/4.765, allocations: 12.42 MB / 1.977 GB, free: 369 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.002169/4.767, allocations: 160.8 kB / 1.977 GB, free: 368.8 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.009218/4.776, allocations: 7.732 MB / 1.985 GB, free: 361.1 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003851/4.78, allocations: 2.079 MB / 1.987 GB, free: 359 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/4.782, allocations: 156 kB / 1.987 GB, free: 358.8 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0009835/4.783, allocations: 0.6017 MB / 1.988 GB, free: 358.2 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008872/4.792, allocations: 3.342 MB / 1.991 GB, free: 354.9 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/4.803, allocations: 6.131 MB / 1.997 GB, free: 347.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/4.813, allocations: 4.245 MB / 2.001 GB, free: 343.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/4.813, allocations: 20 kB / 2.001 GB, free: 343.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.03713/4.85, allocations: 11.63 MB / 2.012 GB, free: 331.8 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.001581/4.852, allocations: 2.31 MB / 2.015 GB, free: 328.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/4.852, allocations: 84 kB / 2.015 GB, free: 328.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004779/4.857, allocations: 1.363 MB / 2.016 GB, free: 327 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008906/4.866, allocations: 2.044 MB / 2.018 GB, free: 325 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007464/4.873, allocations: 9.485 MB / 2.027 GB, free: 315.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01942/4.893, allocations: 1.343 MB / 2.029 GB, free: 313.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002916/4.896, allocations: 431.8 kB / 2.029 GB, free: 313.3 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/4.896, allocations: 5.422 kB / 2.029 GB, free: 313.3 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02969/4.926, allocations: 10.33 MB / 2.039 GB, free: 302.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000325/4.926, allocations: 83.98 kB / 2.039 GB, free: 302.9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/4.93, allocations: 1.323 MB / 2.04 GB, free: 301.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007976/4.938, allocations: 1.966 MB / 2.042 GB, free: 299.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/4.944, allocations: 5.884 MB / 2.048 GB, free: 293.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/4.959, allocations: 1.253 MB / 2.049 GB, free: 292.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002903/4.962, allocations: 415.9 kB / 2.05 GB, free: 291.8 MB / 1.123 GB Warning: Assuming fixed start value for the following 13 variables: substation2.dirCoo.dynBal.U:VARIABLE(start = substation2.dirCoo.dynBal.fluidVolume * substation2.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.dirCoo.dynBal.Medium.setState_pTX(substation2.dirCoo.dynBal.p_start, substation2.dirCoo.dynBal.T_start, {})) + (substation2.dirCoo.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation2.jun1.vol.dynBal.U:VARIABLE(start = substation2.jun1.vol.dynBal.fluidVolume * substation2.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.jun1.vol.dynBal.Medium.setState_pTX(substation2.jun1.vol.dynBal.p_start, substation2.jun1.vol.dynBal.T_start, {})) + (substation2.jun1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation2.jun.vol.dynBal.U:VARIABLE(start = substation2.jun.vol.dynBal.fluidVolume * substation2.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.jun.vol.dynBal.Medium.setState_pTX(substation2.jun.vol.dynBal.p_start, substation2.jun.vol.dynBal.T_start, {})) + (substation2.jun.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation2.vol1.dynBal.U:VARIABLE(start = substation2.vol1.dynBal.fluidVolume * substation2.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.vol1.dynBal.Medium.setState_pTX(substation2.vol1.dynBal.p_start, substation2.vol1.dynBal.T_start, {})) + (substation2.vol1.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation2.vol.dynBal.U:VARIABLE(start = substation2.vol.dynBal.fluidVolume * substation2.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation2.vol.dynBal.Medium.setState_pTX(substation2.vol.dynBal.p_start, substation2.vol.dynBal.T_start, {})) + (substation2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation1.dirCoo.dynBal.U:VARIABLE(start = substation1.dirCoo.dynBal.fluidVolume * substation1.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.dirCoo.dynBal.Medium.setState_pTX(substation1.dirCoo.dynBal.p_start, substation1.dirCoo.dynBal.T_start, {})) + (substation1.dirCoo.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation1.jun1.vol.dynBal.U:VARIABLE(start = substation1.jun1.vol.dynBal.fluidVolume * substation1.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.jun1.vol.dynBal.Medium.setState_pTX(substation1.jun1.vol.dynBal.p_start, substation1.jun1.vol.dynBal.T_start, {})) + (substation1.jun1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation1.jun.vol.dynBal.U:VARIABLE(start = substation1.jun.vol.dynBal.fluidVolume * substation1.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.jun.vol.dynBal.Medium.setState_pTX(substation1.jun.vol.dynBal.p_start, substation1.jun.vol.dynBal.T_start, {})) + (substation1.jun.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation1.vol1.dynBal.U:VARIABLE(start = substation1.vol1.dynBal.fluidVolume * substation1.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.vol1.dynBal.Medium.setState_pTX(substation1.vol1.dynBal.p_start, substation1.vol1.dynBal.T_start, {})) + (substation1.vol1.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real substation1.vol.dynBal.U:VARIABLE(start = substation1.vol.dynBal.fluidVolume * substation1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.substation1.vol.dynBal.Medium.setState_pTX(substation1.vol.dynBal.p_start, substation1.vol.dynBal.T_start, {})) + (substation1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.U:VARIABLE(start = DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.fluidVolume * DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.DHCSupplyHeaterCoolerStorage.tan.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.DHCSupplyHeaterCoolerStorage.tan.vol.dynBal.Medium.setState_pTX(DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.p_start, DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.T_start, {})) + (DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [3] DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.U:VARIABLE(start = DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.fluidVolume * DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.DHCSupplyHeaterCoolerStorage.tan.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.DHCSupplyHeaterCoolerStorage.tan.vol.dynBal.Medium.setState_pTX(DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.p_start, DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.T_start, {})) + (DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [3] DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.U:VARIABLE(start = DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.fluidVolume * DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.DHCSupplyHeaterCoolerStorage.tan.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.DHCSupplyHeaterCoolerStorage.tan.vol.dynBal.Medium.setState_pTX(DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.p_start, DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.T_start, {})) + (DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (965): * Single equations (assignments): 941 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 5 {1 3,1 3,1 3,1 3,4 33} Notification: Performance of prepare postOptimizeDAE: time 0.01234/4.974, allocations: 3.829 MB / 2.054 GB, free: 287.9 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005655/4.98, allocations: 1.347 MB / 2.055 GB, free: 286.6 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03799/5.018, allocations: 12.23 MB / 2.067 GB, free: 274.5 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002343/5.018, allocations: 95.94 kB / 2.067 GB, free: 274.4 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/5.018, allocations: 0 / 2.067 GB, free: 274.4 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02283/5.041, allocations: 8.197 MB / 2.075 GB, free: 266.1 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06822/5.11, allocations: 24.35 MB / 2.099 GB, free: 241.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000146/5.11, allocations: 8 kB / 2.099 GB, free: 241.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006857/5.117, allocations: 1.307 MB / 2.1 GB, free: 240.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003722/5.12, allocations: 1.116 MB / 2.101 GB, free: 239.2 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00161/5.122, allocations: 203.8 kB / 2.101 GB, free: 239 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007459/5.129, allocations: 9.483 MB / 2.11 GB, free: 229.1 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/5.129, allocations: 4.438 kB / 2.11 GB, free: 229.1 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0369/5.166, allocations: 14.52 MB / 2.125 GB, free: 214.4 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01095/5.177, allocations: 2.817 MB / 2.127 GB, free: 211.6 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005734/5.183, allocations: 128 kB / 2.128 GB, free: 211.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/5.197, allocations: 1.218 MB / 2.129 GB, free: 210.2 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001786/5.199, allocations: 460.5 kB / 2.129 GB, free: 209.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001822/5.201, allocations: 323.7 kB / 2.129 GB, free: 209.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.02045/5.222, allocations: 8.352 MB / 2.138 GB, free: 201.2 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.52e-07/5.222, allocations: 0 / 2.138 GB, free: 201.2 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.04321/5.265, allocations: 8.324 MB / 2.146 GB, free: 193.1 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 45 (DHCSupplyHeaterCoolerStorage.senT_cooOut.T,DHCSupplyHeaterCoolerStorage.tan.vol[1].dynBal.U,DHCSupplyHeaterCoolerStorage.tan.vol[2].dynBal.U,DHCSupplyHeaterCoolerStorage.tan.vol[3].dynBal.U,DHCSupplyHeaterCoolerStorage.senT_heaOut.T,DHCSupplyHeaterCoolerStorage.senT_stoHea.T,DHCSupplyHeaterCoolerStorage.senT_stoCoo.T,substation1.vol.dynBal.U,substation1.vol1.dynBal.U,substation1.jun.vol.dynBal.U,substation1.jun1.vol.dynBal.U,substation1.dirCoo.dynBal.U,substation1.senT_heaPumOutPri.T,substation1.senT_heaPumInPri.T,substation1.senT_heaPumOutSec.T,substation1.senT_heaPumInSec.T,substation1.senT_dirCooInPri.T,substation1.senT_dirCooOutPri.T,substation2.vol.dynBal.U,substation2.vol1.dynBal.U,substation2.jun.vol.dynBal.U,substation2.jun1.vol.dynBal.U,substation2.dirCoo.dynBal.U,substation2.senT_heaPumOutPri.T,substation2.senT_heaPumInPri.T,substation2.senT_heaPumOutSec.T,substation2.senT_heaPumInSec.T,substation2.senT_dirCooInPri.T,substation2.senT_dirCooOutPri.T,plugFlowPipe.del.x,plugFlowPipe.timDel.x,plugFlowPipe.vol_b.dynBal.U,plugFlowPipe.vol_a.dynBal.U,plugFlowPipe1.del.x,plugFlowPipe1.timDel.x,plugFlowPipe1.vol_b.dynBal.U,plugFlowPipe1.vol_a.dynBal.U,plugFlowPipe2.del.x,plugFlowPipe2.timDel.x,plugFlowPipe2.vol_b.dynBal.U,plugFlowPipe2.vol_a.dynBal.U,plugFlowPipe3.del.x,plugFlowPipe3.timDel.x,plugFlowPipe3.vol_b.dynBal.U,plugFlowPipe3.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (632): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 5 {1 5,1 5,1 5,1 5,6 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.009488/5.274, allocations: 3.463 MB / 2.149 GB, free: 190 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.03807/5.313, allocations: 14.63 MB / 2.163 GB, free: 175.3 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-05/5.313, allocations: 8.562 kB / 2.163 GB, free: 175.3 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/5.325, allocations: 4.919 MB / 2.168 GB, free: 170.3 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04886/5.374, allocations: 7.133 MB / 2.175 GB, free: 163.4 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0782/5.452, allocations: 33.56 MB / 2.208 GB, free: 129.8 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01294/5.465, allocations: 7.056 MB / 2.215 GB, free: 122.7 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007622/5.473, allocations: 1.186 MB / 2.216 GB, free: 121.5 MB / 1.123 GB Notification: Performance of SimCode: time 2.234e-06/5.473, allocations: 3.938 kB / 2.216 GB, free: 121.5 MB / 1.123 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 1 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 3 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 5 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 7 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 9 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 11 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 13 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 15 .