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.001225/0.001226, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 196.7 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.1466/0.1466, allocations: 12.02 MB / 302.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005032/0.0005032, allocations: 43.8 kB / 355.5 MB, free: 3.844 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.636/1.636, allocations: 272.2 MB / 0.6648 GB, free: 12.95 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 115.9 kB / 0.785 GB, free: 31.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 109.2 MB / 0.8916 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.4973/0.6506, allocations: 242.2 MB / 1.128 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05213/0.7028, allocations: 48.7 MB / 1.176 GB, free: 5.988 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00684/0.7097, allocations: 289.7 kB / 1.176 GB, free: 5.883 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.007623/0.7173, allocations: 3.438 MB / 1.179 GB, free: 2.648 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.01811/0.7355, allocations: 8.507 MB / 1.188 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.7476, allocations: 6.416 MB / 1.194 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01751/0.7651, allocations: 17.35 MB / 1.211 GB, free: 2.363 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.7728, allocations: 6.303 MB / 1.217 GB, free: 11.96 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/0.784, allocations: 6.766 MB / 1.224 GB, free: 5.199 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00631/0.7903, allocations: 4.687 MB / 1.228 GB, free: 0.4922 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.7918, allocations: 0.6954 MB / 1.229 GB, free: 15.79 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007914/0.7997, allocations: 3.756 MB / 1.233 GB, free: 12.04 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.8013, allocations: 1.713 MB / 1.234 GB, free: 10.32 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.003437/0.8047, allocations: 3.722 MB / 1.238 GB, free: 6.578 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.816, allocations: 11.88 MB / 1.249 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.816, allocations: 4 kB / 1.249 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.816, allocations: 0 / 1.249 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.001e-05/0.8161, allocations: 3.984 kB / 1.249 GB, free: 10.66 MB / 0.8419 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.01013/0.8263, allocations: 7.2 MB / 1.256 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8263, allocations: 12.03 kB / 1.256 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005343/0.8268, allocations: 481.4 kB / 1.257 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005593/0.8324, allocations: 1.339 MB / 1.258 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008602/0.841, allocations: 5.955 MB / 1.264 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/0.8424, allocations: 0.4955 MB / 1.265 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004499/0.8428, allocations: 383.9 kB / 1.265 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007304/0.8501, allocations: 4.557 MB / 1.269 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.8502, allocations: 7.938 kB / 1.269 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/0.8505, allocations: 156 kB / 1.27 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.8506, allocations: 88 kB / 1.27 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007814/0.8584, allocations: 3.773 MB / 1.273 GB, free: 1.828 MB / 0.8575 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.0236/0.882, allocations: 23.2 MB / 1.296 GB, free: 9.371 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.8875, allocations: 3.052 MB / 1.299 GB, free: 6.18 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.8901, allocations: 1.317 MB / 1.3 GB, free: 4.863 MB / 0.8888 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.009406/0.8995, allocations: 8.463 MB / 1.308 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002951/0.9025, allocations: 1.49 MB / 1.31 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=184): time 3.015e-06/0.9025, allocations: 0 / 1.31 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=184): time 0.01645/0.919, allocations: 5.25 MB / 1.315 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.9191, allocations: 183.5 kB / 1.315 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.925, allocations: 4.868 MB / 1.32 GB, free: 15.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.9252, allocations: 73.69 kB / 1.32 GB, free: 15.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.9272, allocations: 2.671 MB / 1.323 GB, free: 12.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005172/0.9277, allocations: 0.6278 MB / 1.323 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007924/0.9285, allocations: 0.5594 MB / 1.324 GB, free: 11.55 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.9286, allocations: 305.1 kB / 1.324 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/0.9313, allocations: 1.199 MB / 1.325 GB, free: 10.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003355/0.9347, allocations: 2.268 MB / 1.327 GB, free: 7.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8504/1.785, allocations: 89.42 MB / 1.415 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-05/1.785, allocations: 8.781 kB / 1.415 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.00959/1.795, allocations: 4.208 MB / 1.419 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/1.795, allocations: 84.8 kB / 1.419 GB, free: 365.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-05/1.795, allocations: 32.28 kB / 1.419 GB, free: 365.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/1.797, allocations: 0.673 MB / 1.42 GB, free: 365.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.799, allocations: 0.6299 MB / 1.42 GB, free: 365.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/1.803, allocations: 3.072 MB / 1.423 GB, free: 362.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/1.806, allocations: 436.3 kB / 1.424 GB, free: 362.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/1.807, allocations: 145.5 kB / 1.424 GB, free: 362.9 MB / 0.9825 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004297/1.811, allocations: 2.331 MB / 1.426 GB, free: 362.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002883/1.814, allocations: 2.221 MB / 1.428 GB, free: 361 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5317/2.345, allocations: 89.17 MB / 1.515 GB, free: 285.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.995e-05/2.346, allocations: 12 kB / 1.515 GB, free: 285.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008863/2.354, allocations: 4.094 MB / 1.519 GB, free: 281.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/2.354, allocations: 87.33 kB / 1.519 GB, free: 281.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/2.354, allocations: 28 kB / 1.52 GB, free: 281.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/2.356, allocations: 0.6491 MB / 1.52 GB, free: 280.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/2.358, allocations: 0.6045 MB / 1.521 GB, free: 280.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/2.361, allocations: 1.866 MB / 1.523 GB, free: 278.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/2.364, allocations: 357.3 kB / 1.523 GB, free: 278.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/2.365, allocations: 136 kB / 1.523 GB, free: 278 MB / 0.9825 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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.0008024/2.365, allocations: 0.5742 MB / 1.524 GB, free: 277.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/2.366, allocations: 0.5113 MB / 1.524 GB, free: 276.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009191/2.376, allocations: 4.068 MB / 1.528 GB, free: 272.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/2.376, allocations: 31.92 kB / 1.528 GB, free: 272.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/2.376, allocations: 0 / 1.528 GB, free: 272.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006836/2.383, allocations: 2.931 MB / 1.531 GB, free: 269.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/2.401, allocations: 8.953 MB / 1.54 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/2.401, allocations: 4.312 kB / 1.54 GB, free: 260.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/2.402, allocations: 367.5 kB / 1.54 GB, free: 260.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/2.404, allocations: 0.6177 MB / 1.541 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/2.405, allocations: 63.95 kB / 1.541 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/2.408, allocations: 3.151 MB / 1.544 GB, free: 256.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.408, allocations: 8.094 kB / 1.544 GB, free: 256.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/2.421, allocations: 5.723 MB / 1.549 GB, free: 250.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/2.423, allocations: 0.9695 MB / 1.55 GB, free: 249.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009903/2.424, allocations: 51.91 kB / 1.55 GB, free: 249.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/2.427, allocations: 186.5 kB / 1.551 GB, free: 249.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/2.427, allocations: 137.7 kB / 1.551 GB, free: 249.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/2.427, allocations: 95.92 kB / 1.551 GB, free: 249.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004878/2.432, allocations: 3.311 MB / 1.554 GB, free: 246.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/2.432, allocations: 0 / 1.554 GB, free: 246.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006427/2.439, allocations: 2.721 MB / 1.557 GB, free: 243.5 MB / 0.9825 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.01144/2.45, allocations: 7.083 MB / 1.564 GB, free: 236.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01251/2.463, allocations: 5.351 MB / 1.569 GB, free: 231.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/2.463, allocations: 0 / 1.569 GB, free: 231.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003763/2.467, allocations: 1.658 MB / 1.57 GB, free: 229.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/2.478, allocations: 2.66 MB / 1.573 GB, free: 227.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05372/2.531, allocations: 46.6 MB / 1.619 GB, free: 176.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/2.533, allocations: 2.805 MB / 1.621 GB, free: 173.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004338/2.537, allocations: 1.124 MB / 1.622 GB, free: 172.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/2.54, allocations: 2.362 MB / 1.625 GB, free: 170.4 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/2.54, allocations: 0 / 1.625 GB, free: 170.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1638/2.703, allocations: 153.5 MB / 1.775 GB, free: 18.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/16.52, allocations: 4.5 kB / 1.775 GB, free: 18.3 MB / 0.9825 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)