Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.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-development/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001193/0.001193, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 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.1768/0.1768, allocations: 12.01 MB / 303 MB, free: 1.707 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003254/0.0003255, allocations: 19.97 kB / 357.1 MB, free: 3.199 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-development/package.mo): time 1.795/1.795, allocations: 268.6 MB / 0.6638 GB, free: 1.539 MB / 462.1 MB Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.0006197, allocations: 18.59 kB / 0.7845 GB, free: 32.37 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.285, allocations: 110.5 MB / 0.8924 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.7437/1.029, allocations: 201.7 MB / 1.089 GB, free: 35.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06052/1.089, allocations: 42.27 MB / 1.131 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/1.101, allocations: 231.2 kB / 1.131 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0116/1.113, allocations: 2.929 MB / 1.134 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03306/1.146, allocations: 8.604 MB / 1.142 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01876/1.165, allocations: 5.875 MB / 1.148 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02373/1.188, allocations: 9.796 MB / 1.157 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01048/1.199, allocations: 4.361 MB / 1.162 GB, free: 14.53 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0146/1.214, allocations: 4.647 MB / 1.166 GB, free: 11.16 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008078/1.222, allocations: 2.967 MB / 1.169 GB, free: 8.18 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.001821/1.224, allocations: 220 kB / 1.169 GB, free: 7.965 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/1.234, allocations: 2.692 MB / 1.172 GB, free: 5.27 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.237, allocations: 1.109 MB / 1.173 GB, free: 4.156 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.00343/1.24, allocations: 1.405 MB / 1.174 GB, free: 2.742 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.01511/1.255, allocations: 9.129 MB / 1.183 GB, free: 9.59 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.255, allocations: 0 / 1.183 GB, free: 9.59 MB / 0.7638 GB Notification: Performance of FrontEnd: time 3.136e-06/1.255, allocations: 0 / 1.183 GB, free: 9.59 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.0003665/1.256, allocations: 0 / 1.183 GB, free: 9.59 MB / 0.7638 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01753/1.273, allocations: 5.959 MB / 1.189 GB, free: 3.527 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.273, allocations: 12.03 kB / 1.189 GB, free: 3.516 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007919/1.281, allocations: 1.451 MB / 1.191 GB, free: 2.059 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/1.297, allocations: 5.752 MB / 1.196 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001452/1.298, allocations: 0.5385 MB / 1.197 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008628/1.299, allocations: 383.8 kB / 1.197 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/1.309, allocations: 4.467 MB / 1.202 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/1.309, allocations: 7.938 kB / 1.202 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/1.31, allocations: 156 kB / 1.202 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/1.31, allocations: 88 kB / 1.202 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009246/1.319, allocations: 3.828 MB / 1.205 GB, free: 2.613 MB / 0.7794 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.04337/1.363, allocations: 22.55 MB / 1.228 GB, free: 10.8 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007334/1.37, allocations: 3.185 MB / 1.231 GB, free: 7.484 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01766/1.388, allocations: 8.764 MB / 1.239 GB, free: 13.8 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003755/1.391, allocations: 1.6 MB / 1.241 GB, free: 12.16 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00275/1.394, allocations: 285.5 kB / 1.241 GB, free: 11.88 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=189): time 9.779e-06/1.394, allocations: 0 / 1.241 GB, free: 11.88 MB / 0.8263 GB Notification: Performance of matching and sorting (n=189): time 0.02264/1.417, allocations: 6.104 MB / 1.247 GB, free: 5.676 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.417, allocations: 180.2 kB / 1.247 GB, free: 5.465 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01479/1.432, allocations: 4.913 MB / 1.252 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.433, allocations: 73.64 kB / 1.252 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.004524/1.438, allocations: 2.629 MB / 1.255 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.439, allocations: 0.6393 MB / 1.255 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004129/1.439, allocations: 48 kB / 1.255 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003075/1.44, allocations: 407.2 kB / 1.256 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/1.443, allocations: 1.227 MB / 1.257 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004404/1.448, allocations: 2.264 MB / 1.259 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/1.452, allocations: 1.543 MB / 1.261 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-05/1.452, allocations: 8 kB / 1.261 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of matching and sorting (n=329) (initialization): time 0.01254/1.465, allocations: 4.273 MB / 1.265 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.005433/1.47, allocations: 12.18 MB / 1.277 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.308e-05/1.471, allocations: 32 kB / 1.277 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/1.473, allocations: 0.7038 MB / 1.277 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.476, allocations: 0.6513 MB / 1.278 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/1.48, allocations: 3.124 MB / 1.281 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/1.486, allocations: 466.2 kB / 1.281 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007533/1.487, allocations: 140 kB / 1.282 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.487, allocations: 4 kB / 1.282 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009977/1.497, allocations: 3.816 MB / 1.285 GB, free: 12.95 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.811e-05/1.497, allocations: 24 kB / 1.285 GB, free: 12.93 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/1.499, allocations: 0.6879 MB / 1.286 GB, free: 12.23 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.502, allocations: 0.6201 MB / 1.287 GB, free: 11.61 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.505, allocations: 1.911 MB / 1.289 GB, free: 9.652 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.51, allocations: 464.5 kB / 1.289 GB, free: 9.199 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005195/1.511, allocations: 140 kB / 1.289 GB, free: 9.062 MB / 0.8732 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.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: 113 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,$PRE.coolingDemand.nextEvent,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,$PRE.heatDemand.nextEvent,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 283 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.003758/1.514, allocations: 1.492 MB / 1.291 GB, free: 7.551 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.516, allocations: 0.5054 MB / 1.291 GB, free: 7.039 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.526, allocations: 4.188 MB / 1.295 GB, free: 2.879 MB / 0.8732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/1.526, allocations: 31.94 kB / 1.295 GB, free: 2.848 MB / 0.8732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.526, allocations: 4 kB / 1.295 GB, free: 2.844 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006864/1.533, allocations: 3.003 MB / 1.298 GB, free: 15.81 MB / 0.8888 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.02798/1.561, allocations: 9.504 MB / 1.307 GB, free: 6.156 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/1.561, allocations: 0 / 1.307 GB, free: 6.156 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.563, allocations: 395.8 kB / 1.308 GB, free: 5.77 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/1.566, allocations: 0.6593 MB / 1.308 GB, free: 5.105 MB / 0.8888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004224/1.566, allocations: 67.95 kB / 1.308 GB, free: 5.039 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004081/1.57, allocations: 3.072 MB / 1.311 GB, free: 1.871 MB / 0.8888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.57, allocations: 7.938 kB / 1.311 GB, free: 1.863 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/1.587, allocations: 6.192 MB / 1.318 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004163/1.591, allocations: 1.072 MB / 1.319 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/1.593, allocations: 52.12 kB / 1.319 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004977/1.598, allocations: 443.2 kB / 1.319 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/1.598, allocations: 133.8 kB / 1.319 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/1.598, allocations: 99.92 kB / 1.319 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.009023/1.607, allocations: 3.345 MB / 1.323 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.81e-07/1.607, allocations: 0 / 1.323 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.01475/1.622, allocations: 2.779 MB / 1.325 GB, free: 3.617 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 12,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00389/1.626, allocations: 1.338 MB / 1.327 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.64, allocations: 5.242 MB / 1.332 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.64, allocations: 4.062 kB / 1.332 GB, free: 13.02 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004112/1.644, allocations: 1.615 MB / 1.333 GB, free: 11.39 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/1.658, allocations: 2.571 MB / 1.336 GB, free: 8.906 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/1.684, allocations: 10.91 MB / 1.346 GB, free: 13.93 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/1.69, allocations: 2.914 MB / 1.349 GB, free: 10.98 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.008483/1.698, allocations: 1.151 MB / 1.35 GB, free: 9.91 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.7, allocations: 383.2 kB / 1.351 GB, free: 9.535 MB / 0.9357 GB Notification: Performance of SimCode: time 1.002e-06/1.7, allocations: 0 / 1.351 GB, free: 9.535 MB / 0.9357 GB Notification: Performance of Templates: time 0.7345/2.435, allocations: 110.2 MB / 1.458 GB, free: 338.2 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)