Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",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.001537/0.001537, allocations: 108 kB / 15.61 MB, free: 152 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.001772/0.001772, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.1459/0.1459, allocations: 12.03 MB / 302.4 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0008384/0.0008384, allocations: 23.94 kB / 355.5 MB, free: 3.867 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.719/1.719, allocations: 268.1 MB / 0.6608 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 115.9 kB / 0.7802 GB, free: 32.76 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 108.4 MB / 0.886 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5039/0.662, allocations: 217.6 MB / 1.099 GB, free: 27.2 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04506/0.7071, allocations: 45.35 MB / 1.143 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006768/0.7139, allocations: 266.4 kB / 1.143 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005586/0.7195, allocations: 3.139 MB / 1.146 GB, free: 220 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.7363, allocations: 7.741 MB / 1.154 GB, free: 9.934 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.7496, allocations: 6.646 MB / 1.16 GB, free: 4.797 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.01795/0.7676, allocations: 16.64 MB / 1.176 GB, free: 7.434 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007754/0.7753, allocations: 5.912 MB / 1.182 GB, free: 1.434 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.7867, allocations: 6.472 MB / 1.189 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005878/0.7926, allocations: 4.497 MB / 1.193 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008944/0.7935, allocations: 0.6523 MB / 1.194 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007578/0.8011, allocations: 3.698 MB / 1.197 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.8025, allocations: 1.628 MB / 1.199 GB, free: 472 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.8058, allocations: 3.473 MB / 1.202 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.8177, allocations: 11.19 MB / 1.213 GB, free: 1.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8178, allocations: 0 / 1.213 GB, free: 1.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8178, allocations: 0 / 1.213 GB, free: 1.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.134e-05/0.8178, allocations: 4 kB / 1.213 GB, free: 1.742 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01015/0.828, allocations: 6.717 MB / 1.22 GB, free: 10.92 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.828, allocations: 8.031 kB / 1.22 GB, free: 10.91 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005613/0.8286, allocations: 467.8 kB / 1.22 GB, free: 10.45 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/0.834, allocations: 1.206 MB / 1.221 GB, free: 9.23 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008613/0.8426, allocations: 5.483 MB / 1.227 GB, free: 3.676 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.8437, allocations: 443 kB / 1.227 GB, free: 3.242 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004811/0.8442, allocations: 352 kB / 1.227 GB, free: 2.898 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007537/0.8518, allocations: 4.194 MB / 1.232 GB, free: 14.55 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.238e-05/0.8518, allocations: 7.938 kB / 1.232 GB, free: 14.54 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.8522, allocations: 143.9 kB / 1.232 GB, free: 14.4 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.713e-05/0.8522, allocations: 87.94 kB / 1.232 GB, free: 14.32 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007955/0.8602, allocations: 3.569 MB / 1.235 GB, free: 10.74 MB / 0.8263 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.02373/0.8839, allocations: 20.19 MB / 1.255 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/0.8893, allocations: 2.439 MB / 1.257 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.8925, allocations: 1.455 MB / 1.259 GB, free: 1.617 MB / 0.8419 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.009622/0.9022, allocations: 8.294 MB / 1.267 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003302/0.9055, allocations: 1.488 MB / 1.268 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=207): time 3.667e-06/0.9055, allocations: 0 / 1.268 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=207): time 0.01496/0.9205, allocations: 5.097 MB / 1.273 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.9205, allocations: 132.8 kB / 1.273 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.9263, allocations: 4.394 MB / 1.278 GB, free: 13.23 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.9264, allocations: 73.69 kB / 1.278 GB, free: 13.15 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.9285, allocations: 2.402 MB / 1.28 GB, free: 10.73 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/0.9292, allocations: 0.7047 MB / 1.281 GB, free: 10.01 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000846/0.93, allocations: 0.5481 MB / 1.281 GB, free: 9.457 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.9301, allocations: 301.1 kB / 1.282 GB, free: 9.16 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/0.9331, allocations: 1.247 MB / 1.283 GB, free: 7.906 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003652/0.9367, allocations: 2.15 MB / 1.285 GB, free: 5.363 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04933/0.9861, allocations: 10.45 MB / 1.295 GB, free: 10.55 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.9861, allocations: 15.94 kB / 1.295 GB, free: 10.54 MB / 0.8888 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009165/0.9953, allocations: 4.22 MB / 1.299 GB, free: 6.266 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.9953, allocations: 79.39 kB / 1.299 GB, free: 6.176 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.9954, allocations: 23.94 kB / 1.299 GB, free: 6.152 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.9967, allocations: 392.3 kB / 1.3 GB, free: 5.766 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.9997, allocations: 0.6904 MB / 1.3 GB, free: 5.074 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/1.003, allocations: 4.331 MB / 1.305 GB, free: 0.5039 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/1.006, allocations: 410.2 kB / 1.305 GB, free: 104 kB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/1.007, allocations: 140 kB / 1.305 GB, free: 15.96 MB / 0.9044 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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.004621/1.011, allocations: 2.343 MB / 1.307 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003608/1.015, allocations: 2.115 MB / 1.31 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04745/1.062, allocations: 10.22 MB / 1.32 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.208e-05/1.062, allocations: 4 kB / 1.32 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.008881/1.071, allocations: 4.106 MB / 1.324 GB, free: 12.35 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/1.071, allocations: 83.38 kB / 1.324 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.071, allocations: 24 kB / 1.324 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/1.073, allocations: 373.8 kB / 1.324 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/1.075, allocations: 0.6552 MB / 1.325 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/1.078, allocations: 2.534 MB / 1.327 GB, free: 8.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/1.081, allocations: 361.2 kB / 1.327 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/1.081, allocations: 136 kB / 1.328 GB, free: 8.023 MB / 0.92 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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: 101 * 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 (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000778/1.082, allocations: 0.6069 MB / 1.328 GB, free: 7.391 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007842/1.083, allocations: 485.9 kB / 1.329 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009467/1.092, allocations: 4.276 MB / 1.333 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/1.092, allocations: 31.98 kB / 1.333 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.092, allocations: 3.938 kB / 1.333 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007102/1.099, allocations: 3.344 MB / 1.336 GB, free: 15.11 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/1.118, allocations: 8.963 MB / 1.345 GB, free: 6.004 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.118, allocations: 4 kB / 1.345 GB, free: 6 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/1.12, allocations: 471.5 kB / 1.345 GB, free: 5.539 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/1.122, allocations: 345.4 kB / 1.346 GB, free: 5.195 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.122, allocations: 71.95 kB / 1.346 GB, free: 5.125 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/1.126, allocations: 4.356 MB / 1.35 GB, free: 0.5391 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.126, allocations: 0 / 1.35 GB, free: 0.5391 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.139, allocations: 5.726 MB / 1.356 GB, free: 10.69 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.141, allocations: 0.9668 MB / 1.357 GB, free: 9.699 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006153/1.141, allocations: 59.78 kB / 1.357 GB, free: 9.641 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.144, allocations: 183.9 kB / 1.357 GB, free: 9.461 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.144, allocations: 141.8 kB / 1.357 GB, free: 9.324 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/1.145, allocations: 111.8 kB / 1.357 GB, free: 9.215 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.004397/1.149, allocations: 2.981 MB / 1.36 GB, free: 6.254 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.3e-07/1.149, allocations: 4 kB / 1.36 GB, free: 6.25 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.005894/1.155, allocations: 2.666 MB / 1.363 GB, free: 3.578 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01609/1.171, allocations: 7.53 MB / 1.37 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.188, allocations: 5.906 MB / 1.376 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.188, allocations: 12.06 kB / 1.376 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00441/1.192, allocations: 1.883 MB / 1.377 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009705/1.202, allocations: 2.651 MB / 1.38 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3538/1.556, allocations: 44.21 MB / 1.423 GB, free: 358.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/1.558, allocations: 2.704 MB / 1.426 GB, free: 358 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004964/1.563, allocations: 1.174 MB / 1.427 GB, free: 357.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.566, allocations: 2.247 MB / 1.429 GB, free: 356.2 MB / 0.9825 GB Notification: Performance of SimCode: time 6.42e-07/1.566, allocations: 0 / 1.429 GB, free: 356.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1675/1.733, allocations: 150 MB / 1.576 GB, free: 226.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/16, allocations: 4.391 kB / 1.576 GB, free: 226.7 MB / 0.9825 GB (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling_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_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)