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-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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.001417/0.001417, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 196 kB / 16.79 MB, free: 6.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1715/0.1715, allocations: 12.01 MB / 302.6 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005689/0.0005685, allocations: 27.97 kB / 355.7 MB, free: 4.094 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.813/1.813, allocations: 272.2 MB / 0.665 GB, free: 13.2 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 109.7 kB / 0.7848 GB, free: 31.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.184, allocations: 109.2 MB / 0.8914 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5817/0.7657, allocations: 240.6 MB / 1.126 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05933/0.8251, allocations: 48.88 MB / 1.174 GB, free: 7.93 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01075/0.8359, allocations: 268.4 kB / 1.174 GB, free: 7.824 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.8463, allocations: 2.885 MB / 1.177 GB, free: 5.262 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02157/0.8679, allocations: 7.98 MB / 1.185 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.014/0.882, allocations: 5.889 MB / 1.191 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02539/0.9074, allocations: 22.06 MB / 1.212 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008783/0.9162, allocations: 5.108 MB / 1.217 GB, free: 12.11 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/0.9286, allocations: 5.643 MB / 1.223 GB, free: 6.438 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007681/0.9363, allocations: 4.647 MB / 1.227 GB, free: 1.77 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.9379, allocations: 292 kB / 1.228 GB, free: 1.484 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009277/0.9472, allocations: 3.381 MB / 1.231 GB, free: 14.1 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/0.9495, allocations: 1.326 MB / 1.232 GB, free: 12.77 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.005216/0.9547, allocations: 3.276 MB / 1.235 GB, free: 9.473 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.9661, allocations: 9.573 MB / 1.245 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9661, allocations: 0 / 1.245 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9661, allocations: 0 / 1.245 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002634/0.9664, allocations: 0 / 1.245 GB, free: 15.88 MB / 0.8419 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.01464/0.981, allocations: 7.208 MB / 1.252 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9811, allocations: 8.031 kB / 1.252 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006632/0.9877, allocations: 1.339 MB / 1.253 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.9995, allocations: 6.163 MB / 1.259 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/1.001, allocations: 0.4994 MB / 1.26 GB, free: 492 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000716/1.002, allocations: 372 kB / 1.26 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008854/1.011, allocations: 4.494 MB / 1.264 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/1.011, allocations: 11.88 kB / 1.264 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/1.011, allocations: 148 kB / 1.264 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/1.011, allocations: 88 kB / 1.265 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008305/1.019, allocations: 3.793 MB / 1.268 GB, free: 7.41 MB / 0.8575 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.03097/1.05, allocations: 22.11 MB / 1.29 GB, free: 76 kB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/1.057, allocations: 3.135 MB / 1.293 GB, free: 12.8 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/1.06, allocations: 1.403 MB / 1.294 GB, free: 11.39 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 preOpt evalFunc (simulation): time 0.01413/1.074, allocations: 8.601 MB / 1.303 GB, free: 1.852 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003791/1.078, allocations: 1.584 MB / 1.304 GB, free: 240 kB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002195/1.08, allocations: 261.6 kB / 1.304 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=186): time 6.132e-06/1.08, allocations: 0 / 1.304 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=186): time 0.02065/1.101, allocations: 5.625 MB / 1.31 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.101, allocations: 180.2 kB / 1.31 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/1.111, allocations: 4.741 MB / 1.315 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000605/1.112, allocations: 73.7 kB / 1.315 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002954/1.115, allocations: 2.648 MB / 1.317 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/1.116, allocations: 0.6393 MB / 1.318 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/1.117, allocations: 0.5397 MB / 1.319 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/1.117, allocations: 305.1 kB / 1.319 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.12, allocations: 1.257 MB / 1.32 GB, free: 15.86 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/1.124, allocations: 2.274 MB / 1.322 GB, free: 13.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9606/2.085, allocations: 89.73 MB / 1.41 GB, free: 366.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/2.085, allocations: 7.062 kB / 1.41 GB, free: 366.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01114/2.096, allocations: 4.273 MB / 1.414 GB, free: 366.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/2.096, allocations: 83.61 kB / 1.414 GB, free: 366 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/2.096, allocations: 25.11 kB / 1.414 GB, free: 366 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/2.099, allocations: 0.6747 MB / 1.415 GB, free: 366 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/2.102, allocations: 0.6274 MB / 1.415 GB, free: 366 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/2.105, allocations: 3.062 MB / 1.418 GB, free: 363.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/2.109, allocations: 437.1 kB / 1.419 GB, free: 363.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004456/2.11, allocations: 147.2 kB / 1.419 GB, free: 363.7 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: 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 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.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.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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005171/2.115, allocations: 2.398 MB / 1.421 GB, free: 363.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003523/2.119, allocations: 2.222 MB / 1.424 GB, free: 361.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5482/2.667, allocations: 89.49 MB / 1.511 GB, free: 290.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-05/2.667, allocations: 4 kB / 1.511 GB, free: 290.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.009995/2.677, allocations: 4.165 MB / 1.515 GB, free: 286.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/2.677, allocations: 83.33 kB / 1.515 GB, free: 286.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.724e-05/2.677, allocations: 27.98 kB / 1.515 GB, free: 286.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/2.679, allocations: 0.6385 MB / 1.516 GB, free: 286 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/2.681, allocations: 0.6045 MB / 1.516 GB, free: 285.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/2.684, allocations: 1.861 MB / 1.518 GB, free: 283.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/2.689, allocations: 436.2 kB / 1.519 GB, free: 283.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005094/2.69, allocations: 136 kB / 1.519 GB, free: 283 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: 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 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.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.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001204/2.691, allocations: 0.5599 MB / 1.519 GB, free: 282.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/2.693, allocations: 0.5046 MB / 1.52 GB, free: 282 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/2.703, allocations: 4.229 MB / 1.524 GB, free: 277.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/2.703, allocations: 20 kB / 1.524 GB, free: 277.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/2.703, allocations: 4 kB / 1.524 GB, free: 277.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006732/2.71, allocations: 3.049 MB / 1.527 GB, free: 274.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/2.731, allocations: 8.832 MB / 1.535 GB, free: 265.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/2.731, allocations: 4.312 kB / 1.535 GB, free: 265.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/2.733, allocations: 375.5 kB / 1.536 GB, free: 265.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/2.735, allocations: 0.6122 MB / 1.536 GB, free: 264.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/2.735, allocations: 63.95 kB / 1.537 GB, free: 264.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/2.739, allocations: 3.158 MB / 1.54 GB, free: 261.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/2.739, allocations: 4 kB / 1.54 GB, free: 261.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/2.751, allocations: 5.579 MB / 1.545 GB, free: 255.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/2.754, allocations: 0.9503 MB / 1.546 GB, free: 254.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/2.755, allocations: 44 kB / 1.546 GB, free: 254.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/2.759, allocations: 402.6 kB / 1.546 GB, free: 254.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/2.76, allocations: 137.7 kB / 1.547 GB, free: 254.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/2.76, allocations: 99.92 kB / 1.547 GB, free: 254.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006176/2.766, allocations: 3.224 MB / 1.55 GB, free: 251.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.81e-07/2.766, allocations: 0 / 1.55 GB, free: 251.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008956/2.775, allocations: 2.709 MB / 1.552 GB, free: 248.6 MB / 0.9825 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 (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002934/2.778, allocations: 1.264 MB / 1.554 GB, free: 247.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01159/2.79, allocations: 5.165 MB / 1.559 GB, free: 242.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.79, allocations: 7.797 kB / 1.559 GB, free: 242.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004291/2.794, allocations: 1.671 MB / 1.56 GB, free: 240.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01383/2.808, allocations: 2.578 MB / 1.563 GB, free: 238.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/2.828, allocations: 11.38 MB / 1.574 GB, free: 226.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/2.83, allocations: 2.797 MB / 1.577 GB, free: 224 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/2.832, allocations: 383.2 kB / 1.577 GB, free: 223.6 MB / 0.9825 GB Notification: Performance of SimCode: time 8.71e-07/2.832, allocations: 0 / 1.577 GB, free: 223.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.1661/2.998, allocations: 212.9 MB / 1.785 GB, free: 11.25 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)