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: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_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.001323/0.001323, allocations: 108.3 kB / 16.37 MB, free: 5.547 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.001432/0.001432, allocations: 191.1 kB / 17.3 MB, free: 5.184 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.18 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.05881/0.05881, allocations: 12.04 MB / 303.2 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005745/0.0005744, allocations: 27.94 kB / 356.3 MB, free: 13.98 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.563/1.563, allocations: 268.2 MB / 0.6617 GB, free: 2.641 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 113.4 kB / 0.7817 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2061, allocations: 108.4 MB / 0.8875 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5703/0.7764, allocations: 217.6 MB / 1.1 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.06955/0.846, allocations: 45.34 MB / 1.144 GB, free: 7.641 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01244/0.8585, allocations: 270.5 kB / 1.145 GB, free: 7.375 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.8694, allocations: 3.141 MB / 1.148 GB, free: 4.215 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.02399/0.8934, allocations: 7.747 MB / 1.155 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01602/0.9095, allocations: 6.68 MB / 1.162 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02499/0.9345, allocations: 16.66 MB / 1.178 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.9453, allocations: 5.916 MB / 1.184 GB, free: 15.11 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01664/0.962, allocations: 6.483 MB / 1.19 GB, free: 8.617 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009731/0.9718, allocations: 4.501 MB / 1.194 GB, free: 4.098 MB / 0.8732 GB Notification: Performance of NFPackage.collectConstants: time 0.002723/0.9745, allocations: 0.6523 MB / 1.195 GB, free: 3.445 MB / 0.8732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.9846, allocations: 3.713 MB / 1.199 GB, free: 15.73 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.9871, allocations: 1.628 MB / 1.2 GB, free: 14.09 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.005585/0.9927, allocations: 3.473 MB / 1.204 GB, free: 10.61 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.02399/1.017, allocations: 11.3 MB / 1.215 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/1.017, allocations: 4 kB / 1.215 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.214e-06/1.017, allocations: 3.938 kB / 1.215 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002892/1.017, allocations: 4 kB / 1.215 GB, free: 15.27 MB / 0.9044 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.01659/1.034, allocations: 6.713 MB / 1.221 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.034, allocations: 8.031 kB / 1.221 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/1.04, allocations: 1.206 MB / 1.223 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/1.052, allocations: 5.731 MB / 1.228 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.052, allocations: 270.7 kB / 1.228 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007932/1.053, allocations: 348 kB / 1.229 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4104/1.463, allocations: 4.169 MB / 1.233 GB, free: 297 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/1.463, allocations: 8.391 kB / 1.233 GB, free: 297 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004506/1.464, allocations: 141.4 kB / 1.233 GB, free: 296.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.772e-05/1.464, allocations: 85.22 kB / 1.233 GB, free: 296.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.474, allocations: 3.54 MB / 1.236 GB, free: 295.7 MB / 0.9044 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.03632/1.51, allocations: 20 MB / 1.256 GB, free: 282.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/1.517, allocations: 2.413 MB / 1.258 GB, free: 281.6 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/1.52, allocations: 1.444 MB / 1.26 GB, free: 281.1 MB / 0.9044 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.01453/1.535, allocations: 8.306 MB / 1.268 GB, free: 274.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00376/1.539, allocations: 1.472 MB / 1.269 GB, free: 273.9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=207): time 7.133e-06/1.539, allocations: 0 / 1.269 GB, free: 273.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=207): time 0.01619/1.555, allocations: 5.017 MB / 1.274 GB, free: 272.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/1.555, allocations: 131.4 kB / 1.274 GB, free: 271.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.567, allocations: 4.397 MB / 1.279 GB, free: 269.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0007345/1.568, allocations: 73.17 kB / 1.279 GB, free: 269.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.571, allocations: 2.4 MB / 1.281 GB, free: 267.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/1.572, allocations: 0.7026 MB / 1.282 GB, free: 266.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002784/1.575, allocations: 0.545 MB / 1.282 GB, free: 266.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 6.35e-05/1.575, allocations: 305.1 kB / 1.283 GB, free: 266.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/1.579, allocations: 1.232 MB / 1.284 GB, free: 265.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004053/1.583, allocations: 2.143 MB / 1.286 GB, free: 264 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04687/1.63, allocations: 10.38 MB / 1.296 GB, free: 258.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.784e-05/1.63, allocations: 11.81 kB / 1.296 GB, free: 258.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01109/1.641, allocations: 4.168 MB / 1.3 GB, free: 256.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/1.641, allocations: 84.08 kB / 1.3 GB, free: 256.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/1.641, allocations: 23.78 kB / 1.3 GB, free: 256.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/1.642, allocations: 374.5 kB / 1.301 GB, free: 256.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.645, allocations: 0.6889 MB / 1.301 GB, free: 255.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/1.648, allocations: 4.32 MB / 1.305 GB, free: 251.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.652, allocations: 392.7 kB / 1.306 GB, free: 251.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/1.652, allocations: 138.6 kB / 1.306 GB, free: 251.5 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 = 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.004672/1.657, allocations: 2.336 MB / 1.308 GB, free: 250.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00303/1.66, allocations: 2.092 MB / 1.31 GB, free: 248.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04116/1.701, allocations: 10.14 MB / 1.32 GB, free: 240 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.935e-05/1.701, allocations: 12 kB / 1.32 GB, free: 240 MB / 0.9044 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01066/1.712, allocations: 4.071 MB / 1.324 GB, free: 235.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/1.712, allocations: 83.38 kB / 1.324 GB, free: 235.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-05/1.712, allocations: 27.94 kB / 1.324 GB, free: 235.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.713, allocations: 363.1 kB / 1.325 GB, free: 235.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/1.716, allocations: 0.6513 MB / 1.325 GB, free: 234.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/1.718, allocations: 2.522 MB / 1.328 GB, free: 232 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.722, allocations: 339.7 kB / 1.328 GB, free: 231.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/1.722, allocations: 147.2 kB / 1.328 GB, free: 231.6 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 = 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.001446/1.724, allocations: 0.5976 MB / 1.329 GB, free: 230.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/1.726, allocations: 482 kB / 1.329 GB, free: 230.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008871/1.735, allocations: 4.245 MB / 1.333 GB, free: 226.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/1.735, allocations: 23.98 kB / 1.333 GB, free: 226.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.735, allocations: 7.938 kB / 1.333 GB, free: 226.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005981/1.741, allocations: 3.32 MB / 1.337 GB, free: 222.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.761, allocations: 8.877 MB / 1.345 GB, free: 213.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.761, allocations: 4 kB / 1.345 GB, free: 213.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.763, allocations: 467.5 kB / 1.346 GB, free: 213.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/1.764, allocations: 334.6 kB / 1.346 GB, free: 213 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003283/1.764, allocations: 71.95 kB / 1.346 GB, free: 212.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/1.767, allocations: 4.341 MB / 1.35 GB, free: 208.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.767, allocations: 0 / 1.35 GB, free: 208.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.78, allocations: 5.681 MB / 1.356 GB, free: 202.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.783, allocations: 0.9783 MB / 1.357 GB, free: 201.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/1.784, allocations: 48 kB / 1.357 GB, free: 201.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/1.787, allocations: 167.8 kB / 1.357 GB, free: 201.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/1.787, allocations: 149.6 kB / 1.357 GB, free: 201.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.788, allocations: 103.9 kB / 1.357 GB, free: 201.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00525/1.793, allocations: 2.981 MB / 1.36 GB, free: 198.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.793, allocations: 0 / 1.36 GB, free: 198.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.007477/1.801, allocations: 2.679 MB / 1.363 GB, free: 195.5 MB / 0.9044 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.002399/1.803, allocations: 1.344 MB / 1.364 GB, free: 194.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.813, allocations: 5.511 MB / 1.37 GB, free: 188.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.813, allocations: 4 kB / 1.37 GB, free: 188.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00358/1.817, allocations: 1.883 MB / 1.371 GB, free: 186.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/1.827, allocations: 2.636 MB / 1.374 GB, free: 184.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.842, allocations: 9.101 MB / 1.383 GB, free: 175.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/1.845, allocations: 2.706 MB / 1.385 GB, free: 172.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004895/1.85, allocations: 1.185 MB / 1.387 GB, free: 171.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009562/1.851, allocations: 379.2 kB / 1.387 GB, free: 171.2 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/1.851, allocations: 0 / 1.387 GB, free: 171.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.1352/1.986, allocations: 107 MB / 1.491 GB, free: 65.38 MB / 0.9044 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (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 & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)