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.005381/0.005386, allocations: 104.2 kB / 15.74 MB, free: 6.035 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.001327/0.001327, allocations: 200.3 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05922/0.05922, allocations: 12.04 MB / 302.6 MB, free: 3.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005239/0.0005238, allocations: 31.88 kB / 355.7 MB, free: 13.99 MB / 302.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.508/1.508, allocations: 268.2 MB / 0.6611 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 111.8 kB / 0.8869 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.473, allocations: 108.4 MB / 0.9927 GB, free: 11.57 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.2116/0.6846, allocations: 242.2 MB / 1.229 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.06196/0.7466, allocations: 48.69 MB / 1.277 GB, free: 2.625 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008909/0.7555, allocations: 290.3 kB / 1.277 GB, free: 2.34 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.4447/1.2, allocations: 3.425 MB / 1.28 GB, free: 49.12 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.01947/1.22, allocations: 8.513 MB / 1.289 GB, free: 49.09 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01358/1.233, allocations: 6.465 MB / 1.295 GB, free: 49.01 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02206/1.255, allocations: 17.37 MB / 1.312 GB, free: 48.95 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00853/1.264, allocations: 6.303 MB / 1.318 GB, free: 48.05 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/1.278, allocations: 6.8 MB / 1.325 GB, free: 47.89 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007492/1.286, allocations: 4.698 MB / 1.329 GB, free: 47.05 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001905/1.288, allocations: 0.6925 MB / 1.33 GB, free: 47.05 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00976/1.297, allocations: 3.77 MB / 1.334 GB, free: 46.99 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/1.3, allocations: 1.719 MB / 1.335 GB, free: 46.74 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.006117/1.306, allocations: 3.707 MB / 1.339 GB, free: 45.77 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/1.322, allocations: 12.01 MB / 1.351 GB, free: 44.37 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.322, allocations: 0 / 1.351 GB, free: 44.37 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.423e-06/1.322, allocations: 4.594 kB / 1.351 GB, free: 44.36 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002662/1.322, allocations: 0 / 1.351 GB, free: 44.36 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01518/1.337, allocations: 7.192 MB / 1.358 GB, free: 40.88 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.337, allocations: 10.84 kB / 1.358 GB, free: 40.88 MB / 0.9513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007406/1.338, allocations: 483.9 kB / 1.358 GB, free: 40.74 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/1.344, allocations: 1.341 MB / 1.36 GB, free: 40.11 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/1.356, allocations: 6.204 MB / 1.366 GB, free: 37.74 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/1.356, allocations: 286.2 kB / 1.366 GB, free: 37.73 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000693/1.356, allocations: 377.8 kB / 1.366 GB, free: 37.73 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008114/1.365, allocations: 4.533 MB / 1.371 GB, free: 36.33 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.293e-05/1.365, allocations: 12.27 kB / 1.371 GB, free: 36.32 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/1.365, allocations: 160.8 kB / 1.371 GB, free: 36.32 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/1.365, allocations: 88.72 kB / 1.371 GB, free: 36.32 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008006/1.373, allocations: 3.735 MB / 1.375 GB, free: 35.71 MB / 0.9513 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/1.398, allocations: 23 MB / 1.397 GB, free: 14.91 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/1.403, allocations: 3.008 MB / 1.4 GB, free: 11.78 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/1.405, allocations: 1.295 MB / 1.401 GB, free: 10.48 MB / 0.9513 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.009698/1.415, allocations: 8.451 MB / 1.409 GB, free: 1.16 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002854/1.418, allocations: 1.462 MB / 1.411 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 5.54e-06/1.418, allocations: 0 / 1.411 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01822/1.436, allocations: 5.155 MB / 1.416 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.436, allocations: 186.2 kB / 1.416 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008066/1.444, allocations: 4.872 MB / 1.421 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.00052/1.445, allocations: 73.64 kB / 1.421 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002859/1.448, allocations: 2.664 MB / 1.424 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008689/1.449, allocations: 0.6223 MB / 1.424 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000971/1.45, allocations: 0.5633 MB / 1.425 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/1.45, allocations: 301.1 kB / 1.425 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.453, allocations: 1.171 MB / 1.426 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/1.456, allocations: 2.256 MB / 1.428 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.618/2.074, allocations: 89.33 MB / 1.516 GB, free: 4.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/2.074, allocations: 8 kB / 1.516 GB, free: 4.312 MB / 1.061 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.0106/2.085, allocations: 4.171 MB / 1.52 GB, free: 284 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/2.085, allocations: 85.56 kB / 1.52 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/2.085, allocations: 28 kB / 1.52 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/2.087, allocations: 0.6521 MB / 1.52 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/2.09, allocations: 0.6197 MB / 1.521 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/2.094, allocations: 3.046 MB / 1.524 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/2.098, allocations: 418.4 kB / 1.524 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004507/2.099, allocations: 144 kB / 1.524 GB, free: 11.24 MB / 1.076 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005345/2.104, allocations: 2.325 MB / 1.527 GB, free: 8.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003739/2.108, allocations: 2.204 MB / 1.529 GB, free: 6.246 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6241/2.732, allocations: 89.06 MB / 1.616 GB, free: 13.34 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.446e-05/2.732, allocations: 12 kB / 1.616 GB, free: 13.33 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01107/2.743, allocations: 4.061 MB / 1.62 GB, free: 9.406 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/2.743, allocations: 83.38 kB / 1.62 GB, free: 9.312 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/2.743, allocations: 28 kB / 1.62 GB, free: 9.285 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/2.745, allocations: 0.6268 MB / 1.621 GB, free: 8.656 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/2.748, allocations: 0.6032 MB / 1.621 GB, free: 8.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/2.751, allocations: 1.828 MB / 1.623 GB, free: 6.227 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/2.755, allocations: 347.8 kB / 1.623 GB, free: 5.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/2.756, allocations: 143.3 kB / 1.623 GB, free: 5.746 MB / 1.17 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.0011/2.757, allocations: 0.5701 MB / 1.624 GB, free: 5.195 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/2.759, allocations: 0.5132 MB / 1.624 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/2.77, allocations: 4.025 MB / 1.628 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.01e-05/2.77, allocations: 23.98 kB / 1.628 GB, free: 0.668 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.77, allocations: 0 / 1.628 GB, free: 0.668 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008609/2.779, allocations: 2.891 MB / 1.631 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/2.803, allocations: 8.82 MB / 1.64 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/2.803, allocations: 0 / 1.64 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/2.805, allocations: 373.8 kB / 1.64 GB, free: 4.531 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/2.807, allocations: 0.5851 MB / 1.641 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003501/2.808, allocations: 63.95 kB / 1.641 GB, free: 3.879 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/2.812, allocations: 3.122 MB / 1.644 GB, free: 0.668 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/2.812, allocations: 11.83 kB / 1.644 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/2.829, allocations: 5.628 MB / 1.649 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002794/2.832, allocations: 0.9666 MB / 1.65 GB, free: 9.977 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/2.833, allocations: 51.89 kB / 1.65 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/2.836, allocations: 179.2 kB / 1.651 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/2.837, allocations: 133.8 kB / 1.651 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/2.837, allocations: 95.94 kB / 1.651 GB, free: 9.527 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006609/2.843, allocations: 3.315 MB / 1.654 GB, free: 6.211 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.02e-07/2.843, allocations: 0 / 1.654 GB, free: 6.211 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.008863/2.852, allocations: 2.72 MB / 1.657 GB, free: 3.484 MB / 1.201 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.01556/2.868, allocations: 6.993 MB / 1.664 GB, free: 12.56 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0121/2.88, allocations: 5.034 MB / 1.668 GB, free: 7.664 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/2.88, allocations: 1.875 kB / 1.668 GB, free: 7.664 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004627/2.885, allocations: 1.65 MB / 1.67 GB, free: 6.027 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01298/2.898, allocations: 2.657 MB / 1.673 GB, free: 3.625 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07474/2.973, allocations: 35.59 MB / 1.707 GB, free: 15.34 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/2.975, allocations: 2.801 MB / 1.71 GB, free: 12.51 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.004781/2.98, allocations: 1.118 MB / 1.711 GB, free: 11.47 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003458/2.984, allocations: 2.365 MB / 1.714 GB, free: 9.105 MB / 1.264 GB Notification: Performance of SimCode: time 6.81e-07/2.984, allocations: 0 / 1.714 GB, free: 9.105 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5655/3.549, allocations: 150.5 MB / 1.861 GB, free: 490.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.11/25.65, allocations: 3.938 kB / 1.861 GB, free: 490.4 MB / 1.279 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)