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.005904/0.005904, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0579/0.0579, allocations: 12.04 MB / 302.6 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000771/0.000771, allocations: 31.94 kB / 355.7 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.516/1.516, allocations: 268.2 MB / 0.6611 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 116.2 kB / 0.8869 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5914, allocations: 108.4 MB / 0.9927 GB, free: 1.039 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHeaPri.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1986/0.79, allocations: 217.6 MB / 1.205 GB, free: 6.664 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.6055/1.395, allocations: 45.33 MB / 1.249 GB, free: 33.3 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008999/1.405, allocations: 263 kB / 1.25 GB, free: 33.3 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.009351/1.414, allocations: 3.154 MB / 1.253 GB, free: 33.3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.02327/1.437, allocations: 8 MB / 1.261 GB, free: 33.2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01571/1.453, allocations: 6.715 MB / 1.267 GB, free: 33.04 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02531/1.478, allocations: 16.7 MB / 1.283 GB, free: 32.99 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/1.49, allocations: 5.919 MB / 1.289 GB, free: 32.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/1.506, allocations: 6.649 MB / 1.296 GB, free: 31.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009539/1.516, allocations: 4.508 MB / 1.3 GB, free: 31.05 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00262/1.519, allocations: 0.6511 MB / 1.301 GB, free: 31.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/1.53, allocations: 3.705 MB / 1.304 GB, free: 30.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002882/1.533, allocations: 1.63 MB / 1.306 GB, free: 30.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008324/1.541, allocations: 3.479 MB / 1.309 GB, free: 29.85 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0208/1.562, allocations: 11.3 MB / 1.32 GB, free: 28.13 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.562, allocations: 0 / 1.32 GB, free: 28.13 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/1.562, allocations: 4 kB / 1.32 GB, free: 28.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003145/1.563, allocations: 0 / 1.32 GB, free: 28.12 MB / 0.92 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.01852/1.581, allocations: 6.718 MB / 1.327 GB, free: 24.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/1.581, allocations: 9.719 kB / 1.327 GB, free: 24.45 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001964/1.583, allocations: 457.3 kB / 1.327 GB, free: 24.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007281/1.591, allocations: 1.212 MB / 1.329 GB, free: 23.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.603, allocations: 5.73 MB / 1.334 GB, free: 21.51 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/1.603, allocations: 266.1 kB / 1.334 GB, free: 21.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/1.605, allocations: 352.5 kB / 1.335 GB, free: 21.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.617, allocations: 4.176 MB / 1.339 GB, free: 20.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/1.617, allocations: 12.59 kB / 1.339 GB, free: 20.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000586/1.618, allocations: 142.6 kB / 1.339 GB, free: 20.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/1.618, allocations: 83.62 kB / 1.339 GB, free: 20.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009052/1.627, allocations: 3.537 MB / 1.343 GB, free: 17.46 MB / 0.92 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.02922/1.656, allocations: 20.01 MB / 1.362 GB, free: 12.77 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00546/1.662, allocations: 2.416 MB / 1.364 GB, free: 10.37 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/1.665, allocations: 1.463 MB / 1.366 GB, free: 8.914 MB / 0.9357 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.01258/1.678, allocations: 8.303 MB / 1.374 GB, free: 15.82 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003203/1.681, allocations: 1.482 MB / 1.375 GB, free: 14.32 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 4.418e-06/1.681, allocations: 0 / 1.375 GB, free: 14.32 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01544/1.696, allocations: 5.009 MB / 1.38 GB, free: 9.234 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/1.697, allocations: 135.9 kB / 1.38 GB, free: 9.078 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00832/1.705, allocations: 4.394 MB / 1.385 GB, free: 4.703 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0005978/1.706, allocations: 73.7 kB / 1.385 GB, free: 4.625 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.708, allocations: 2.398 MB / 1.387 GB, free: 2.211 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.709, allocations: 0.7025 MB / 1.388 GB, free: 1.516 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/1.711, allocations: 0.5481 MB / 1.388 GB, free: 0.9609 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.711, allocations: 309.1 kB / 1.389 GB, free: 0.6562 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002935/1.714, allocations: 1.235 MB / 1.39 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003769/1.717, allocations: 2.136 MB / 1.392 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04768/1.765, allocations: 10.36 MB / 1.402 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-05/1.765, allocations: 16 kB / 1.402 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01072/1.776, allocations: 4.172 MB / 1.406 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.601e-05/1.776, allocations: 79.38 kB / 1.406 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/1.776, allocations: 24 kB / 1.406 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.778, allocations: 379.9 kB / 1.407 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/1.781, allocations: 0.6875 MB / 1.407 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/1.785, allocations: 4.32 MB / 1.412 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.789, allocations: 394.2 kB / 1.412 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005498/1.79, allocations: 147.9 kB / 1.412 GB, free: 7.973 MB / 0.9825 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005559/1.796, allocations: 2.331 MB / 1.414 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003627/1.799, allocations: 2.098 MB / 1.416 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04528/1.845, allocations: 10.13 MB / 1.426 GB, free: 8.777 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.063e-05/1.845, allocations: 8 kB / 1.426 GB, free: 8.77 MB / 0.9982 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009996/1.855, allocations: 4.085 MB / 1.43 GB, free: 4.766 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/1.855, allocations: 79.39 kB / 1.43 GB, free: 4.676 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/1.855, allocations: 24 kB / 1.43 GB, free: 4.652 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.856, allocations: 357.5 kB / 1.431 GB, free: 4.297 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/1.859, allocations: 0.6553 MB / 1.431 GB, free: 3.68 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/1.861, allocations: 2.528 MB / 1.434 GB, free: 1.012 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.866, allocations: 335.8 kB / 1.434 GB, free: 0.6836 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/1.866, allocations: 136 kB / 1.434 GB, free: 0.5508 MB / 0.9982 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.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 = 1e5 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 = 1e5 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.001207/1.868, allocations: 0.6079 MB / 1.435 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/1.869, allocations: 486 kB / 1.435 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009532/1.879, allocations: 4.24 MB / 1.439 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/1.879, allocations: 31.98 kB / 1.44 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.879, allocations: 4 kB / 1.44 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006856/1.886, allocations: 3.318 MB / 1.443 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/1.907, allocations: 8.876 MB / 1.451 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.907, allocations: 4 kB / 1.451 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/1.91, allocations: 461.4 kB / 1.452 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.911, allocations: 333.4 kB / 1.452 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/1.911, allocations: 71.95 kB / 1.452 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/1.915, allocations: 4.344 MB / 1.457 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.915, allocations: 0 / 1.457 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.928, allocations: 5.679 MB / 1.462 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/1.931, allocations: 0.9707 MB / 1.463 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.932, allocations: 55.31 kB / 1.463 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/1.936, allocations: 167.8 kB / 1.463 GB, free: 2.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/1.936, allocations: 145.8 kB / 1.463 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/1.936, allocations: 103.9 kB / 1.463 GB, free: 2.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00684/1.943, allocations: 2.989 MB / 1.466 GB, free: 15.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.943, allocations: 3.938 kB / 1.466 GB, free: 15.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01076/1.954, allocations: 2.674 MB / 1.469 GB, free: 12.55 MB / 1.045 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.01732/1.971, allocations: 7.468 MB / 1.476 GB, free: 5.105 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.984, allocations: 5.515 MB / 1.482 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.984, allocations: 0 / 1.482 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004522/1.989, allocations: 1.884 MB / 1.484 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/2, allocations: 2.638 MB / 1.486 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07746/2.078, allocations: 34.62 MB / 1.52 GB, free: 7.969 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/2.081, allocations: 2.704 MB / 1.523 GB, free: 5.234 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005463/2.086, allocations: 1.175 MB / 1.524 GB, free: 4.16 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00399/2.09, allocations: 2.255 MB / 1.526 GB, free: 1.906 MB / 1.092 GB Notification: Performance of SimCode: time 1.693e-06/2.09, allocations: 0 / 1.526 GB, free: 1.906 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2461/2.336, allocations: 147.4 MB / 1.67 GB, free: 144 kB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.44/26.78, allocations: 4.375 kB / 1.67 GB, free: 140 kB / 1.233 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-07 AixLib_AixLib_Fluid_DistrictHeatingCooling_Demands_Examples_DHCSubstationHeatPumpDirectCooling.fmu > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)