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.001525/0.001526, 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.001661/0.001661, allocations: 194.2 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.317/1.317, 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.158/0.158, allocations: 12.03 MB / 302.4 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004911/0.0004911, allocations: 31.94 kB / 355.5 MB, free: 3.859 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.759/1.759, allocations: 268.1 MB / 0.6608 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 112.7 kB / 0.7802 GB, free: 32.75 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1629, allocations: 108.4 MB / 0.8861 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5338/0.6967, allocations: 242.2 MB / 1.123 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05628/0.753, allocations: 48.71 MB / 1.17 GB, free: 12.45 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008818/0.7619, allocations: 285 kB / 1.17 GB, free: 12.35 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.008916/0.7708, allocations: 3.431 MB / 1.174 GB, free: 9.422 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02046/0.7913, allocations: 8.514 MB / 1.182 GB, free: 1.574 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.8047, allocations: 6.423 MB / 1.188 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02014/0.8248, allocations: 17.33 MB / 1.205 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009229/0.8341, allocations: 6.3 MB / 1.211 GB, free: 3.445 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0129/0.847, allocations: 6.785 MB / 1.218 GB, free: 12.66 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006942/0.854, allocations: 4.683 MB / 1.223 GB, free: 7.961 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.8556, allocations: 0.6953 MB / 1.223 GB, free: 7.266 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008629/0.8642, allocations: 3.764 MB / 1.227 GB, free: 3.496 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.8658, allocations: 1.709 MB / 1.229 GB, free: 1.781 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.8697, allocations: 3.714 MB / 1.232 GB, free: 14.05 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.8825, allocations: 11.88 MB / 1.244 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8825, allocations: 0 / 1.244 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8825, allocations: 0 / 1.244 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0001196/0.8827, allocations: 0 / 1.244 GB, free: 2.145 MB / 0.8263 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.01162/0.8943, allocations: 7.192 MB / 1.251 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.8943, allocations: 8.031 kB / 1.251 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006032/0.895, allocations: 489.4 kB / 1.251 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.9011, allocations: 1.335 MB / 1.253 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00974/0.9109, allocations: 5.963 MB / 1.259 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001442/0.9123, allocations: 0.4994 MB / 1.259 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/0.9129, allocations: 372 kB / 1.259 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008265/0.9211, allocations: 4.553 MB / 1.264 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.9212, allocations: 11.88 kB / 1.264 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.9216, allocations: 148 kB / 1.264 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/0.9217, allocations: 92 kB / 1.264 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008539/0.9302, allocations: 3.777 MB / 1.268 GB, free: 9.312 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.02705/0.9573, allocations: 23.22 MB / 1.29 GB, free: 0.8359 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006055/0.9633, allocations: 3.039 MB / 1.293 GB, free: 13.66 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.9663, allocations: 1.313 MB / 1.295 GB, free: 12.35 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.01084/0.9772, allocations: 8.474 MB / 1.303 GB, free: 2.938 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003249/0.9804, allocations: 1.478 MB / 1.304 GB, free: 1.43 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=184): time 3.326e-06/0.9804, allocations: 0 / 1.304 GB, free: 1.43 MB / 0.8888 GB Notification: Performance of matching and sorting (n=184): time 0.0183/0.9987, allocations: 5.258 MB / 1.31 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.9988, allocations: 179.5 kB / 1.31 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/1.006, allocations: 4.864 MB / 1.314 GB, free: 7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/1.006, allocations: 69.7 kB / 1.314 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.008, allocations: 2.674 MB / 1.317 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/1.009, allocations: 0.624 MB / 1.318 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008872/1.01, allocations: 0.5672 MB / 1.318 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.01, allocations: 305.1 kB / 1.319 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/1.013, allocations: 1.195 MB / 1.32 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003759/1.017, allocations: 2.272 MB / 1.322 GB, free: 14.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9061/1.923, allocations: 89.42 MB / 1.409 GB, free: 368.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/1.923, allocations: 9.812 kB / 1.409 GB, free: 368.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009549/1.932, allocations: 4.208 MB / 1.413 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/1.933, allocations: 89.41 kB / 1.413 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/1.933, allocations: 27.12 kB / 1.413 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/1.935, allocations: 0.6722 MB / 1.414 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/1.937, allocations: 0.6302 MB / 1.415 GB, free: 368 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/1.941, allocations: 3.074 MB / 1.418 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.944, allocations: 425.3 kB / 1.418 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/1.945, allocations: 149.4 kB / 1.418 GB, free: 365.7 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.004642/1.949, allocations: 2.33 MB / 1.421 GB, free: 365.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003096/1.952, allocations: 2.23 MB / 1.423 GB, free: 364.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.58/2.532, allocations: 89.17 MB / 1.51 GB, free: 295.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.792e-05/2.532, allocations: 8 kB / 1.51 GB, free: 295.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008816/2.541, allocations: 4.102 MB / 1.514 GB, free: 291.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/2.541, allocations: 83.33 kB / 1.514 GB, free: 291.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/2.541, allocations: 32.06 kB / 1.514 GB, free: 291.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/2.543, allocations: 0.6489 MB / 1.515 GB, free: 290.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/2.545, allocations: 0.6045 MB / 1.515 GB, free: 290.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/2.548, allocations: 1.869 MB / 1.517 GB, free: 288.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/2.551, allocations: 351.6 kB / 1.517 GB, free: 288.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/2.551, allocations: 144.5 kB / 1.517 GB, free: 288 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.00077/2.552, allocations: 0.5687 MB / 1.518 GB, free: 287.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006732/2.553, allocations: 0.5093 MB / 1.519 GB, free: 287 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009394/2.562, allocations: 4.077 MB / 1.523 GB, free: 282.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/2.562, allocations: 31.92 kB / 1.523 GB, free: 282.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/2.562, allocations: 0 / 1.523 GB, free: 282.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00718/2.569, allocations: 2.924 MB / 1.525 GB, free: 279.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/2.587, allocations: 8.958 MB / 1.534 GB, free: 270.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/2.587, allocations: 4 kB / 1.534 GB, free: 270.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/2.588, allocations: 367.6 kB / 1.535 GB, free: 270.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/2.59, allocations: 0.6117 MB / 1.535 GB, free: 270 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/2.591, allocations: 67.95 kB / 1.535 GB, free: 269.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/2.594, allocations: 3.149 MB / 1.538 GB, free: 266.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.594, allocations: 8.547 kB / 1.538 GB, free: 266.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/2.607, allocations: 5.722 MB / 1.544 GB, free: 260.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/2.609, allocations: 0.9711 MB / 1.545 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/2.609, allocations: 48 kB / 1.545 GB, free: 259.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/2.612, allocations: 190.5 kB / 1.545 GB, free: 259.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/2.612, allocations: 135.6 kB / 1.545 GB, free: 259.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/2.612, allocations: 99.92 kB / 1.545 GB, free: 259.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003828/2.616, allocations: 3.307 MB / 1.548 GB, free: 256.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/2.616, allocations: 0 / 1.548 GB, free: 256.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005312/2.621, allocations: 2.721 MB / 1.551 GB, free: 253.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.01183/2.633, allocations: 7.078 MB / 1.558 GB, free: 246.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01287/2.646, allocations: 5.364 MB / 1.563 GB, free: 241.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.646, allocations: 3.938 kB / 1.563 GB, free: 241.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003905/2.65, allocations: 1.66 MB / 1.565 GB, free: 239.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009167/2.659, allocations: 2.653 MB / 1.568 GB, free: 237.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05209/2.711, allocations: 46.59 MB / 1.613 GB, free: 186.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/2.713, allocations: 2.805 MB / 1.616 GB, free: 184 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004458/2.718, allocations: 1.129 MB / 1.617 GB, free: 182.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/2.72, allocations: 2.362 MB / 1.619 GB, free: 180.6 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/2.72, allocations: 0 / 1.619 GB, free: 180.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/2.888, allocations: 153.5 MB / 1.769 GB, free: 28.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/16.93, allocations: 3.859 kB / 1.769 GB, free: 28.4 MB / 0.9825 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)