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: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001584/0.001585, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.264/1.264, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.0564/0.0564, allocations: 12.03 MB / 303.2 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000501/0.0005009, allocations: 31.89 kB / 356.3 MB, free: 13.94 MB / 302.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.79/1.79, allocations: 272.3 MB / 0.6657 GB, free: 18.37 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 111.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5029, allocations: 109.2 MB / 1 GB, free: 8.125 MB / 0.6857 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.2355/0.7384, allocations: 217.6 MB / 1.213 GB, free: 6.145 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.08675/0.8252, allocations: 45.35 MB / 1.257 GB, free: 8.691 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.8358, allocations: 262.5 kB / 1.257 GB, free: 8.434 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.8481, allocations: 3.141 MB / 1.26 GB, free: 5.273 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02981/0.878, allocations: 7.744 MB / 1.268 GB, free: 13.5 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.02338/0.9014, allocations: 6.697 MB / 1.274 GB, free: 6.84 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.6314/1.533, allocations: 16.63 MB / 1.291 GB, free: 45.12 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/1.545, allocations: 5.921 MB / 1.296 GB, free: 44.32 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0188/1.564, allocations: 6.643 MB / 1.303 GB, free: 44.29 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009341/1.574, allocations: 4.502 MB / 1.307 GB, free: 43.75 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/1.576, allocations: 0.6498 MB / 1.308 GB, free: 43.75 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/1.588, allocations: 3.713 MB / 1.312 GB, free: 43.75 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.002529/1.59, allocations: 1.624 MB / 1.313 GB, free: 43.52 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.00643/1.597, allocations: 3.487 MB / 1.317 GB, free: 42.61 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.0177/1.614, allocations: 11.3 MB / 1.328 GB, free: 41.58 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.614, allocations: 0 / 1.328 GB, free: 41.58 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.813e-06/1.614, allocations: 0 / 1.328 GB, free: 41.58 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0002514/1.615, allocations: 3.938 kB / 1.328 GB, free: 41.58 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01854/1.633, allocations: 6.71 MB / 1.334 GB, free: 38.62 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.633, allocations: 13.53 kB / 1.334 GB, free: 38.62 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009126/1.642, allocations: 1.208 MB / 1.335 GB, free: 38.26 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/1.658, allocations: 5.732 MB / 1.341 GB, free: 37.23 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/1.658, allocations: 266.8 kB / 1.341 GB, free: 37.22 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009249/1.659, allocations: 364.2 kB / 1.342 GB, free: 37.21 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/1.671, allocations: 4.176 MB / 1.346 GB, free: 36.72 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.129e-05/1.671, allocations: 6.125 kB / 1.346 GB, free: 36.72 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003709/1.671, allocations: 139.7 kB / 1.346 GB, free: 36.72 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/1.671, allocations: 82.91 kB / 1.346 GB, free: 36.72 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/1.678, allocations: 3.542 MB / 1.349 GB, free: 36.66 MB / 0.9513 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/1.7, allocations: 20 MB / 1.369 GB, free: 28.14 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/1.704, allocations: 2.413 MB / 1.371 GB, free: 27.88 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/1.707, allocations: 1.463 MB / 1.373 GB, free: 27.66 MB / 0.9513 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.008371/1.715, allocations: 8.309 MB / 1.381 GB, free: 21.76 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002735/1.718, allocations: 1.477 MB / 1.382 GB, free: 21.31 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 4.649e-06/1.718, allocations: 0 / 1.382 GB, free: 21.31 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01269/1.73, allocations: 5.02 MB / 1.387 GB, free: 19.81 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.73, allocations: 128 kB / 1.387 GB, free: 19.68 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005576/1.736, allocations: 4.393 MB / 1.391 GB, free: 17.93 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/1.736, allocations: 77.44 kB / 1.392 GB, free: 17.88 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.738, allocations: 2.4 MB / 1.394 GB, free: 16.67 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/1.738, allocations: 0.7031 MB / 1.395 GB, free: 16.07 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000776/1.739, allocations: 0.5533 MB / 1.395 GB, free: 15.72 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 2.895e-05/1.739, allocations: 309.1 kB / 1.395 GB, free: 15.41 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/1.742, allocations: 1.232 MB / 1.397 GB, free: 14.48 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/1.745, allocations: 2.133 MB / 1.399 GB, free: 11.97 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04389/1.788, allocations: 10.36 MB / 1.409 GB, free: 1.34 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/1.788, allocations: 8 kB / 1.409 GB, free: 1.332 MB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.00841/1.797, allocations: 4.18 MB / 1.413 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/1.797, allocations: 75.39 kB / 1.413 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/1.797, allocations: 27.98 kB / 1.413 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.798, allocations: 377.7 kB / 1.413 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/1.801, allocations: 0.6927 MB / 1.414 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/1.804, allocations: 4.309 MB / 1.418 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.808, allocations: 398.1 kB / 1.419 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.808, allocations: 136 kB / 1.419 GB, free: 7.059 MB / 0.9669 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.00461/1.813, allocations: 2.346 MB / 1.421 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003323/1.816, allocations: 2.095 MB / 1.423 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06735/1.883, allocations: 10.13 MB / 1.433 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.507e-05/1.883, allocations: 8 kB / 1.433 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01533/1.899, allocations: 4.08 MB / 1.437 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/1.899, allocations: 79.39 kB / 1.437 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/1.899, allocations: 24 kB / 1.437 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/1.901, allocations: 360.8 kB / 1.437 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/1.905, allocations: 0.6468 MB / 1.438 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/1.909, allocations: 2.535 MB / 1.441 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006048/1.915, allocations: 331.8 kB / 1.441 GB, free: 15.75 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000472/1.916, allocations: 143.9 kB / 1.441 GB, free: 15.61 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.001329/1.917, allocations: 0.6085 MB / 1.442 GB, free: 15.02 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/1.919, allocations: 485.9 kB / 1.442 GB, free: 14.54 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/1.932, allocations: 4.245 MB / 1.446 GB, free: 10.32 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006539/1.938, allocations: 3.312 MB / 1.449 GB, free: 6.871 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.938, allocations: 0 / 1.449 GB, free: 6.871 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/1.941, allocations: 0.9668 MB / 1.45 GB, free: 5.879 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009814/1.942, allocations: 55.92 kB / 1.45 GB, free: 5.824 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/1.944, allocations: 171.2 kB / 1.451 GB, free: 5.66 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.945, allocations: 145.8 kB / 1.451 GB, free: 5.516 MB / 0.9982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009729/1.954, allocations: 3.893 MB / 1.455 GB, free: 1.574 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01018/1.965, allocations: 5.351 MB / 1.46 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002735/1.967, allocations: 1.48 MB / 1.461 GB, free: 10.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005007/1.972, allocations: 2.981 MB / 1.464 GB, free: 7.703 MB / 1.014 GB Notification: Performance of Backend: time 3.31e-07/1.972, allocations: 3.938 kB / 1.464 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.985, allocations: 5.772 MB / 1.47 GB, free: 2.152 MB / 1.014 GB Notification: Performance of SimCode: time 0.01857/2.004, allocations: 11 MB / 1.48 GB, free: 7.371 MB / 1.029 GB Notification: Performance of Templates: time 0.1768/2.181, allocations: 119.2 MB / 1.597 GB, free: 1.848 MB / 1.139 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (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 & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)