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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.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.005012/0.005012, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001225/0.001225, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05508/0.05508, allocations: 12.03 MB / 302.5 MB, free: 3.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004575/0.0004575, allocations: 27.94 kB / 355.6 MB, free: 13.91 MB / 302.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.789/1.789, allocations: 272.3 MB / 0.665 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 116.3 kB / 0.8928 GB, free: 15.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4886, allocations: 109.1 MB / 0.9994 GB, free: 8.395 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.2024/0.6911, allocations: 242.2 MB / 1.236 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5459/1.237, allocations: 48.69 MB / 1.284 GB, free: 47.72 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009187/1.246, allocations: 286.9 kB / 1.284 GB, free: 47.72 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.009074/1.255, allocations: 3.436 MB / 1.287 GB, free: 47.72 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.02154/1.277, allocations: 8.511 MB / 1.295 GB, free: 47.62 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.0138/1.291, allocations: 6.454 MB / 1.302 GB, free: 47.47 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02473/1.315, allocations: 17.36 MB / 1.319 GB, free: 47.41 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01121/1.327, allocations: 6.313 MB / 1.325 GB, free: 46.5 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/1.342, allocations: 6.965 MB / 1.332 GB, free: 46.27 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008194/1.35, allocations: 4.694 MB / 1.336 GB, free: 45.43 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002323/1.353, allocations: 0.6953 MB / 1.337 GB, free: 45.43 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/1.363, allocations: 3.765 MB / 1.341 GB, free: 45.37 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.002995/1.366, allocations: 1.715 MB / 1.342 GB, free: 45.12 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.008585/1.375, allocations: 3.724 MB / 1.346 GB, free: 44.14 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01979/1.395, allocations: 12 MB / 1.358 GB, free: 41.61 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.395, allocations: 0 / 1.358 GB, free: 41.61 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.503e-06/1.395, allocations: 0 / 1.358 GB, free: 41.61 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0003526/1.395, allocations: 0 / 1.358 GB, free: 41.61 MB / 0.9513 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.01831/1.413, allocations: 7.192 MB / 1.365 GB, free: 37.71 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.414, allocations: 8.812 kB / 1.365 GB, free: 37.71 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006564/1.42, allocations: 1.334 MB / 1.366 GB, free: 37.09 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/1.433, allocations: 6.22 MB / 1.372 GB, free: 34.71 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/1.433, allocations: 284 kB / 1.372 GB, free: 34.7 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/1.434, allocations: 377.7 kB / 1.373 GB, free: 34.7 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/1.445, allocations: 4.531 MB / 1.377 GB, free: 33.3 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.416e-05/1.445, allocations: 13.86 kB / 1.377 GB, free: 33.29 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003709/1.446, allocations: 153.5 kB / 1.377 GB, free: 33.29 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/1.446, allocations: 94.47 kB / 1.377 GB, free: 33.29 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007325/1.453, allocations: 3.736 MB / 1.381 GB, free: 31.04 MB / 0.9513 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.02573/1.479, allocations: 23 MB / 1.403 GB, free: 7.578 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/1.483, allocations: 3.004 MB / 1.406 GB, free: 4.449 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/1.486, allocations: 1.297 MB / 1.408 GB, free: 3.156 MB / 0.9513 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.0123/1.498, allocations: 8.466 MB / 1.416 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003028/1.501, allocations: 1.451 MB / 1.417 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 3.677e-06/1.501, allocations: 4 kB / 1.417 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01681/1.518, allocations: 5.149 MB / 1.422 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.518, allocations: 190.4 kB / 1.423 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009798/1.528, allocations: 4.867 MB / 1.427 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005845/1.528, allocations: 69.7 kB / 1.427 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002674/1.531, allocations: 2.66 MB / 1.43 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.532, allocations: 0.6263 MB / 1.431 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009184/1.533, allocations: 0.5668 MB / 1.431 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/1.533, allocations: 305.1 kB / 1.431 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/1.536, allocations: 1.18 MB / 1.433 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/1.539, allocations: 2.246 MB / 1.435 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5109/2.05, allocations: 89.33 MB / 1.522 GB, free: 12.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-05/2.05, allocations: 8 kB / 1.522 GB, free: 12.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01057/2.061, allocations: 4.17 MB / 1.526 GB, free: 8.934 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/2.061, allocations: 79.39 kB / 1.526 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/2.061, allocations: 28 kB / 1.526 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/2.063, allocations: 0.6459 MB / 1.527 GB, free: 8.168 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/2.066, allocations: 0.6297 MB / 1.527 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/2.069, allocations: 3.043 MB / 1.53 GB, free: 4.457 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/2.073, allocations: 418.3 kB / 1.531 GB, free: 4.047 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/2.074, allocations: 144 kB / 1.531 GB, free: 3.906 MB / 1.076 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005171/2.079, allocations: 2.321 MB / 1.533 GB, free: 1.582 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003561/2.082, allocations: 2.2 MB / 1.535 GB, free: 14.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5155/2.598, allocations: 89.07 MB / 1.622 GB, free: 5.93 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.829e-05/2.598, allocations: 8 kB / 1.622 GB, free: 5.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01081/2.609, allocations: 4.059 MB / 1.626 GB, free: 1.992 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/2.609, allocations: 82.02 kB / 1.626 GB, free: 1.902 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/2.609, allocations: 31.94 kB / 1.626 GB, free: 1.871 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/2.611, allocations: 0.6185 MB / 1.627 GB, free: 1.246 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/2.613, allocations: 0.601 MB / 1.628 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/2.616, allocations: 1.839 MB / 1.629 GB, free: 14.81 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/2.621, allocations: 335.9 kB / 1.63 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006327/2.621, allocations: 148 kB / 1.63 GB, free: 14.33 MB / 1.186 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (300): * Single equations (assignments): 292 * 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.00129/2.623, allocations: 0.572 MB / 1.63 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/2.625, allocations: 0.5093 MB / 1.631 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/2.636, allocations: 4.03 MB / 1.635 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/2.636, allocations: 23.98 kB / 1.635 GB, free: 9.262 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/2.636, allocations: 4 kB / 1.635 GB, free: 9.258 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007449/2.643, allocations: 2.887 MB / 1.638 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/2.666, allocations: 8.815 MB / 1.646 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/2.666, allocations: 12.16 kB / 1.646 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/2.667, allocations: 367.7 kB / 1.647 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/2.669, allocations: 0.5891 MB / 1.647 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002818/2.67, allocations: 63.95 kB / 1.647 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/2.674, allocations: 3.12 MB / 1.65 GB, free: 9.262 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/2.674, allocations: 6.969 kB / 1.65 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/2.688, allocations: 5.626 MB / 1.656 GB, free: 3.57 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/2.69, allocations: 0.9744 MB / 1.657 GB, free: 2.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/2.692, allocations: 47.91 kB / 1.657 GB, free: 2.523 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003216/2.695, allocations: 171.8 kB / 1.657 GB, free: 2.355 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/2.695, allocations: 136.8 kB / 1.657 GB, free: 2.223 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/2.695, allocations: 99.92 kB / 1.657 GB, free: 2.125 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006494/2.702, allocations: 3.303 MB / 1.66 GB, free: 14.82 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.8e-07/2.702, allocations: 4 kB / 1.66 GB, free: 14.82 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008784/2.711, allocations: 2.724 MB / 1.663 GB, free: 12.09 MB / 1.217 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 (170): * Single equations (assignments): 150 * 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.002955/2.714, allocations: 1.324 MB / 1.664 GB, free: 10.89 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01136/2.725, allocations: 5.033 MB / 1.669 GB, free: 5.996 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/2.725, allocations: 0 / 1.669 GB, free: 5.996 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004246/2.729, allocations: 1.641 MB / 1.671 GB, free: 4.371 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01229/2.742, allocations: 2.647 MB / 1.674 GB, free: 1.969 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/2.759, allocations: 9.147 MB / 1.682 GB, free: 8.816 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/2.762, allocations: 2.801 MB / 1.685 GB, free: 5.984 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.004403/2.766, allocations: 1.116 MB / 1.686 GB, free: 4.941 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/2.767, allocations: 371.3 kB / 1.687 GB, free: 4.578 MB / 1.233 GB Notification: Performance of SimCode: time 4.4e-07/2.767, allocations: 3.094 kB / 1.687 GB, free: 4.578 MB / 1.233 GB Notification: Performance of Templates: time 0.5305/3.298, allocations: 111.6 MB / 1.796 GB, free: 0.5348 GB / 1.279 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)