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.001058/0.001058, allocations: 91.22 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.01037/0.01037, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2112/0.2112, allocations: 12.02 MB / 303.5 MB, free: 1.664 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002085/0.0002085, allocations: 11.97 kB / 357.5 MB, free: 3.105 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.864/1.864, allocations: 266.8 MB / 0.6625 GB, free: 3.152 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004759, allocations: 16.94 kB / 0.7833 GB, free: 32.42 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 110.2 MB / 0.8909 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Supplies.Examples.DHCSupplyHeaterCoolerStorage): time 1.573/1.8, allocations: 0.6287 GB / 1.52 GB, free: 46.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1611/1.961, allocations: 137.8 MB / 1.654 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03054/1.992, allocations: 0.6598 MB / 1.655 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0246/2.016, allocations: 7.378 MB / 1.662 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.07412/2.09, allocations: 22.61 MB / 1.684 GB, free: 13.29 MB / 0.9982 GB Notification: Performance of NFTyping.typeClassSections: time 0.0436/2.134, allocations: 16.13 MB / 1.7 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.08576/2.22, allocations: 66.84 MB / 1.765 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03009/2.25, allocations: 14.91 MB / 1.78 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04172/2.292, allocations: 16.23 MB / 1.796 GB, free: 13.5 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02715/2.319, allocations: 13.21 MB / 1.808 GB, free: 232 kB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.006649/2.326, allocations: 0.668 MB / 1.809 GB, free: 15.55 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03417/2.36, allocations: 9.436 MB / 1.818 GB, free: 6.102 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.007546/2.367, allocations: 3.426 MB / 1.822 GB, free: 2.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.8137/3.181, allocations: 9.113 MB / 1.831 GB, free: 47.24 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.05975/3.241, allocations: 31.8 MB / 1.862 GB, free: 46.47 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/3.241, allocations: 0 / 1.862 GB, free: 46.47 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.426e-06/3.241, allocations: 3.75 kB / 1.862 GB, free: 46.47 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.001471/3.243, allocations: 0 / 1.862 GB, free: 46.47 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.04349/3.286, allocations: 15.87 MB / 1.877 GB, free: 39.47 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/3.286, allocations: 9.969 kB / 1.877 GB, free: 39.47 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/3.312, allocations: 3.412 MB / 1.88 GB, free: 38.48 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06675/3.379, allocations: 17.15 MB / 1.897 GB, free: 35.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004558/3.383, allocations: 1.216 MB / 1.898 GB, free: 35.83 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00683/3.39, allocations: 1.094 MB / 1.9 GB, free: 35.82 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06054/3.451, allocations: 13.46 MB / 1.913 GB, free: 34.26 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008114/3.452, allocations: 34 kB / 1.913 GB, free: 34.25 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006032/3.458, allocations: 452.4 kB / 1.913 GB, free: 34.25 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006462/3.458, allocations: 308 kB / 1.913 GB, free: 34.25 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05165/3.51, allocations: 11.12 MB / 1.924 GB, free: 34.07 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.1719/3.682, allocations: 71.39 MB / 1.994 GB, free: 12.34 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02436/3.706, allocations: 7.185 MB / 2.001 GB, free: 11.32 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01523/3.722, allocations: 4.128 MB / 2.005 GB, free: 10.74 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.07275/3.794, allocations: 23.77 MB / 2.028 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/3.795, allocations: 113.7 kB / 2.028 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01735/3.812, allocations: 1.112 MB / 2.029 GB, free: 9.766 MB / 1.154 GB Notification: Performance of pre-optimization done (n=590): time 8.543e-05/3.812, allocations: 0 / 2.029 GB, free: 9.766 MB / 1.154 GB Notification: Performance of matching and sorting (n=590): time 0.08431/3.896, allocations: 14.77 MB / 2.044 GB, free: 5.488 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/3.897, allocations: 109.8 kB / 2.044 GB, free: 5.418 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04834/3.945, allocations: 12.45 MB / 2.056 GB, free: 2.664 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.002587/3.948, allocations: 156.2 kB / 2.056 GB, free: 2.633 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.01254/3.96, allocations: 7.719 MB / 2.064 GB, free: 15.7 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.005367/3.966, allocations: 2.078 MB / 2.066 GB, free: 14.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002824/3.968, allocations: 0.6308 MB / 2.066 GB, free: 14.04 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001321/3.969, allocations: 307.5 kB / 2.067 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01003/3.979, allocations: 3.449 MB / 2.07 GB, free: 13.21 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/3.99, allocations: 6.207 MB / 2.076 GB, free: 8.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1326/4.123, allocations: 29.62 MB / 2.105 GB, free: 15.25 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.387e-05/4.123, allocations: 20 kB / 2.105 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.03493/4.158, allocations: 11.71 MB / 2.117 GB, free: 3.879 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.002022/4.16, allocations: 2.307 MB / 2.119 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002502/4.161, allocations: 83.98 kB / 2.119 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005559/4.166, allocations: 1.371 MB / 2.12 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009825/4.176, allocations: 2.046 MB / 2.122 GB, free: 13.2 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009562/4.186, allocations: 9.474 MB / 2.131 GB, free: 3.387 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/4.205, allocations: 1.329 MB / 2.133 GB, free: 2.059 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/4.208, allocations: 426.5 kB / 2.133 GB, free: 1.645 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/4.208, allocations: 4 kB / 2.133 GB, free: 1.641 MB / 1.217 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03089/4.239, allocations: 10.24 MB / 2.143 GB, free: 7.816 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003428/4.239, allocations: 87.98 kB / 2.143 GB, free: 7.73 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/4.244, allocations: 1.306 MB / 2.145 GB, free: 6.418 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008772/4.253, allocations: 1.96 MB / 2.146 GB, free: 4.574 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007128/4.26, allocations: 5.867 MB / 2.152 GB, free: 14.49 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/4.277, allocations: 1.259 MB / 2.153 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/4.28, allocations: 423.9 kB / 2.154 GB, free: 12.82 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.01316/4.293, allocations: 3.827 MB / 2.158 GB, free: 9.105 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006254/4.299, allocations: 1.343 MB / 2.159 GB, free: 7.746 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03859/4.338, allocations: 12.23 MB / 2.171 GB, free: 11.74 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002582/4.338, allocations: 87.95 kB / 2.171 GB, free: 11.65 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-05/4.338, allocations: 4 kB / 2.171 GB, free: 11.65 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02439/4.363, allocations: 8.238 MB / 2.179 GB, free: 3.367 MB / 1.264 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.08425/4.447, allocations: 24.28 MB / 2.203 GB, free: 11.04 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001372/4.447, allocations: 15.98 kB / 2.203 GB, free: 11.03 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007207/4.454, allocations: 1.304 MB / 2.204 GB, free: 9.777 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/4.459, allocations: 1.116 MB / 2.205 GB, free: 8.652 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002136/4.461, allocations: 199.9 kB / 2.205 GB, free: 8.457 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/4.472, allocations: 9.515 MB / 2.215 GB, free: 14.57 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/4.472, allocations: 4 kB / 2.215 GB, free: 14.57 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04763/4.519, allocations: 14.57 MB / 2.229 GB, free: 15.84 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01338/4.533, allocations: 2.794 MB / 2.231 GB, free: 13.02 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007844/4.541, allocations: 128 kB / 2.232 GB, free: 12.89 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01831/4.559, allocations: 1.203 MB / 2.233 GB, free: 11.7 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002291/4.561, allocations: 459.3 kB / 2.233 GB, free: 11.25 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002293/4.564, allocations: 319.7 kB / 2.234 GB, free: 10.94 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.02476/4.588, allocations: 8.395 MB / 2.242 GB, free: 2.621 MB / 1.326 GB Notification: Performance of sort global known variables: time 7.92e-07/4.588, allocations: 0 / 2.242 GB, free: 2.621 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.04377/4.632, allocations: 8.322 MB / 2.25 GB, free: 10.28 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.01093/4.643, allocations: 3.657 MB / 2.253 GB, free: 6.984 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.04062/4.684, allocations: 14.78 MB / 2.268 GB, free: 8.582 MB / 1.358 GB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/4.684, allocations: 8.562 kB / 2.268 GB, free: 8.574 MB / 1.358 GB Notification: Performance of simCode: created simulation system equations: time 0.01401/4.698, allocations: 4.927 MB / 2.273 GB, free: 3.707 MB / 1.358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05519/4.753, allocations: 7.142 MB / 2.28 GB, free: 12.82 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5557/5.309, allocations: 34.86 MB / 2.314 GB, free: 0.6742 GB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01431/5.323, allocations: 7.107 MB / 2.321 GB, free: 0.6732 GB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.01934/5.343, allocations: 3.704 MB / 2.324 GB, free: 0.6731 GB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004888/5.347, allocations: 1.123 MB / 2.325 GB, free: 0.6731 GB / 1.389 GB Notification: Performance of SimCode: time 9.42e-07/5.347, allocations: 0 / 2.325 GB, free: 0.6731 GB / 1.389 GB Notification: Performance of Templates: time 0.4152/5.763, allocations: 289.6 MB / 2.608 GB, free: 476.5 MB / 1.389 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)