Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_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.001228/0.001233, allocations: 99.86 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.001327/0.001327, allocations: 177.3 kB / 15.94 MB, free: 228 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.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2019/0.2019, allocations: 12.01 MB / 303 MB, free: 1.727 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.0003046/0.0003046, allocations: 11.92 kB / 357.1 MB, free: 3.215 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.768/1.768, allocations: 268.6 MB / 0.6638 GB, free: 1.719 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.0005728/0.0005729, allocations: 17.75 kB / 0.7845 GB, free: 32.25 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 110.5 MB / 0.8925 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.724/0.9409, allocations: 201.7 MB / 1.089 GB, free: 35.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05888/0.9998, allocations: 42.27 MB / 1.131 GB, free: 21.21 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01345/1.013, allocations: 234.7 kB / 1.131 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01482/1.028, allocations: 2.922 MB / 1.134 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03118/1.059, allocations: 8.598 MB / 1.142 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01792/1.077, allocations: 5.891 MB / 1.148 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02677/1.104, allocations: 9.788 MB / 1.157 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/1.115, allocations: 4.355 MB / 1.162 GB, free: 14.62 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01494/1.13, allocations: 4.647 MB / 1.166 GB, free: 11.17 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007936/1.138, allocations: 2.971 MB / 1.169 GB, free: 8.184 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/1.139, allocations: 220 kB / 1.169 GB, free: 7.969 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/1.15, allocations: 2.7 MB / 1.172 GB, free: 5.266 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.00273/1.153, allocations: 1.113 MB / 1.173 GB, free: 4.148 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.004039/1.157, allocations: 1.393 MB / 1.174 GB, free: 2.746 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.01889/1.176, allocations: 9.129 MB / 1.183 GB, free: 9.594 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.176, allocations: 0 / 1.183 GB, free: 9.594 MB / 0.7638 GB Notification: Performance of FrontEnd: time 3.797e-06/1.176, allocations: 0 / 1.183 GB, free: 9.594 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.0005671/1.176, allocations: 0 / 1.183 GB, free: 9.594 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.01859/1.195, allocations: 5.955 MB / 1.189 GB, free: 3.535 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.195, allocations: 12.03 kB / 1.189 GB, free: 3.523 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007551/1.203, allocations: 1.455 MB / 1.191 GB, free: 2.062 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.216, allocations: 5.748 MB / 1.196 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001468/1.218, allocations: 0.5386 MB / 1.197 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/1.219, allocations: 379.9 kB / 1.197 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/1.23, allocations: 4.473 MB / 1.202 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.831e-05/1.231, allocations: 7.938 kB / 1.202 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/1.231, allocations: 148 kB / 1.202 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.808e-05/1.231, allocations: 88 kB / 1.202 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/1.243, allocations: 3.836 MB / 1.205 GB, free: 2.617 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.04066/1.283, allocations: 22.55 MB / 1.228 GB, free: 10.81 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006429/1.29, allocations: 3.185 MB / 1.231 GB, free: 7.488 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01521/1.305, allocations: 8.76 MB / 1.239 GB, free: 13.8 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003448/1.309, allocations: 1.608 MB / 1.241 GB, free: 12.16 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002794/1.311, allocations: 277.5 kB / 1.241 GB, free: 11.89 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=189): time 8.977e-06/1.312, allocations: 0 / 1.241 GB, free: 11.89 MB / 0.8263 GB Notification: Performance of matching and sorting (n=189): time 0.02037/1.332, allocations: 6.108 MB / 1.247 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.332, allocations: 184.2 kB / 1.247 GB, free: 5.465 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008762/1.341, allocations: 4.913 MB / 1.252 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0006697/1.342, allocations: 77.7 kB / 1.252 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002847/1.344, allocations: 2.625 MB / 1.255 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/1.346, allocations: 0.6355 MB / 1.255 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.346, allocations: 48 kB / 1.255 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.346, allocations: 407.2 kB / 1.256 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.349, allocations: 1.227 MB / 1.257 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/1.353, allocations: 2.268 MB / 1.259 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/1.356, allocations: 1.551 MB / 1.261 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.356, allocations: 4 kB / 1.261 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=329) (initialization): time 0.01071/1.367, allocations: 4.268 MB / 1.265 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00455/1.371, allocations: 12.18 MB / 1.277 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.493e-05/1.371, allocations: 24 kB / 1.277 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/1.374, allocations: 0.7026 MB / 1.277 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/1.377, allocations: 0.6514 MB / 1.278 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/1.381, allocations: 3.12 MB / 1.281 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006389/1.388, allocations: 468.6 kB / 1.281 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007716/1.388, allocations: 147.9 kB / 1.282 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.388, allocations: 4 kB / 1.282 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009063/1.397, allocations: 3.809 MB / 1.285 GB, free: 12.96 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.749e-05/1.398, allocations: 24 kB / 1.285 GB, free: 12.93 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/1.4, allocations: 0.681 MB / 1.286 GB, free: 12.25 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.403, allocations: 0.624 MB / 1.287 GB, free: 11.62 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/1.406, allocations: 1.911 MB / 1.289 GB, free: 9.66 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/1.411, allocations: 474.3 kB / 1.289 GB, free: 9.199 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006855/1.412, 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.003993/1.416, allocations: 1.49 MB / 1.291 GB, free: 7.555 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.418, allocations: 0.5054 MB / 1.291 GB, free: 7.043 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009977/1.428, allocations: 4.197 MB / 1.295 GB, free: 2.871 MB / 0.8732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-05/1.428, allocations: 27.95 kB / 1.295 GB, free: 2.844 MB / 0.8732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.428, allocations: 0 / 1.295 GB, free: 2.844 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006736/1.434, allocations: 2.995 MB / 1.298 GB, free: 15.82 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.02455/1.459, allocations: 9.504 MB / 1.307 GB, free: 6.164 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.459, allocations: 4 kB / 1.307 GB, free: 6.16 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.461, allocations: 395.9 kB / 1.308 GB, free: 5.773 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002707/1.464, allocations: 0.6593 MB / 1.308 GB, free: 5.109 MB / 0.8888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005125/1.464, allocations: 59.95 kB / 1.308 GB, free: 5.051 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/1.468, allocations: 3.089 MB / 1.311 GB, free: 1.867 MB / 0.8888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.468, allocations: 7.938 kB / 1.311 GB, free: 1.859 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.484, allocations: 6.192 MB / 1.318 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003545/1.487, allocations: 1.072 MB / 1.319 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.489, allocations: 47.98 kB / 1.319 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004317/1.493, allocations: 435.2 kB / 1.319 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/1.493, allocations: 145.7 kB / 1.319 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/1.494, allocations: 99.92 kB / 1.319 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.006768/1.5, allocations: 3.341 MB / 1.323 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.5, allocations: 0 / 1.323 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0115/1.512, 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.002975/1.515, allocations: 1.344 MB / 1.327 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.527, allocations: 5.237 MB / 1.332 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.527, allocations: 0 / 1.332 GB, free: 13.03 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003817/1.531, allocations: 1.62 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.01304/1.544, allocations: 2.574 MB / 1.336 GB, free: 8.902 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.566, allocations: 10.91 MB / 1.346 GB, free: 13.92 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/1.569, allocations: 2.919 MB / 1.349 GB, free: 10.97 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.006527/1.576, allocations: 1.143 MB / 1.35 GB, free: 9.906 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.577, allocations: 383.2 kB / 1.351 GB, free: 9.531 MB / 0.9357 GB Notification: Performance of SimCode: time 8.41e-07/1.577, allocations: 0 / 1.351 GB, free: 9.531 MB / 0.9357 GB Notification: Performance of Templates: time 0.6306/2.208, allocations: 110.2 MB / 1.458 GB, free: 339.1 MB / 0.9825 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)