Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007197/0.007197, allocations: 97.62 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.00173/0.00173, allocations: 202.3 kB / 16.68 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.157/0.157, allocations: 12.01 MB / 302.6 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005114/0.0005114, allocations: 23.94 kB / 355.7 MB, free: 3.719 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.739/1.739, allocations: 272.2 MB / 0.665 GB, free: 12.85 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 112.3 kB / 0.8923 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1711, allocations: 109.2 MB / 0.9989 GB, free: 14.35 MB / 0.7169 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.5708/0.7419, allocations: 242.2 MB / 1.235 GB, free: 9.418 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.06144/0.8034, allocations: 48.7 MB / 1.283 GB, free: 8.609 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008189/0.8116, allocations: 286.4 kB / 1.283 GB, free: 8.328 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.008808/0.8205, allocations: 3.448 MB / 1.287 GB, free: 4.859 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02035/0.8408, allocations: 8.798 MB / 1.295 GB, free: 12.03 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.0131/0.854, allocations: 6.476 MB / 1.302 GB, free: 5.613 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02085/0.8748, allocations: 17.41 MB / 1.319 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00947/0.8843, allocations: 6.294 MB / 1.325 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/0.8974, allocations: 6.992 MB / 1.332 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00701/0.9044, allocations: 4.693 MB / 1.336 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.906, allocations: 0.6914 MB / 1.337 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008493/0.9145, allocations: 3.768 MB / 1.34 GB, free: 13.61 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.001934/0.9165, allocations: 1.721 MB / 1.342 GB, free: 11.88 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.004051/0.9205, allocations: 3.706 MB / 1.346 GB, free: 8.156 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.9355, allocations: 12.05 MB / 1.358 GB, free: 12.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9355, allocations: 0 / 1.358 GB, free: 12.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9355, allocations: 0 / 1.358 GB, free: 12.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001324/0.9357, allocations: 4 kB / 1.358 GB, free: 12.07 MB / 1.014 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.01223/0.9479, allocations: 7.419 MB / 1.365 GB, free: 4.527 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9479, allocations: 8.031 kB / 1.365 GB, free: 4.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005727/0.9485, allocations: 481.4 kB / 1.365 GB, free: 4.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005959/0.9545, allocations: 1.377 MB / 1.367 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.9649, allocations: 6.25 MB / 1.373 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.9651, allocations: 295 kB / 1.373 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/0.9657, allocations: 372 kB / 1.373 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008058/0.9737, allocations: 4.534 MB / 1.378 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.457e-05/0.9738, allocations: 7.938 kB / 1.378 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.9742, allocations: 155.9 kB / 1.378 GB, free: 6.785 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/0.9742, allocations: 92 kB / 1.378 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008302/0.9825, allocations: 3.73 MB / 1.382 GB, free: 2.957 MB / 1.029 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.02656/1.009, allocations: 23.04 MB / 1.404 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/1.015, allocations: 3.007 MB / 1.407 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/1.018, allocations: 1.297 MB / 1.408 GB, free: 6.207 MB / 1.061 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.01061/1.028, allocations: 8.466 MB / 1.417 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003121/1.031, allocations: 1.466 MB / 1.418 GB, free: 11.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=184): time 3.316e-06/1.031, allocations: 3.938 kB / 1.418 GB, free: 11.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=184): time 0.01717/1.049, allocations: 5.179 MB / 1.423 GB, free: 6.059 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/1.049, allocations: 175.5 kB / 1.423 GB, free: 5.852 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006557/1.055, allocations: 4.872 MB / 1.428 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/1.055, allocations: 69.7 kB / 1.428 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.058, allocations: 2.707 MB / 1.431 GB, free: 14.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/1.058, allocations: 0.6546 MB / 1.431 GB, free: 13.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008475/1.059, allocations: 0.5675 MB / 1.432 GB, free: 12.93 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.332e-05/1.059, allocations: 309.1 kB / 1.432 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/1.062, allocations: 1.172 MB / 1.433 GB, free: 11.45 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/1.065, allocations: 2.252 MB / 1.436 GB, free: 8.707 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9479/2.013, allocations: 89.32 MB / 1.523 GB, free: 340.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/2.013, allocations: 8 kB / 1.523 GB, free: 340.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008424/2.022, allocations: 4.192 MB / 1.527 GB, free: 337.8 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/2.022, allocations: 79.27 kB / 1.527 GB, free: 337.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/2.022, allocations: 28 kB / 1.527 GB, free: 337.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/2.024, allocations: 0.6514 MB / 1.528 GB, free: 337.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/2.026, allocations: 0.6303 MB / 1.528 GB, free: 336.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/2.029, allocations: 3.044 MB / 1.531 GB, free: 333.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/2.033, allocations: 419.9 kB / 1.532 GB, free: 333.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/2.033, allocations: 147.9 kB / 1.532 GB, free: 333.3 MB / 1.092 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.004097/2.037, allocations: 2.317 MB / 1.534 GB, free: 331 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002729/2.04, allocations: 2.204 MB / 1.536 GB, free: 328.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5827/2.622, allocations: 89.06 MB / 1.623 GB, free: 239.3 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.092e-05/2.622, allocations: 11.75 kB / 1.623 GB, free: 239.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008236/2.631, allocations: 4.09 MB / 1.627 GB, free: 235.4 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/2.631, allocations: 83.33 kB / 1.627 GB, free: 235.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/2.631, allocations: 32.06 kB / 1.627 GB, free: 235.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/2.633, allocations: 0.6167 MB / 1.628 GB, free: 234.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/2.635, allocations: 0.6006 MB / 1.628 GB, free: 234.1 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/2.637, allocations: 1.835 MB / 1.63 GB, free: 232.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/2.64, allocations: 352.6 kB / 1.631 GB, free: 232 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/2.641, allocations: 151 kB / 1.631 GB, free: 231.8 MB / 1.092 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.0006975/2.641, allocations: 0.5677 MB / 1.631 GB, free: 231.2 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000638/2.642, allocations: 0.5349 MB / 1.632 GB, free: 230.7 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009084/2.651, allocations: 4.029 MB / 1.636 GB, free: 226.7 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/2.651, allocations: 27.92 kB / 1.636 GB, free: 226.7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/2.651, allocations: 4 kB / 1.636 GB, free: 226.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006965/2.658, allocations: 2.874 MB / 1.639 GB, free: 223.8 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/2.675, allocations: 8.827 MB / 1.647 GB, free: 214.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/2.675, allocations: 7.75 kB / 1.647 GB, free: 214.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/2.677, allocations: 367.8 kB / 1.648 GB, free: 214.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/2.679, allocations: 0.5951 MB / 1.648 GB, free: 214 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/2.679, allocations: 63.97 kB / 1.648 GB, free: 213.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/2.682, allocations: 3.114 MB / 1.651 GB, free: 210.7 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/2.683, allocations: 7.938 kB / 1.651 GB, free: 210.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/2.695, allocations: 5.651 MB / 1.657 GB, free: 205 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/2.697, allocations: 1 MB / 1.658 GB, free: 204 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/2.697, allocations: 43.95 kB / 1.658 GB, free: 203.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/2.7, allocations: 177.8 kB / 1.658 GB, free: 203.8 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/2.7, allocations: 133.7 kB / 1.658 GB, free: 203.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/2.7, allocations: 99.92 kB / 1.658 GB, free: 203.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003849/2.704, allocations: 3.307 MB / 1.661 GB, free: 200.2 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/2.704, allocations: 4 kB / 1.661 GB, free: 200.2 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00528/2.709, allocations: 2.749 MB / 1.664 GB, free: 197.7 MB / 1.092 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.01133/2.721, allocations: 7.038 MB / 1.671 GB, free: 190.8 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009721/2.73, allocations: 5.042 MB / 1.676 GB, free: 185.8 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/2.73, allocations: 0 / 1.676 GB, free: 185.8 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/2.734, allocations: 1.656 MB / 1.678 GB, free: 184.1 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009461/2.744, allocations: 2.648 MB / 1.68 GB, free: 181.7 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04996/2.794, allocations: 35.79 MB / 1.715 GB, free: 145 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/2.796, allocations: 2.801 MB / 1.718 GB, free: 142.2 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004002/2.8, allocations: 1.131 MB / 1.719 GB, free: 141.1 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/2.802, allocations: 2.362 MB / 1.721 GB, free: 138.8 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/2.802, allocations: 0 / 1.721 GB, free: 138.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5244/3.326, allocations: 150.5 MB / 1.868 GB, free: 356.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/25.28, allocations: 10.97 kB / 1.868 GB, free: 356.3 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)