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.004449/0.004449, allocations: 101.3 kB / 15.73 MB, free: 6.016 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.001246/0.001246, allocations: 194.2 kB / 16.68 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.1578/0.1578, allocations: 12.02 MB / 302.6 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007145/0.0007145, allocations: 35.94 kB / 355.7 MB, free: 3.621 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.842/1.842, allocations: 272.2 MB / 0.665 GB, free: 12.82 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003218/0.003219, allocations: 116 kB / 0.8923 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1916, allocations: 109.2 MB / 0.9989 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.6055/0.7971, allocations: 242.2 MB / 1.235 GB, free: 9.41 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.0713/0.8685, allocations: 48.69 MB / 1.283 GB, free: 8.609 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008534/0.877, allocations: 286.4 kB / 1.283 GB, free: 8.328 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.009409/0.8865, allocations: 3.432 MB / 1.287 GB, free: 4.875 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02217/0.9087, allocations: 8.512 MB / 1.295 GB, free: 12.33 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01472/0.9234, allocations: 6.464 MB / 1.301 GB, free: 5.926 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02371/0.9472, allocations: 17.37 MB / 1.318 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009938/0.9572, allocations: 6.298 MB / 1.324 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01466/0.9718, allocations: 6.806 MB / 1.331 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008068/0.9799, allocations: 4.705 MB / 1.336 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.9815, allocations: 0.6914 MB / 1.336 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0091/0.9906, allocations: 3.764 MB / 1.34 GB, free: 14.13 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.9925, allocations: 1.721 MB / 1.342 GB, free: 12.41 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.00467/0.9972, allocations: 3.71 MB / 1.345 GB, free: 8.68 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.01709/1.014, allocations: 12.05 MB / 1.357 GB, free: 12.6 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.014, allocations: 0 / 1.357 GB, free: 12.6 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/1.014, allocations: 4 kB / 1.357 GB, free: 12.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.551e-05/1.014, allocations: 0 / 1.357 GB, free: 12.59 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.01312/1.028, allocations: 7.419 MB / 1.364 GB, free: 5.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.028, allocations: 8.031 kB / 1.364 GB, free: 5.047 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006605/1.028, allocations: 485.4 kB / 1.365 GB, free: 4.562 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006218/1.035, allocations: 1.374 MB / 1.366 GB, free: 3.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/1.046, allocations: 6.258 MB / 1.372 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/1.047, allocations: 291.1 kB / 1.372 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/1.047, allocations: 372 kB / 1.373 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008968/1.056, allocations: 4.526 MB / 1.377 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/1.056, allocations: 7.938 kB / 1.377 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/1.057, allocations: 156 kB / 1.377 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-05/1.057, allocations: 92 kB / 1.377 GB, free: 7.227 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008875/1.066, allocations: 3.742 MB / 1.381 GB, free: 3.477 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.0304/1.096, allocations: 23.04 MB / 1.404 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00627/1.102, allocations: 3.003 MB / 1.407 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/1.105, allocations: 1.293 MB / 1.408 GB, free: 6.738 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.01275/1.118, allocations: 8.466 MB / 1.416 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00336/1.121, allocations: 1.466 MB / 1.418 GB, free: 11.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=184): time 3.356e-06/1.121, allocations: 0 / 1.418 GB, free: 11.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=184): time 0.01834/1.14, allocations: 5.171 MB / 1.423 GB, free: 6.602 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.14, allocations: 187.5 kB / 1.423 GB, free: 6.383 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/1.147, allocations: 4.861 MB / 1.427 GB, free: 1.504 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/1.147, allocations: 73.69 kB / 1.428 GB, free: 1.426 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002807/1.15, allocations: 2.707 MB / 1.43 GB, free: 14.7 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000696/1.151, allocations: 0.6585 MB / 1.431 GB, free: 14.04 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009419/1.152, allocations: 0.5597 MB / 1.431 GB, free: 13.47 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.152, allocations: 313.1 kB / 1.432 GB, free: 13.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/1.155, allocations: 1.172 MB / 1.433 GB, free: 11.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/1.159, allocations: 2.256 MB / 1.435 GB, free: 9.242 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9355/2.095, allocations: 89.33 MB / 1.522 GB, free: 341.1 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/2.095, allocations: 8 kB / 1.522 GB, free: 341.1 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008752/2.103, allocations: 4.193 MB / 1.526 GB, free: 338.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/2.103, allocations: 79.2 kB / 1.526 GB, free: 338.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/2.103, allocations: 28 kB / 1.526 GB, free: 338.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/2.106, allocations: 0.6513 MB / 1.527 GB, free: 337.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/2.108, allocations: 0.6288 MB / 1.528 GB, free: 337 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/2.111, allocations: 3.039 MB / 1.531 GB, free: 334.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/2.114, allocations: 427.9 kB / 1.531 GB, free: 334 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/2.114, allocations: 155.8 kB / 1.531 GB, free: 333.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004088/2.118, allocations: 2.315 MB / 1.534 GB, free: 331.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002726/2.121, allocations: 2.205 MB / 1.536 GB, free: 328.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5705/2.692, allocations: 89.06 MB / 1.623 GB, free: 239.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.888e-05/2.692, allocations: 8 kB / 1.623 GB, free: 239.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008091/2.7, allocations: 4.088 MB / 1.627 GB, free: 235.9 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/2.7, allocations: 83.33 kB / 1.627 GB, free: 235.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/2.7, allocations: 28 kB / 1.627 GB, free: 235.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/2.702, allocations: 0.6232 MB / 1.627 GB, free: 235.2 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/2.704, allocations: 0.5967 MB / 1.628 GB, free: 234.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/2.706, allocations: 1.839 MB / 1.63 GB, free: 232.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/2.709, allocations: 352 kB / 1.63 GB, free: 232.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/2.709, allocations: 147.8 kB / 1.63 GB, free: 232.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: 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.0006585/2.71, allocations: 0.5715 MB / 1.631 GB, free: 231.7 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005952/2.711, allocations: 0.5349 MB / 1.631 GB, free: 231.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009128/2.72, allocations: 4.024 MB / 1.635 GB, free: 227.2 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/2.72, allocations: 27.94 kB / 1.635 GB, free: 227.2 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/2.72, allocations: 0 / 1.635 GB, free: 227.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007131/2.727, allocations: 2.886 MB / 1.638 GB, free: 224.3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/2.743, allocations: 8.828 MB / 1.647 GB, free: 215.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/2.743, allocations: 7.984 kB / 1.647 GB, free: 215.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/2.745, allocations: 371.4 kB / 1.647 GB, free: 215 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/2.747, allocations: 0.5881 MB / 1.648 GB, free: 214.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/2.747, allocations: 59.95 kB / 1.648 GB, free: 214.4 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/2.751, allocations: 3.117 MB / 1.651 GB, free: 211.2 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.751, allocations: 12.09 kB / 1.651 GB, free: 211.2 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/2.763, allocations: 5.648 MB / 1.656 GB, free: 205.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/2.764, allocations: 0.9944 MB / 1.657 GB, free: 204.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005617/2.765, allocations: 48.08 kB / 1.657 GB, free: 204.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/2.767, allocations: 179.8 kB / 1.657 GB, free: 204.2 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/2.767, allocations: 137.7 kB / 1.658 GB, free: 204.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/2.768, allocations: 95.94 kB / 1.658 GB, free: 204 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003666/2.771, allocations: 3.307 MB / 1.661 GB, free: 200.7 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/2.771, allocations: 3.656 kB / 1.661 GB, free: 200.7 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005114/2.776, allocations: 2.747 MB / 1.664 GB, free: 198.2 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.01144/2.788, allocations: 7.044 MB / 1.67 GB, free: 191.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.801, allocations: 5.038 MB / 1.675 GB, free: 186.3 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.801, allocations: 0.8125 kB / 1.675 GB, free: 186.3 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007016/2.808, allocations: 1.647 MB / 1.677 GB, free: 184.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01856/2.827, allocations: 2.647 MB / 1.68 GB, free: 182.3 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09877/2.926, allocations: 35.8 MB / 1.715 GB, free: 145.6 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/2.93, allocations: 2.805 MB / 1.717 GB, free: 142.7 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.007952/2.938, allocations: 1.124 MB / 1.718 GB, free: 141.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004707/2.942, allocations: 2.358 MB / 1.721 GB, free: 139.3 MB / 1.092 GB Notification: Performance of SimCode: time 1.002e-06/2.942, allocations: 0 / 1.721 GB, free: 139.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5832/3.526, allocations: 150.5 MB / 1.868 GB, free: 355.7 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.22/25.75, allocations: 8.438 kB / 1.868 GB, free: 355.7 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)