Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5760,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage") translateModel(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5760,variableFilter="",fileNamePrefix="AixLib_latest_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.0008887/0.0008889, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007393/0.007393, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.601/1.601, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2322/0.2322, allocations: 12.03 MB / 303.5 MB, free: 1.582 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003942/0.0003938, allocations: 27.89 kB / 357.6 MB, free: 3.074 MB / 286.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.969/1.969, allocations: 271 MB / 0.6666 GB, free: 15.23 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006839/0.000684, allocations: 13.62 kB / 0.7881 GB, free: 31.41 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 111 MB / 0.8965 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage): time 1.839/2.055, allocations: 0.6287 GB / 1.525 GB, free: 49.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1903/2.246, allocations: 137.8 MB / 1.66 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03999/2.286, allocations: 0.6599 MB / 1.66 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.03471/2.32, allocations: 7.38 MB / 1.668 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.09252/2.413, allocations: 22.61 MB / 1.69 GB, free: 6.176 MB / 0.9982 GB Notification: Performance of NFTyping.typeClassSections: time 0.05053/2.464, allocations: 16.14 MB / 1.705 GB, free: 6.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0986/2.562, allocations: 66.83 MB / 1.771 GB, free: 3.211 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0395/2.602, allocations: 14.9 MB / 1.785 GB, free: 4.168 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0491/2.651, allocations: 16.24 MB / 1.801 GB, free: 3.855 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02749/2.678, allocations: 13.2 MB / 1.814 GB, free: 6.59 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00587/2.684, allocations: 0.6641 MB / 1.815 GB, free: 5.926 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8391/3.523, allocations: 9.432 MB / 1.824 GB, free: 47.26 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.01211/3.536, allocations: 3.43 MB / 1.827 GB, free: 47.26 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.03332/3.569, allocations: 9.117 MB / 1.836 GB, free: 47.23 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.07372/3.643, allocations: 31.81 MB / 1.867 GB, free: 44.51 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/3.643, allocations: 0 / 1.867 GB, free: 44.51 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.777e-06/3.643, allocations: 0 / 1.867 GB, free: 44.51 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.001501/3.644, allocations: 0 / 1.867 GB, free: 44.51 MB / 1.123 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.05705/3.701, allocations: 15.86 MB / 1.883 GB, free: 37.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/3.701, allocations: 8.5 kB / 1.883 GB, free: 37.36 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02041/3.722, allocations: 3.414 MB / 1.886 GB, free: 36.37 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05853/3.78, allocations: 17.15 MB / 1.903 GB, free: 33.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003515/3.784, allocations: 1.214 MB / 1.904 GB, free: 33.71 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006415/3.79, allocations: 1.098 MB / 1.905 GB, free: 33.7 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05412/3.845, allocations: 13.46 MB / 1.918 GB, free: 32.13 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009813/3.846, allocations: 32.09 kB / 1.918 GB, free: 32.13 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005981/3.852, allocations: 463.4 kB / 1.919 GB, free: 32.12 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006158/3.852, allocations: 298.7 kB / 1.919 GB, free: 32.12 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0415/3.894, allocations: 11.11 MB / 1.93 GB, free: 31.95 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.1328/4.027, allocations: 71.39 MB / 2 GB, free: 8.262 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/4.043, allocations: 7.189 MB / 2.007 GB, free: 7.234 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009655/4.053, allocations: 4.115 MB / 2.011 GB, free: 6.66 MB / 1.139 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.0491/4.102, allocations: 23.77 MB / 2.034 GB, free: 6.25 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/4.102, allocations: 117.1 kB / 2.034 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01078/4.113, allocations: 1.11 MB / 2.035 GB, free: 5.668 MB / 1.154 GB Notification: Performance of pre-optimization done (n=590): time 4.322e-05/4.113, allocations: 0 / 2.035 GB, free: 5.668 MB / 1.154 GB Notification: Performance of matching and sorting (n=590): time 0.06026/4.173, allocations: 14.78 MB / 2.049 GB, free: 1.375 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/4.173, allocations: 110.6 kB / 2.05 GB, free: 1.305 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03794/4.211, allocations: 12.44 MB / 2.062 GB, free: 14.55 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.002582/4.214, allocations: 160.8 kB / 2.062 GB, free: 14.52 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.01385/4.228, allocations: 7.716 MB / 2.069 GB, free: 11.58 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.007525/4.235, allocations: 2.08 MB / 2.071 GB, free: 10.06 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003624/4.239, allocations: 0.6338 MB / 2.072 GB, free: 9.895 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001152/4.239, allocations: 305.7 kB / 2.072 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/4.25, allocations: 3.439 MB / 2.076 GB, free: 7.344 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01394/4.264, allocations: 6.206 MB / 2.082 GB, free: 1.387 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1346/4.399, allocations: 29.63 MB / 2.111 GB, free: 5.848 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001249/4.399, allocations: 20 kB / 2.111 GB, free: 5.828 MB / 1.201 GB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.04281/4.442, allocations: 11.71 MB / 2.122 GB, free: 10.47 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.002179/4.444, allocations: 2.309 MB / 2.124 GB, free: 7.18 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002877/4.444, allocations: 83.94 kB / 2.124 GB, free: 7.098 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/4.45, allocations: 1.375 MB / 2.126 GB, free: 5.719 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/4.462, allocations: 2.042 MB / 2.128 GB, free: 3.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/4.472, allocations: 9.477 MB / 2.137 GB, free: 9.973 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01923/4.491, allocations: 1.325 MB / 2.138 GB, free: 8.645 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002832/4.494, allocations: 427.8 kB / 2.139 GB, free: 8.227 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/4.494, allocations: 4 kB / 2.139 GB, free: 8.223 MB / 1.233 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03603/4.53, allocations: 10.24 MB / 2.149 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005242/4.531, allocations: 83.98 kB / 2.149 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005492/4.536, allocations: 1.315 MB / 2.15 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009572/4.546, allocations: 1.962 MB / 2.152 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/4.554, allocations: 5.871 MB / 2.158 GB, free: 5.055 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01682/4.571, allocations: 1.251 MB / 2.159 GB, free: 3.805 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/4.573, allocations: 423.8 kB / 2.159 GB, free: 3.391 MB / 1.248 GB Warning: Assuming fixed start value for the following 13 variables: 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] 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[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] 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 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.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.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.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 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 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.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.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.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 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 (not torn): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,3), (1,3), (1,3), (1,3), (4,33)} Notification: Performance of prepare postOptimizeDAE: time 0.01246/4.585, allocations: 3.831 MB / 2.163 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00565/4.591, allocations: 1.343 MB / 2.164 GB, free: 14.31 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04005/4.631, allocations: 12.23 MB / 2.176 GB, free: 2.301 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002638/4.631, allocations: 91.94 kB / 2.176 GB, free: 2.211 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/4.632, allocations: 0 / 2.176 GB, free: 2.211 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02545/4.657, allocations: 8.244 MB / 2.185 GB, free: 9.914 MB / 1.279 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.07744/4.734, allocations: 24.27 MB / 2.208 GB, free: 1.574 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001964/4.735, allocations: 12.44 kB / 2.208 GB, free: 1.562 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007453/4.742, allocations: 1.313 MB / 2.21 GB, free: 312 kB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/4.747, allocations: 1.122 MB / 2.211 GB, free: 15.17 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002189/4.749, allocations: 195.9 kB / 2.211 GB, free: 14.98 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/4.76, allocations: 9.512 MB / 2.22 GB, free: 5.102 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/4.76, allocations: 6.719 kB / 2.22 GB, free: 5.098 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04423/4.804, allocations: 14.55 MB / 2.234 GB, free: 6.371 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01263/4.817, allocations: 2.794 MB / 2.237 GB, free: 3.539 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007597/4.824, allocations: 134.9 kB / 2.237 GB, free: 3.41 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01861/4.843, allocations: 1.202 MB / 2.238 GB, free: 2.219 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002132/4.845, allocations: 463.8 kB / 2.239 GB, free: 1.766 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002213/4.847, allocations: 323.7 kB / 2.239 GB, free: 1.449 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.02702/4.875, allocations: 8.389 MB / 2.247 GB, free: 9.141 MB / 1.342 GB Notification: Performance of sort global known variables: time 4.81e-07/4.875, allocations: 0 / 2.247 GB, free: 9.141 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.04849/4.923, allocations: 8.322 MB / 2.255 GB, free: 0.7969 MB / 1.342 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 (not torn): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,5), (1,5), (6,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/4.935, allocations: 3.658 MB / 2.259 GB, free: 13.46 MB / 1.358 GB Notification: Performance of simCode: created initialization part: time 0.04668/4.982, allocations: 14.78 MB / 2.273 GB, free: 15.06 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/4.982, allocations: 8.562 kB / 2.273 GB, free: 15.05 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.01493/4.997, allocations: 4.927 MB / 2.278 GB, free: 10.18 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06152/5.058, allocations: 7.132 MB / 2.285 GB, free: 3.234 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6763/5.735, allocations: 34.86 MB / 2.319 GB, free: 0.6642 GB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02413/5.759, allocations: 7.107 MB / 2.326 GB, free: 0.6632 GB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.02772/5.787, allocations: 3.702 MB / 2.33 GB, free: 0.6631 GB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007103/5.794, allocations: 1.125 MB / 2.331 GB, free: 0.6631 GB / 1.389 GB Notification: Performance of SimCode: time 1.633e-06/5.794, allocations: 0 / 2.331 GB, free: 0.6631 GB / 1.389 GB Notification: Performance of Templates: time 0.45/6.244, allocations: 289.6 MB / 2.614 GB, free: 465.3 MB / 1.389 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage.pipe 2>&1)