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.001265/0.001265, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.001183/0.001183, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.09 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.05649/0.05649, 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.0005885/0.0005885, allocations: 35.83 kB / 356.3 MB, free: 13.97 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.955/1.955, allocations: 272.3 MB / 0.6657 GB, free: 18.52 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 107.8 kB / 0.7864 GB, free: 12.8 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.227, allocations: 109.1 MB / 0.893 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5807/0.8078, allocations: 217.6 MB / 1.106 GB, free: 3.254 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.06479/0.8726, allocations: 45.35 MB / 1.15 GB, free: 5.875 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01192/0.8846, allocations: 266.5 kB / 1.15 GB, free: 5.613 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.009462/0.8941, allocations: 3.141 MB / 1.153 GB, free: 2.453 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 0.02161/0.9157, allocations: 7.746 MB / 1.161 GB, free: 10.68 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.9326, allocations: 6.672 MB / 1.167 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0248/0.9574, allocations: 16.67 MB / 1.184 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.9682, allocations: 5.911 MB / 1.189 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.9846, allocations: 6.493 MB / 1.196 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009145/0.9937, allocations: 4.492 MB / 1.2 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.9961, allocations: 0.6562 MB / 1.201 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00975/1.006, allocations: 3.706 MB / 1.204 GB, free: 14.13 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.002629/1.009, allocations: 1.628 MB / 1.206 GB, free: 12.5 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.00596/1.014, allocations: 3.485 MB / 1.209 GB, free: 9 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.01647/1.031, allocations: 11.3 MB / 1.22 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.031, allocations: 0 / 1.22 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.704e-06/1.031, allocations: 0 / 1.22 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0003421/1.031, allocations: 0 / 1.22 GB, free: 13.68 MB / 0.8888 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.01429/1.046, allocations: 6.725 MB / 1.227 GB, free: 6.852 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.046, allocations: 8.031 kB / 1.227 GB, free: 6.844 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/1.051, allocations: 1.206 MB / 1.228 GB, free: 5.629 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/1.063, allocations: 5.732 MB / 1.234 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/1.063, allocations: 266.7 kB / 1.234 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006844/1.064, allocations: 352 kB / 1.234 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008826/1.072, allocations: 4.173 MB / 1.238 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.723e-05/1.073, allocations: 11.84 kB / 1.238 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003507/1.073, allocations: 140 kB / 1.238 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/1.073, allocations: 87.94 kB / 1.239 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007498/1.08, allocations: 3.542 MB / 1.242 GB, free: 7.109 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.02661/1.107, allocations: 19.99 MB / 1.262 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00496/1.112, allocations: 2.415 MB / 1.264 GB, free: 15.66 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002859/1.115, allocations: 1.443 MB / 1.265 GB, free: 14.23 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.01174/1.127, allocations: 8.298 MB / 1.273 GB, free: 5.055 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003153/1.13, allocations: 1.473 MB / 1.275 GB, free: 3.559 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=207): time 5.46e-06/1.13, allocations: 3.938 kB / 1.275 GB, free: 3.555 MB / 0.9357 GB Notification: Performance of matching and sorting (n=207): time 0.4465/1.576, allocations: 5.013 MB / 1.28 GB, free: 302.7 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/1.577, allocations: 133.4 kB / 1.28 GB, free: 302.6 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007837/1.584, allocations: 4.395 MB / 1.284 GB, free: 302.3 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.000793/1.585, allocations: 74.73 kB / 1.284 GB, free: 302.3 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.588, allocations: 2.395 MB / 1.287 GB, free: 302.1 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.589, allocations: 0.7071 MB / 1.287 GB, free: 301.8 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000994/1.59, allocations: 0.5456 MB / 1.288 GB, free: 301.8 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/1.59, allocations: 303.6 kB / 1.288 GB, free: 301.5 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.593, allocations: 1.231 MB / 1.289 GB, free: 301.5 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/1.596, allocations: 2.138 MB / 1.291 GB, free: 300.4 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04348/1.64, allocations: 10.36 MB / 1.301 GB, free: 298 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/1.64, allocations: 9.406 kB / 1.302 GB, free: 298 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0101/1.65, allocations: 4.185 MB / 1.306 GB, free: 296.5 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/1.65, allocations: 81.59 kB / 1.306 GB, free: 296.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/1.65, allocations: 21.78 kB / 1.306 GB, free: 296.4 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/1.651, allocations: 375.7 kB / 1.306 GB, free: 296.3 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/1.654, allocations: 0.6934 MB / 1.307 GB, free: 296.3 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/1.657, allocations: 4.311 MB / 1.311 GB, free: 292.3 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/1.661, allocations: 396.9 kB / 1.311 GB, free: 292.1 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/1.662, allocations: 147.2 kB / 1.311 GB, free: 292.1 MB / 0.9357 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.005953/1.668, allocations: 2.331 MB / 1.314 GB, free: 291 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003572/1.671, allocations: 2.091 MB / 1.316 GB, free: 289.5 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04504/1.716, allocations: 10.14 MB / 1.326 GB, free: 286.7 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.754e-05/1.716, allocations: 6.312 kB / 1.326 GB, free: 286.7 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.0104/1.727, allocations: 4.078 MB / 1.33 GB, free: 285.1 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/1.727, allocations: 82.45 kB / 1.33 GB, free: 285.1 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/1.727, allocations: 22.84 kB / 1.33 GB, free: 285.1 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.728, allocations: 365.5 kB / 1.33 GB, free: 285 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.73, allocations: 0.6522 MB / 1.331 GB, free: 284.9 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.733, allocations: 2.523 MB / 1.333 GB, free: 282.7 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/1.737, allocations: 336.7 kB / 1.334 GB, free: 282.5 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/1.738, allocations: 138.5 kB / 1.334 GB, free: 282.5 MB / 0.9357 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.001506/1.739, allocations: 0.605 MB / 1.334 GB, free: 282.1 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/1.741, allocations: 488.2 kB / 1.335 GB, free: 281.9 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009956/1.751, allocations: 4.245 MB / 1.339 GB, free: 280.2 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/1.751, allocations: 30.36 kB / 1.339 GB, free: 280.2 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.751, allocations: 1.375 kB / 1.339 GB, free: 280.2 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006388/1.758, allocations: 3.308 MB / 1.342 GB, free: 278.6 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.777, allocations: 8.877 MB / 1.351 GB, free: 274.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.777, allocations: 4.5 kB / 1.351 GB, free: 274.9 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/1.779, allocations: 463.5 kB / 1.351 GB, free: 274.8 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/1.78, allocations: 342 kB / 1.352 GB, free: 274.7 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/1.78, allocations: 70.11 kB / 1.352 GB, free: 274.7 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/1.783, allocations: 4.332 MB / 1.356 GB, free: 270.7 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.783, allocations: 5.688 kB / 1.356 GB, free: 270.7 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.794, allocations: 5.689 MB / 1.361 GB, free: 268.2 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.797, allocations: 0.9647 MB / 1.362 GB, free: 267.5 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008401/1.798, allocations: 47.41 kB / 1.362 GB, free: 267.5 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.8, allocations: 168.1 kB / 1.363 GB, free: 267.5 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.8, allocations: 147.2 kB / 1.363 GB, free: 267.5 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.8, allocations: 106.5 kB / 1.363 GB, free: 267.4 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.004205/1.805, allocations: 2.985 MB / 1.366 GB, free: 266.3 MB / 0.9357 GB Notification: Performance of sort global known variables: time 1.463e-06/1.805, allocations: 0 / 1.366 GB, free: 266.3 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.007867/1.812, allocations: 2.679 MB / 1.368 GB, free: 265.8 MB / 0.9357 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.002588/1.815, allocations: 1.346 MB / 1.37 GB, free: 265.5 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.826, allocations: 5.51 MB / 1.375 GB, free: 261.9 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.826, allocations: 1.812 kB / 1.375 GB, free: 261.9 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/1.829, allocations: 1.873 MB / 1.377 GB, free: 260 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01667/1.846, allocations: 2.649 MB / 1.379 GB, free: 257.8 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.869, allocations: 9.102 MB / 1.388 GB, free: 248.7 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.872, allocations: 2.708 MB / 1.391 GB, free: 246 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.007372/1.879, allocations: 1.163 MB / 1.392 GB, free: 244.9 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.88, allocations: 394.8 kB / 1.393 GB, free: 244.5 MB / 0.9357 GB Notification: Performance of SimCode: time 9.42e-07/1.88, allocations: 0 / 1.393 GB, free: 244.5 MB / 0.9357 GB Notification: Performance of Templates: time 0.1404/2.021, allocations: 107 MB / 1.497 GB, free: 139 MB / 0.9357 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 -s cvode -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)