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-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.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-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_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,fileNamePrefix="AixLib_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.004925/0.004925, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001174/0.001174, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.1483/0.1483, allocations: 12.02 MB / 302.6 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005524/0.0005524, allocations: 31.89 kB / 355.7 MB, free: 3.645 MB / 286.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.738/1.738, allocations: 268.1 MB / 0.661 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 115.8 kB / 0.8868 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 108.4 MB / 0.9926 GB, free: 4.324 MB / 0.7013 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.5764/0.7473, allocations: 242.2 MB / 1.229 GB, free: 2.312 MB / 0.8732 GB Notification: Performance of NFInst.instExpressions: time 0.06062/0.808, allocations: 48.7 MB / 1.277 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008567/0.8166, allocations: 286.4 kB / 1.277 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007531/0.8241, allocations: 3.448 MB / 1.28 GB, free: 13.75 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.01997/0.8441, allocations: 8.795 MB / 1.289 GB, free: 4.93 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.01265/0.8568, allocations: 6.481 MB / 1.295 GB, free: 14.5 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.01919/0.876, allocations: 17.41 MB / 1.312 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00756/0.8835, allocations: 6.305 MB / 1.318 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.896, allocations: 6.972 MB / 1.325 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007007/0.903, allocations: 4.695 MB / 1.33 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.9045, allocations: 0.6914 MB / 1.33 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008706/0.9133, allocations: 3.772 MB / 1.334 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.9155, allocations: 1.717 MB / 1.336 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005276/0.9208, allocations: 3.718 MB / 1.339 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01515/0.9359, allocations: 12.04 MB / 1.351 GB, free: 4.953 MB / 0.9982 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9359, allocations: 0 / 1.351 GB, free: 4.953 MB / 0.9982 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9359, allocations: 0 / 1.351 GB, free: 4.953 MB / 0.9982 GB Notification: Performance of Transformations before backend: time 0.0001319/0.9361, allocations: 0 / 1.351 GB, free: 4.953 MB / 0.9982 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.01174/0.9478, allocations: 7.415 MB / 1.358 GB, free: 13.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.9479, allocations: 12.03 kB / 1.358 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000578/0.9485, allocations: 485.3 kB / 1.359 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/0.9546, allocations: 1.377 MB / 1.36 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.9649, allocations: 6.254 MB / 1.366 GB, free: 5.219 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.9651, allocations: 287.1 kB / 1.367 GB, free: 4.938 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.9657, allocations: 376 kB / 1.367 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008135/0.9738, allocations: 4.534 MB / 1.371 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/0.9739, allocations: 7.938 kB / 1.371 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.9743, allocations: 152 kB / 1.372 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.9743, allocations: 91.94 kB / 1.372 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008264/0.9826, allocations: 3.734 MB / 1.375 GB, free: 11.84 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.0266/1.009, allocations: 23.05 MB / 1.398 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/1.015, allocations: 3.007 MB / 1.401 GB, free: 396 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002746/1.018, allocations: 1.293 MB / 1.402 GB, free: 15.1 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.01076/1.028, allocations: 8.475 MB / 1.41 GB, free: 5.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003083/1.031, allocations: 1.462 MB / 1.412 GB, free: 4.191 MB / 1.061 GB Notification: Performance of pre-optimization done (n=184): time 3.286e-06/1.031, allocations: 3.938 kB / 1.412 GB, free: 4.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=184): time 0.01709/1.049, allocations: 5.179 MB / 1.417 GB, free: 14.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/1.049, allocations: 179.5 kB / 1.417 GB, free: 14.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006358/1.055, allocations: 4.868 MB / 1.422 GB, free: 9.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/1.055, allocations: 69.7 kB / 1.422 GB, free: 9.766 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.058, allocations: 2.707 MB / 1.424 GB, free: 7.047 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/1.058, allocations: 0.6546 MB / 1.425 GB, free: 6.387 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008419/1.059, allocations: 0.5637 MB / 1.426 GB, free: 5.816 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/1.059, allocations: 309.1 kB / 1.426 GB, free: 5.512 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.062, allocations: 1.172 MB / 1.427 GB, free: 4.332 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/1.065, allocations: 2.248 MB / 1.429 GB, free: 1.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.932/1.997, allocations: 89.33 MB / 1.516 GB, free: 354.4 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/1.997, allocations: 8 kB / 1.516 GB, free: 354.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008733/2.006, allocations: 4.181 MB / 1.521 GB, free: 351.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/2.006, allocations: 87.31 kB / 1.521 GB, free: 351.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/2.006, allocations: 30.11 kB / 1.521 GB, free: 351.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/2.008, allocations: 0.6539 MB / 1.521 GB, free: 351.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/2.011, allocations: 0.627 MB / 1.522 GB, free: 350.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/2.013, allocations: 3.043 MB / 1.525 GB, free: 347.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/2.017, allocations: 431.3 kB / 1.525 GB, free: 347.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/2.017, allocations: 148.2 kB / 1.525 GB, free: 347.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.004096/2.021, allocations: 2.319 MB / 1.528 GB, free: 345.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002701/2.024, allocations: 2.201 MB / 1.53 GB, free: 343.7 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5592/2.583, allocations: 89.06 MB / 1.617 GB, free: 254.6 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-05/2.583, allocations: 8 kB / 1.617 GB, free: 254.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008356/2.592, allocations: 4.079 MB / 1.621 GB, free: 250.8 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/2.592, allocations: 91.94 kB / 1.621 GB, free: 250.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/2.592, allocations: 28 kB / 1.621 GB, free: 250.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/2.594, allocations: 0.6252 MB / 1.622 GB, free: 250 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/2.596, allocations: 0.6044 MB / 1.622 GB, free: 249.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/2.598, allocations: 1.837 MB / 1.624 GB, free: 247.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/2.601, allocations: 349.9 kB / 1.624 GB, free: 247.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/2.602, allocations: 144 kB / 1.624 GB, free: 247.2 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.0006659/2.602, allocations: 0.5721 MB / 1.625 GB, free: 246.6 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/2.603, allocations: 0.5339 MB / 1.625 GB, free: 246.1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/2.612, allocations: 4.025 MB / 1.629 GB, free: 242.1 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/2.612, allocations: 29.11 kB / 1.629 GB, free: 242.1 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/2.612, allocations: 4 kB / 1.629 GB, free: 242.1 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00682/2.619, allocations: 2.887 MB / 1.632 GB, free: 239.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/2.635, allocations: 8.825 MB / 1.641 GB, free: 230.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/2.635, allocations: 4 kB / 1.641 GB, free: 230.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/2.637, allocations: 375.7 kB / 1.641 GB, free: 229.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/2.639, allocations: 0.5928 MB / 1.642 GB, free: 229.3 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/2.639, allocations: 59.95 kB / 1.642 GB, free: 229.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/2.642, allocations: 3.118 MB / 1.645 GB, free: 226 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/2.642, allocations: 7.938 kB / 1.645 GB, free: 226 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/2.655, allocations: 5.647 MB / 1.65 GB, free: 220.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/2.656, allocations: 0.992 MB / 1.651 GB, free: 219.3 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/2.657, allocations: 54.77 kB / 1.651 GB, free: 219.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/2.659, allocations: 175.8 kB / 1.652 GB, free: 219.1 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/2.66, allocations: 137.6 kB / 1.652 GB, free: 219 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/2.66, allocations: 99.94 kB / 1.652 GB, free: 218.9 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003834/2.664, allocations: 3.307 MB / 1.655 GB, free: 215.6 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.71e-07/2.664, allocations: 0 / 1.655 GB, free: 215.6 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005178/2.669, allocations: 2.747 MB / 1.658 GB, free: 213 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.01118/2.68, allocations: 7.039 MB / 1.665 GB, free: 206.1 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00945/2.689, allocations: 5.048 MB / 1.67 GB, free: 201 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/2.689, allocations: 0.5 kB / 1.67 GB, free: 201 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003725/2.693, allocations: 1.642 MB / 1.671 GB, free: 199.3 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009262/2.702, allocations: 2.647 MB / 1.674 GB, free: 197 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04958/2.752, allocations: 35.79 MB / 1.709 GB, free: 160.2 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/2.754, allocations: 2.805 MB / 1.711 GB, free: 157.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004088/2.758, allocations: 1.125 MB / 1.713 GB, free: 156.3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/2.761, allocations: 2.362 MB / 1.715 GB, free: 153.9 MB / 1.092 GB Notification: Performance of SimCode: time 6.61e-07/2.761, allocations: 3.938 kB / 1.715 GB, free: 153.9 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5216/3.282, allocations: 150.5 MB / 1.862 GB, free: 357.5 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.82/25.1, allocations: 6.703 kB / 1.862 GB, free: 357.5 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file AixLib_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_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpChiller.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)