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.0008744/0.0008744, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001117/0.001117, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1641/0.1641, allocations: 12.03 MB / 303.1 MB, free: 1.645 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002265/0.0002266, allocations: 18.84 kB / 357.2 MB, free: 3.168 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 1.829/1.829, allocations: 266.8 MB / 0.6622 GB, free: 3.219 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.000459, allocations: 13.94 kB / 0.7826 GB, free: 32.69 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 110.2 MB / 0.8902 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage): time 1.852/2.062, allocations: 0.5934 GB / 1.484 GB, free: 62.51 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1789/2.241, allocations: 130.7 MB / 1.611 GB, free: 38.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03657/2.277, allocations: 0.648 MB / 1.612 GB, free: 38.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.02976/2.307, allocations: 5.991 MB / 1.618 GB, free: 33.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.073/2.38, allocations: 18.73 MB / 1.636 GB, free: 22.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.04488/2.425, allocations: 11.78 MB / 1.648 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.08411/2.509, allocations: 57.42 MB / 1.704 GB, free: 5.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03484/2.544, allocations: 12.67 MB / 1.716 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04935/2.593, allocations: 15.45 MB / 1.731 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03033/2.624, allocations: 12.52 MB / 1.743 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00851/2.632, allocations: 0.6719 MB / 1.744 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03703/2.669, allocations: 6.411 MB / 1.75 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.01137/2.681, allocations: 3.279 MB / 1.753 GB, free: 5.023 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01411/2.695, allocations: 3.922 MB / 1.757 GB, free: 1.086 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04777/2.743, allocations: 25.63 MB / 1.782 GB, free: 8.406 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/2.743, allocations: 4 kB / 1.782 GB, free: 8.402 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.856e-06/2.743, allocations: 0 / 1.782 GB, free: 8.402 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001179/2.744, allocations: 0 / 1.782 GB, free: 8.402 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.04899/2.793, allocations: 16.1 MB / 1.798 GB, free: 8.422 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.793, allocations: 8.031 kB / 1.798 GB, free: 8.414 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/2.811, allocations: 3.415 MB / 1.801 GB, free: 4.977 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05022/2.861, allocations: 16.63 MB / 1.818 GB, free: 4.727 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003018/2.864, allocations: 1.208 MB / 1.819 GB, free: 3.516 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005837/2.87, allocations: 1.101 MB / 1.82 GB, free: 2.422 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9793/3.849, allocations: 13.38 MB / 1.833 GB, free: 478.7 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003182/3.849, allocations: 40.73 kB / 1.833 GB, free: 478.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/3.851, allocations: 455.1 kB / 1.833 GB, free: 478.7 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/3.851, allocations: 303.9 kB / 1.834 GB, free: 478.7 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03086/3.882, allocations: 11.06 MB / 1.845 GB, free: 475.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 removeSimpleEquations (simulation): time 0.1054/3.988, allocations: 71.54 MB / 1.914 GB, free: 416.8 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/4.001, allocations: 7.176 MB / 1.921 GB, free: 413.2 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007714/4.009, allocations: 4.111 MB / 1.925 GB, free: 411.2 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.04149/4.05, allocations: 23.9 MB / 1.949 GB, free: 389.1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/4.051, allocations: 119 kB / 1.949 GB, free: 389 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008894/4.06, allocations: 1.108 MB / 1.95 GB, free: 388.5 MB / 1.123 GB Notification: Performance of pre-optimization done (n=590): time 2.38e-05/4.06, allocations: 0 / 1.95 GB, free: 388.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=590): time 0.04613/4.106, allocations: 14.71 MB / 1.964 GB, free: 381.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/4.106, allocations: 112 kB / 1.964 GB, free: 381.1 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02568/4.132, allocations: 12.41 MB / 1.977 GB, free: 368.8 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001767/4.133, allocations: 154.5 kB / 1.977 GB, free: 368.6 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.007423/4.141, allocations: 7.735 MB / 1.984 GB, free: 360.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003616/4.144, allocations: 2.072 MB / 1.986 GB, free: 358.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/4.146, allocations: 159.8 kB / 1.986 GB, free: 358.7 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0005238/4.146, allocations: 0.6056 MB / 1.987 GB, free: 358 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007779/4.154, allocations: 3.34 MB / 1.99 GB, free: 354.7 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009733/4.164, allocations: 6.13 MB / 1.996 GB, free: 347.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008733/4.173, allocations: 4.255 MB / 2 GB, free: 343.3 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.136e-05/4.173, allocations: 20 kB / 2 GB, free: 343.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.02648/4.199, allocations: 11.63 MB / 2.012 GB, free: 331.6 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009655/4.2, allocations: 2.314 MB / 2.014 GB, free: 328.3 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/4.2, allocations: 80 kB / 2.014 GB, free: 328.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003961/4.204, allocations: 1.366 MB / 2.015 GB, free: 326.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00822/4.213, allocations: 2.048 MB / 2.017 GB, free: 324.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/4.219, allocations: 9.473 MB / 2.027 GB, free: 314.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/4.233, allocations: 1.344 MB / 2.028 GB, free: 313.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/4.235, allocations: 431.8 kB / 2.028 GB, free: 313.2 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/4.235, allocations: 4 kB / 2.028 GB, free: 313.2 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02106/4.256, allocations: 10.34 MB / 2.039 GB, free: 302.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/4.256, allocations: 83.98 kB / 2.039 GB, free: 302.7 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003769/4.26, allocations: 1.317 MB / 2.04 GB, free: 301.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007422/4.267, allocations: 1.962 MB / 2.042 GB, free: 299.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/4.273, allocations: 5.887 MB / 2.048 GB, free: 293.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01439/4.287, allocations: 1.256 MB / 2.049 GB, free: 292 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/4.289, allocations: 419.9 kB / 2.049 GB, free: 291.6 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.009963/4.299, allocations: 3.822 MB / 2.053 GB, free: 287.8 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004474/4.303, allocations: 1.343 MB / 2.054 GB, free: 286.4 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02854/4.332, allocations: 12.23 MB / 2.066 GB, free: 274.3 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/4.332, allocations: 99.88 kB / 2.066 GB, free: 274.2 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.947e-05/4.332, allocations: 8 kB / 2.066 GB, free: 274.2 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01632/4.348, allocations: 8.185 MB / 2.074 GB, free: 265.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 postOpt removeSimpleEquations (simulation): time 0.05724/4.406, allocations: 24.36 MB / 2.098 GB, free: 241.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001029/4.406, allocations: 12 kB / 2.098 GB, free: 241.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006015/4.412, allocations: 1.303 MB / 2.099 GB, free: 240.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/4.415, allocations: 1.109 MB / 2.1 GB, free: 239 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001295/4.417, allocations: 207.8 kB / 2.101 GB, free: 238.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006827/4.424, allocations: 9.491 MB / 2.11 GB, free: 228.9 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/4.424, allocations: 4 kB / 2.11 GB, free: 228.9 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03066/4.454, allocations: 14.51 MB / 2.124 GB, free: 214.2 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009154/4.463, allocations: 2.821 MB / 2.127 GB, free: 211.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004431/4.468, allocations: 128 kB / 2.127 GB, free: 211.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01262/4.481, allocations: 1.212 MB / 2.128 GB, free: 210.1 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/4.482, allocations: 464.5 kB / 2.129 GB, free: 209.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001282/4.483, allocations: 319.7 kB / 2.129 GB, free: 209.3 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01937/4.502, allocations: 8.344 MB / 2.137 GB, free: 201 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.71e-07/4.502, allocations: 0 / 2.137 GB, free: 201 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.03776/4.54, allocations: 8.332 MB / 2.145 GB, free: 192.9 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.007351/4.548, allocations: 3.464 MB / 2.149 GB, free: 189.9 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.03263/4.58, allocations: 14.64 MB / 2.163 GB, free: 175.1 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/4.58, allocations: 5.062 kB / 2.163 GB, free: 175.1 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01213/4.592, allocations: 4.927 MB / 2.168 GB, free: 170.1 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04003/4.633, allocations: 7.124 MB / 2.175 GB, free: 163.2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06151/4.694, allocations: 33.32 MB / 2.207 GB, free: 129.8 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008561/4.703, allocations: 7.1 MB / 2.214 GB, free: 122.7 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.01904/4.722, allocations: 3.7 MB / 2.218 GB, free: 119.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005107/4.727, allocations: 1.132 MB / 2.219 GB, free: 118.1 MB / 1.123 GB Notification: Performance of SimCode: time 1.593e-06/4.727, allocations: 0 / 2.219 GB, free: 118.1 MB / 1.123 GB Notification: Performance of Templates: time 0.9585/5.685, allocations: 282.4 MB / 2.495 GB, free: 344.9 MB / 1.123 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe 2>&1)