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.004475/0.004475, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001139/0.00114, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05346/0.05346, allocations: 12.04 MB / 302.6 MB, free: 3.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004363/0.0004364, allocations: 23.97 kB / 355.6 MB, free: 13.95 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.75/1.75, allocations: 272.3 MB / 0.665 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 111.8 kB / 0.8928 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5107, allocations: 109.1 MB / 0.9994 GB, free: 8.238 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.2042/0.7149, allocations: 242.2 MB / 1.236 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5362/1.251, allocations: 48.69 MB / 1.284 GB, free: 47.7 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009329/1.261, allocations: 287.1 kB / 1.284 GB, free: 47.7 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.008651/1.269, allocations: 3.437 MB / 1.287 GB, free: 47.7 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.0216/1.291, allocations: 8.51 MB / 1.295 GB, free: 47.59 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01406/1.305, allocations: 6.465 MB / 1.302 GB, free: 47.43 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02282/1.328, allocations: 17.37 MB / 1.319 GB, free: 47.37 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008494/1.336, allocations: 6.299 MB / 1.325 GB, free: 46.48 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01404/1.35, allocations: 6.975 MB / 1.332 GB, free: 46.23 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009622/1.36, allocations: 4.697 MB / 1.336 GB, free: 45.4 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002331/1.362, allocations: 0.6931 MB / 1.337 GB, free: 45.4 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/1.373, allocations: 3.764 MB / 1.341 GB, free: 45.33 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.002523/1.376, allocations: 1.716 MB / 1.342 GB, free: 45.09 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.005703/1.381, allocations: 3.719 MB / 1.346 GB, free: 44.11 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/1.396, allocations: 12 MB / 1.358 GB, free: 41.56 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.396, allocations: 0 / 1.358 GB, free: 41.56 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.383e-06/1.396, allocations: 0 / 1.358 GB, free: 41.56 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002173/1.397, allocations: 0 / 1.358 GB, free: 41.56 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.01316/1.41, allocations: 7.202 MB / 1.365 GB, free: 37.65 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.41, allocations: 8.156 kB / 1.365 GB, free: 37.65 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/1.416, allocations: 1.337 MB / 1.366 GB, free: 37.02 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.427, allocations: 6.213 MB / 1.372 GB, free: 34.65 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/1.428, allocations: 286.1 kB / 1.372 GB, free: 34.64 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009178/1.429, allocations: 371.6 kB / 1.373 GB, free: 34.64 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/1.44, allocations: 4.533 MB / 1.377 GB, free: 33.24 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.273e-05/1.44, allocations: 11.31 kB / 1.377 GB, free: 33.24 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/1.441, allocations: 152.3 kB / 1.377 GB, free: 33.24 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/1.441, allocations: 91.53 kB / 1.377 GB, free: 33.24 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007442/1.448, allocations: 3.738 MB / 1.381 GB, free: 30.96 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.02366/1.472, allocations: 22.99 MB / 1.403 GB, free: 7.445 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/1.476, allocations: 3.018 MB / 1.406 GB, free: 4.305 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/1.479, allocations: 1.297 MB / 1.408 GB, free: 3.012 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.01229/1.491, allocations: 8.458 MB / 1.416 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003391/1.494, allocations: 1.461 MB / 1.417 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 7.855e-06/1.495, allocations: 4 kB / 1.417 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01753/1.512, allocations: 5.149 MB / 1.422 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/1.512, allocations: 183.5 kB / 1.423 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.523, allocations: 4.864 MB / 1.427 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005365/1.523, allocations: 73.7 kB / 1.427 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003321/1.527, allocations: 2.662 MB / 1.43 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.528, allocations: 0.6233 MB / 1.431 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/1.53, allocations: 0.5695 MB / 1.431 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.53, allocations: 305.1 kB / 1.431 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/1.533, allocations: 1.18 MB / 1.433 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/1.537, allocations: 2.25 MB / 1.435 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5842/2.121, allocations: 89.33 MB / 1.522 GB, free: 12.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/2.121, allocations: 8 kB / 1.522 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009558/2.131, allocations: 4.169 MB / 1.526 GB, free: 8.793 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/2.131, allocations: 79.39 kB / 1.526 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/2.131, allocations: 28 kB / 1.526 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/2.133, allocations: 0.6559 MB / 1.527 GB, free: 8.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/2.136, allocations: 0.6269 MB / 1.527 GB, free: 7.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/2.139, allocations: 3.036 MB / 1.53 GB, free: 4.312 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/2.143, allocations: 422.3 kB / 1.531 GB, free: 3.898 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/2.143, allocations: 144 kB / 1.531 GB, free: 3.758 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.004693/2.148, allocations: 2.316 MB / 1.533 GB, free: 1.441 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00317/2.151, allocations: 2.193 MB / 1.535 GB, free: 14.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6846/2.835, allocations: 89.07 MB / 1.622 GB, free: 5.789 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.492e-05/2.836, allocations: 8 kB / 1.622 GB, free: 5.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.009515/2.845, allocations: 4.062 MB / 1.626 GB, free: 1.852 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/2.845, allocations: 79.39 kB / 1.626 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/2.845, allocations: 28.09 kB / 1.626 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/2.847, allocations: 0.6299 MB / 1.627 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/2.849, allocations: 0.6013 MB / 1.628 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/2.852, allocations: 1.833 MB / 1.629 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/2.856, allocations: 343.9 kB / 1.63 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/2.856, allocations: 140 kB / 1.63 GB, free: 14.19 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.0008733/2.857, allocations: 0.5662 MB / 1.63 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.858, allocations: 0.5093 MB / 1.631 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009821/2.868, allocations: 4.035 MB / 1.635 GB, free: 9.141 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/2.868, allocations: 20 kB / 1.635 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/2.868, allocations: 0 / 1.635 GB, free: 9.121 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007224/2.875, allocations: 2.888 MB / 1.638 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/2.896, allocations: 8.823 MB / 1.646 GB, free: 13.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/2.896, allocations: 4.109 kB / 1.646 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/2.898, allocations: 377.2 kB / 1.647 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/2.9, allocations: 0.5853 MB / 1.647 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/2.9, allocations: 67.95 kB / 1.647 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/2.904, allocations: 3.125 MB / 1.65 GB, free: 9.109 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.904, allocations: 4 kB / 1.65 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/2.919, allocations: 5.62 MB / 1.656 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002842/2.922, allocations: 0.9705 MB / 1.657 GB, free: 2.426 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/2.923, allocations: 43.91 kB / 1.657 GB, free: 2.383 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/2.927, allocations: 175.8 kB / 1.657 GB, free: 2.211 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/2.927, allocations: 141.1 kB / 1.657 GB, free: 2.074 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/2.927, allocations: 98.27 kB / 1.657 GB, free: 1.98 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006004/2.933, allocations: 3.309 MB / 1.66 GB, free: 14.67 MB / 1.217 GB Notification: Performance of sort global known variables: time 3.21e-07/2.933, allocations: 0 / 1.66 GB, free: 14.67 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008081/2.941, allocations: 2.72 MB / 1.663 GB, free: 11.95 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.002582/2.944, allocations: 1.322 MB / 1.664 GB, free: 10.75 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01144/2.955, allocations: 5.033 MB / 1.669 GB, free: 5.855 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/2.955, allocations: 5.938 kB / 1.669 GB, free: 5.852 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004376/2.96, allocations: 1.639 MB / 1.671 GB, free: 4.227 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01332/2.973, allocations: 2.652 MB / 1.674 GB, free: 1.824 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/2.99, allocations: 9.144 MB / 1.682 GB, free: 8.672 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/2.992, allocations: 2.805 MB / 1.685 GB, free: 5.836 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.00478/2.997, allocations: 1.12 MB / 1.686 GB, free: 4.789 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009493/2.998, allocations: 370.4 kB / 1.687 GB, free: 4.43 MB / 1.233 GB Notification: Performance of SimCode: time 1.452e-06/2.998, allocations: 0 / 1.687 GB, free: 4.43 MB / 1.233 GB Notification: Performance of Templates: time 0.5439/3.542, allocations: 111.6 MB / 1.796 GB, free: 0.5344 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)