Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,fileNamePrefix="AixLib_latest_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.001217/0.001217, 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.001209/0.001209, allocations: 196.8 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.1422/0.1422, allocations: 12.02 MB / 302.4 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004638/0.0004638, allocations: 27.94 kB / 355.5 MB, free: 3.848 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.668/1.668, allocations: 272.2 MB / 0.6648 GB, free: 12.95 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 114.8 kB / 0.785 GB, free: 31.25 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1677, allocations: 109.2 MB / 0.8916 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5091/0.6768, allocations: 217.6 MB / 1.104 GB, free: 27.3 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04698/0.7239, allocations: 45.35 MB / 1.148 GB, free: 12.5 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007681/0.7316, allocations: 268.2 kB / 1.149 GB, free: 12.41 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.007484/0.7391, allocations: 3.137 MB / 1.152 GB, free: 9.734 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.01793/0.757, allocations: 7.753 MB / 1.159 GB, free: 3.434 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01411/0.7712, allocations: 6.64 MB / 1.166 GB, free: 14.29 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.02009/0.7913, allocations: 16.63 MB / 1.182 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.8025, allocations: 5.927 MB / 1.188 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.8151, allocations: 6.455 MB / 1.194 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007105/0.8222, allocations: 4.493 MB / 1.199 GB, free: 15.01 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.824, allocations: 0.6523 MB / 1.199 GB, free: 14.36 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009529/0.8336, allocations: 3.702 MB / 1.203 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.8358, allocations: 1.624 MB / 1.204 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005787/0.8416, allocations: 3.484 MB / 1.208 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.8572, allocations: 11.19 MB / 1.219 GB, free: 10.3 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8573, allocations: 3.938 kB / 1.219 GB, free: 10.29 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8573, allocations: 0 / 1.219 GB, free: 10.29 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0002542/0.8575, allocations: 0 / 1.219 GB, free: 10.29 MB / 0.8107 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.01366/0.8712, allocations: 6.718 MB / 1.225 GB, free: 3.473 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.8712, allocations: 12.03 kB / 1.225 GB, free: 3.461 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005685/0.8718, allocations: 455.9 kB / 1.226 GB, free: 3.004 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.8772, allocations: 1.21 MB / 1.227 GB, free: 1.785 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009347/0.8866, allocations: 5.49 MB / 1.232 GB, free: 12.22 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/0.8877, allocations: 439 kB / 1.233 GB, free: 11.79 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005706/0.8882, allocations: 348 kB / 1.233 GB, free: 11.45 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/0.8971, allocations: 4.186 MB / 1.237 GB, free: 7.117 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.95e-05/0.8972, allocations: 15.83 kB / 1.237 GB, free: 7.102 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.8976, allocations: 143.9 kB / 1.237 GB, free: 6.961 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.8977, allocations: 80 kB / 1.237 GB, free: 6.883 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008258/0.9059, allocations: 3.565 MB / 1.241 GB, free: 3.309 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.02634/0.9323, allocations: 20.19 MB / 1.261 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.9376, allocations: 2.436 MB / 1.263 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/0.9407, allocations: 1.466 MB / 1.264 GB, free: 10.17 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 evalFunc (simulation): time 0.01048/0.9512, allocations: 8.306 MB / 1.272 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003199/0.9544, allocations: 1.485 MB / 1.274 GB, free: 15.48 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=207): time 5.3e-06/0.9545, allocations: 3.984 kB / 1.274 GB, free: 15.47 MB / 0.8732 GB Notification: Performance of matching and sorting (n=207): time 0.0148/0.9693, allocations: 5.101 MB / 1.279 GB, free: 10.29 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.9694, allocations: 128.8 kB / 1.279 GB, free: 10.14 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007011/0.9764, allocations: 4.394 MB / 1.283 GB, free: 5.766 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.9767, allocations: 69.7 kB / 1.283 GB, free: 5.691 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.9788, allocations: 2.405 MB / 1.286 GB, free: 3.266 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007615/0.9796, allocations: 0.7085 MB / 1.286 GB, free: 2.547 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009147/0.9805, allocations: 0.5481 MB / 1.287 GB, free: 1.992 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.9806, allocations: 301.1 kB / 1.287 GB, free: 1.695 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/0.9834, allocations: 1.243 MB / 1.288 GB, free: 456 kB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003631/0.9871, allocations: 2.162 MB / 1.291 GB, free: 13.89 MB / 0.8888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04674/1.034, allocations: 10.44 MB / 1.301 GB, free: 3.086 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/1.034, allocations: 4 kB / 1.301 GB, free: 3.082 MB / 0.8888 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0103/1.044, allocations: 4.216 MB / 1.305 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/1.044, allocations: 87.41 kB / 1.305 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/1.044, allocations: 24 kB / 1.305 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.046, allocations: 381.4 kB / 1.305 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.048, allocations: 0.6982 MB / 1.306 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.052, allocations: 4.337 MB / 1.31 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/1.056, allocations: 406.2 kB / 1.311 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/1.056, allocations: 143.9 kB / 1.311 GB, free: 8.508 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.004831/1.061, allocations: 2.339 MB / 1.313 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003527/1.064, allocations: 2.115 MB / 1.315 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04473/1.109, allocations: 10.22 MB / 1.325 GB, free: 9.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.079e-05/1.109, allocations: 12 kB / 1.325 GB, free: 9.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009741/1.119, allocations: 4.118 MB / 1.329 GB, free: 4.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/1.119, allocations: 79.39 kB / 1.329 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/1.119, allocations: 20 kB / 1.329 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.12, allocations: 377.6 kB / 1.33 GB, free: 4.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/1.123, allocations: 0.6552 MB / 1.33 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/1.125, allocations: 2.541 MB / 1.333 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/1.129, allocations: 339.7 kB / 1.333 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/1.129, allocations: 151.9 kB / 1.333 GB, free: 0.5625 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.0009856/1.13, allocations: 0.587 MB / 1.334 GB, free: 15.95 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/1.131, allocations: 493.9 kB / 1.334 GB, free: 15.46 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009719/1.141, allocations: 4.277 MB / 1.338 GB, free: 11.18 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/1.141, allocations: 27.98 kB / 1.338 GB, free: 11.15 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.141, allocations: 4 kB / 1.338 GB, free: 11.14 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006857/1.148, allocations: 3.348 MB / 1.342 GB, free: 7.66 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/1.168, allocations: 8.956 MB / 1.35 GB, free: 14.56 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.168, allocations: 4.062 kB / 1.35 GB, free: 14.56 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/1.17, allocations: 463.4 kB / 1.351 GB, free: 14.11 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.172, allocations: 356 kB / 1.351 GB, free: 13.75 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.172, allocations: 75.95 kB / 1.351 GB, free: 13.68 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/1.176, allocations: 4.355 MB / 1.356 GB, free: 9.09 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.176, allocations: 4 kB / 1.356 GB, free: 9.086 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.189, allocations: 5.719 MB / 1.361 GB, free: 3.246 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/1.191, allocations: 0.9706 MB / 1.362 GB, free: 2.25 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009923/1.192, allocations: 55.88 kB / 1.362 GB, free: 2.195 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/1.195, allocations: 183.7 kB / 1.362 GB, free: 2.016 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.195, allocations: 141.8 kB / 1.362 GB, free: 1.879 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.196, allocations: 99.92 kB / 1.363 GB, free: 1.781 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.005123/1.201, allocations: 2.985 MB / 1.365 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/1.201, allocations: 4 kB / 1.365 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006843/1.207, allocations: 2.666 MB / 1.368 GB, free: 12.14 MB / 0.9669 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.01526/1.223, allocations: 7.554 MB / 1.375 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01639/1.239, allocations: 5.906 MB / 1.381 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.239, allocations: 4 kB / 1.381 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004245/1.243, allocations: 1.895 MB / 1.383 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01114/1.255, allocations: 2.636 MB / 1.386 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3683/1.623, allocations: 44.2 MB / 1.429 GB, free: 343.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/1.625, allocations: 2.708 MB / 1.431 GB, free: 342.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005141/1.631, allocations: 1.175 MB / 1.433 GB, free: 342.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/1.633, allocations: 2.245 MB / 1.435 GB, free: 340.6 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/1.633, allocations: 1.25 kB / 1.435 GB, free: 340.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1802/1.813, allocations: 150 MB / 1.581 GB, free: 211.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/16.02, allocations: 12.11 kB / 1.581 GB, free: 211.1 MB / 0.9825 GB (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & python3 -m fmpy simulate --output-file AixLib_latest_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_latest_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)