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/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.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.005873/0.005873, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001406/0.001407, allocations: 195.6 kB / 16.68 MB, free: 5.93 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05412/0.05412, allocations: 12.03 MB / 302.6 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004305/0.0004305, allocations: 27.88 kB / 355.6 MB, free: 13.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.418/1.418, allocations: 268.3 MB / 0.6611 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 115.8 kB / 0.8873 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5036, allocations: 108.4 MB / 0.9931 GB, free: 11.8 MB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.2112/0.7148, allocations: 242.2 MB / 1.23 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.06812/0.783, allocations: 48.7 MB / 1.277 GB, free: 2.582 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/0.7946, allocations: 286.4 kB / 1.277 GB, free: 2.301 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.5203/1.315, allocations: 3.428 MB / 1.281 GB, free: 49.18 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.02143/1.336, allocations: 8.51 MB / 1.289 GB, free: 49.15 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01438/1.351, allocations: 6.462 MB / 1.295 GB, free: 49.07 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02725/1.378, allocations: 17.36 MB / 1.312 GB, free: 49.01 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/1.389, allocations: 6.305 MB / 1.319 GB, free: 48.12 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/1.405, allocations: 6.977 MB / 1.325 GB, free: 47.96 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/1.415, allocations: 4.693 MB / 1.33 GB, free: 47.12 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.003126/1.419, allocations: 0.6982 MB / 1.331 GB, free: 47.12 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/1.43, allocations: 3.768 MB / 1.334 GB, free: 47.05 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.003383/1.434, allocations: 1.717 MB / 1.336 GB, free: 46.81 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.009202/1.443, allocations: 3.709 MB / 1.34 GB, free: 45.84 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.02218/1.465, allocations: 12 MB / 1.351 GB, free: 44.44 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.465, allocations: 0 / 1.351 GB, free: 44.44 MB / 0.9513 GB Notification: Performance of FrontEnd: time 2.044e-06/1.465, allocations: 0 / 1.351 GB, free: 44.44 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0004272/1.466, allocations: 0 / 1.351 GB, free: 44.44 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.02126/1.487, allocations: 7.197 MB / 1.358 GB, free: 40.91 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.487, allocations: 8.781 kB / 1.358 GB, free: 40.91 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006659/1.494, allocations: 1.336 MB / 1.36 GB, free: 40.29 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/1.506, allocations: 6.214 MB / 1.366 GB, free: 37.92 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/1.506, allocations: 288.2 kB / 1.366 GB, free: 37.91 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/1.507, allocations: 376.9 kB / 1.366 GB, free: 37.91 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008505/1.516, allocations: 4.526 MB / 1.371 GB, free: 36.52 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.352e-05/1.516, allocations: 13.16 kB / 1.371 GB, free: 36.51 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/1.516, allocations: 155.3 kB / 1.371 GB, free: 36.51 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/1.516, allocations: 93.25 kB / 1.371 GB, free: 36.5 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007877/1.524, allocations: 3.737 MB / 1.375 GB, free: 35.95 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.02842/1.553, allocations: 23 MB / 1.397 GB, free: 15.23 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/1.558, allocations: 3.007 MB / 1.4 GB, free: 12.09 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/1.56, allocations: 1.297 MB / 1.401 GB, free: 10.8 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.01077/1.571, allocations: 8.457 MB / 1.41 GB, free: 1.473 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002717/1.574, allocations: 1.459 MB / 1.411 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 3.868e-06/1.574, allocations: 0 / 1.411 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01763/1.591, allocations: 5.157 MB / 1.416 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.591, allocations: 182.9 kB / 1.416 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009683/1.601, allocations: 4.868 MB / 1.421 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006829/1.602, allocations: 65.7 kB / 1.421 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/1.605, allocations: 2.667 MB / 1.424 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.606, allocations: 0.6268 MB / 1.424 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/1.607, allocations: 0.5594 MB / 1.425 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/1.607, allocations: 305.1 kB / 1.425 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/1.61, allocations: 1.176 MB / 1.426 GB, free: 260 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003596/1.613, allocations: 2.246 MB / 1.428 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5589/2.172, allocations: 89.34 MB / 1.516 GB, free: 4.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/2.172, allocations: 8 kB / 1.516 GB, free: 4.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009647/2.182, allocations: 4.164 MB / 1.52 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/2.182, allocations: 83.39 kB / 1.52 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.913e-05/2.182, allocations: 24 kB / 1.52 GB, free: 492 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/2.184, allocations: 0.6599 MB / 1.521 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/2.187, allocations: 0.6351 MB / 1.521 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/2.19, allocations: 3.039 MB / 1.524 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/2.195, allocations: 414.4 kB / 1.525 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006229/2.195, allocations: 151.9 kB / 1.525 GB, free: 11.55 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.005636/2.201, allocations: 2.307 MB / 1.527 GB, free: 9.246 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003338/2.204, allocations: 2.213 MB / 1.529 GB, free: 6.566 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5681/2.772, allocations: 89.06 MB / 1.616 GB, free: 13.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-05/2.772, allocations: 11.98 kB / 1.616 GB, free: 13.65 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.009308/2.782, allocations: 4.064 MB / 1.62 GB, free: 9.719 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/2.782, allocations: 79.39 kB / 1.62 GB, free: 9.629 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/2.782, allocations: 24 kB / 1.62 GB, free: 9.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/2.784, allocations: 0.6263 MB / 1.621 GB, free: 8.973 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/2.786, allocations: 0.5947 MB / 1.621 GB, free: 8.414 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/2.789, allocations: 1.84 MB / 1.623 GB, free: 6.539 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/2.793, allocations: 339.8 kB / 1.623 GB, free: 6.203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/2.793, allocations: 140 kB / 1.624 GB, free: 6.066 MB / 1.17 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.001165/2.795, allocations: 0.5829 MB / 1.624 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/2.796, allocations: 0.5054 MB / 1.625 GB, free: 4.992 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/2.806, allocations: 4.024 MB / 1.629 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/2.806, allocations: 27.98 kB / 1.629 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/2.806, allocations: 0 / 1.629 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007414/2.813, allocations: 2.884 MB / 1.631 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/2.835, allocations: 8.831 MB / 1.64 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/2.835, allocations: 4 kB / 1.64 GB, free: 5.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/2.836, allocations: 363.8 kB / 1.64 GB, free: 4.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/2.838, allocations: 0.5999 MB / 1.641 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/2.839, allocations: 63.91 kB / 1.641 GB, free: 4.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/2.843, allocations: 3.118 MB / 1.644 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/2.843, allocations: 7.094 kB / 1.644 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/2.857, allocations: 5.618 MB / 1.65 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/2.86, allocations: 0.9705 MB / 1.651 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/2.861, allocations: 40 kB / 1.651 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/2.864, allocations: 187.7 kB / 1.651 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/2.864, allocations: 129 kB / 1.651 GB, free: 9.941 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/2.865, allocations: 95.92 kB / 1.651 GB, free: 9.848 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0055/2.87, allocations: 3.311 MB / 1.654 GB, free: 6.535 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.01e-07/2.87, allocations: 0 / 1.654 GB, free: 6.535 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.007239/2.877, allocations: 2.724 MB / 1.657 GB, free: 3.805 MB / 1.201 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.002383/2.88, allocations: 1.311 MB / 1.658 GB, free: 2.621 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01059/2.89, allocations: 5.041 MB / 1.663 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.89, allocations: 4.438 kB / 1.663 GB, free: 13.72 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/2.895, allocations: 1.641 MB / 1.665 GB, free: 12.09 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/2.906, allocations: 2.649 MB / 1.667 GB, free: 9.703 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/2.923, allocations: 9.142 MB / 1.676 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/2.925, allocations: 2.807 MB / 1.679 GB, free: 13.71 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.004723/2.93, allocations: 1.125 MB / 1.68 GB, free: 12.66 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/2.931, allocations: 366.4 kB / 1.68 GB, free: 12.3 MB / 1.233 GB Notification: Performance of SimCode: time 7.21e-07/2.931, allocations: 0 / 1.68 GB, free: 12.3 MB / 1.233 GB Notification: Performance of Templates: time 0.5342/3.465, allocations: 109.8 MB / 1.788 GB, free: 0.5433 GB / 1.279 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)