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.001072/0.001072, allocations: 116.7 kB / 16.37 MB, free: 6 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.001003/0.001003, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.295/1.295, 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.05733/0.05733, allocations: 12.04 MB / 303.2 MB, free: 3.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005228/0.0005228, allocations: 23.97 kB / 356.3 MB, free: 14.02 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.888/1.888, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 116.2 kB / 0.7864 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 109.2 MB / 0.893 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5292/0.718, allocations: 217.6 MB / 1.106 GB, free: 3.25 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.08474/0.8028, allocations: 45.35 MB / 1.15 GB, free: 5.871 MB / 0.8107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01345/0.8163, allocations: 262.5 kB / 1.15 GB, free: 5.613 MB / 0.8107 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.8275, allocations: 3.145 MB / 1.153 GB, free: 2.449 MB / 0.8107 GB Notification: Performance of NFTyping.typeBindings: time 0.02533/0.8529, allocations: 7.74 MB / 1.161 GB, free: 10.68 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.01838/0.8713, allocations: 6.682 MB / 1.167 GB, free: 4.09 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.02803/0.8994, allocations: 16.66 MB / 1.184 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.9101, allocations: 5.916 MB / 1.189 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01741/0.9275, allocations: 6.48 MB / 1.196 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009241/0.9368, allocations: 4.506 MB / 1.2 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002379/0.9392, allocations: 0.6484 MB / 1.201 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.9506, allocations: 3.71 MB / 1.204 GB, free: 14.13 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.003435/0.9541, allocations: 1.624 MB / 1.206 GB, free: 12.5 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.00855/0.9627, allocations: 3.491 MB / 1.209 GB, free: 9 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.02056/0.9833, allocations: 11.3 MB / 1.22 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.9833, allocations: 0 / 1.22 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9833, allocations: 0 / 1.22 GB, free: 13.68 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0002935/0.9836, 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.01597/0.9996, allocations: 6.717 MB / 1.227 GB, free: 6.855 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.9997, allocations: 12.03 kB / 1.227 GB, free: 6.844 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/1.006, allocations: 1.206 MB / 1.228 GB, free: 5.629 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.018, allocations: 5.728 MB / 1.234 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/1.018, allocations: 274.6 kB / 1.234 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008454/1.019, allocations: 352 kB / 1.234 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008627/1.028, allocations: 4.174 MB / 1.238 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/1.028, allocations: 11.84 kB / 1.238 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/1.028, allocations: 140 kB / 1.238 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/1.028, allocations: 87.94 kB / 1.239 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00794/1.036, allocations: 3.542 MB / 1.242 GB, free: 7.105 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.03084/1.067, allocations: 19.99 MB / 1.262 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005316/1.073, allocations: 2.419 MB / 1.264 GB, free: 15.66 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/1.076, allocations: 1.439 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.01398/1.09, allocations: 8.306 MB / 1.273 GB, free: 5.047 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003354/1.093, allocations: 1.469 MB / 1.275 GB, free: 3.555 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=207): time 5.691e-06/1.093, allocations: 0 / 1.275 GB, free: 3.555 MB / 0.9357 GB Notification: Performance of matching and sorting (n=207): time 0.3776/1.471, allocations: 5.014 MB / 1.28 GB, free: 304 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.471, allocations: 134.1 kB / 1.28 GB, free: 303.9 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006638/1.478, allocations: 4.393 MB / 1.284 GB, free: 303.6 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.0004767/1.478, allocations: 70.92 kB / 1.284 GB, free: 303.5 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.001809/1.48, allocations: 2.4 MB / 1.287 GB, free: 303.4 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007676/1.481, allocations: 0.7084 MB / 1.287 GB, free: 303.1 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007757/1.481, allocations: 0.5494 MB / 1.288 GB, free: 303.1 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 3.832e-05/1.482, allocations: 302 kB / 1.288 GB, free: 302.8 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/1.484, allocations: 1.231 MB / 1.289 GB, free: 302.8 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/1.487, allocations: 2.137 MB / 1.291 GB, free: 301.7 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04347/1.531, allocations: 10.36 MB / 1.301 GB, free: 299.3 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/1.531, allocations: 8.562 kB / 1.301 GB, free: 299.3 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.009745/1.54, allocations: 4.185 MB / 1.306 GB, free: 297.7 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-05/1.54, allocations: 82.17 kB / 1.306 GB, free: 297.7 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/1.54, allocations: 23.17 kB / 1.306 GB, free: 297.7 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/1.542, allocations: 374.5 kB / 1.306 GB, free: 297.6 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/1.545, allocations: 0.69 MB / 1.307 GB, free: 297.6 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/1.547, allocations: 4.312 MB / 1.311 GB, free: 293.6 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.551, allocations: 397.5 kB / 1.311 GB, free: 293.4 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/1.552, allocations: 144.3 kB / 1.311 GB, free: 293.3 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.005355/1.557, allocations: 2.329 MB / 1.314 GB, free: 292.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003922/1.561, allocations: 2.093 MB / 1.316 GB, free: 290.8 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04635/1.607, allocations: 10.14 MB / 1.326 GB, free: 287.9 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.601e-05/1.607, allocations: 6.75 kB / 1.326 GB, free: 287.9 MB / 0.9357 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009485/1.617, allocations: 4.075 MB / 1.33 GB, free: 286.4 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/1.617, allocations: 83.06 kB / 1.33 GB, free: 286.3 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/1.617, allocations: 21.53 kB / 1.33 GB, free: 286.3 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/1.618, allocations: 367 kB / 1.33 GB, free: 286.2 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.621, allocations: 0.6505 MB / 1.331 GB, free: 286.2 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.624, allocations: 2.528 MB / 1.333 GB, free: 283.9 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005034/1.629, allocations: 336.3 kB / 1.334 GB, free: 283.8 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/1.629, allocations: 142.7 kB / 1.334 GB, free: 283.8 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.001237/1.631, allocations: 0.5989 MB / 1.334 GB, free: 283.4 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.632, allocations: 484.5 kB / 1.335 GB, free: 283.1 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009528/1.642, allocations: 4.244 MB / 1.339 GB, free: 281.4 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-05/1.642, allocations: 31.36 kB / 1.339 GB, free: 281.4 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.642, allocations: 1.531 kB / 1.339 GB, free: 281.4 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006784/1.648, allocations: 3.312 MB / 1.342 GB, free: 279.9 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.67, allocations: 8.873 MB / 1.351 GB, free: 276.1 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.67, allocations: 1.344 kB / 1.351 GB, free: 276.1 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/1.672, allocations: 469.2 kB / 1.351 GB, free: 276.1 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/1.673, allocations: 341.7 kB / 1.352 GB, free: 276 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001939/1.673, allocations: 73.31 kB / 1.352 GB, free: 275.9 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/1.676, allocations: 4.328 MB / 1.356 GB, free: 271.9 MB / 0.9357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.676, allocations: 2.406 kB / 1.356 GB, free: 271.9 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/1.688, allocations: 5.683 MB / 1.361 GB, free: 269.4 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/1.691, allocations: 0.9755 MB / 1.362 GB, free: 268.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006755/1.691, allocations: 43.78 kB / 1.362 GB, free: 268.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/1.694, allocations: 176.6 kB / 1.363 GB, free: 268.7 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.694, allocations: 143.2 kB / 1.363 GB, free: 268.7 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.694, allocations: 110.8 kB / 1.363 GB, free: 268.7 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.004412/1.699, allocations: 2.979 MB / 1.366 GB, free: 267.6 MB / 0.9357 GB Notification: Performance of sort global known variables: time 3.71e-07/1.699, allocations: 0 / 1.366 GB, free: 267.6 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.00634/1.705, allocations: 2.67 MB / 1.368 GB, free: 267.1 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.002267/1.707, allocations: 1.353 MB / 1.37 GB, free: 266.8 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.718, allocations: 5.516 MB / 1.375 GB, free: 263.4 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.718, allocations: 384 / 1.375 GB, free: 263.4 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.003693/1.722, allocations: 1.883 MB / 1.377 GB, free: 261.5 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/1.733, allocations: 2.635 MB / 1.379 GB, free: 259.3 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.747, allocations: 9.1 MB / 1.388 GB, free: 250.2 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/1.749, allocations: 2.712 MB / 1.391 GB, free: 247.4 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.004905/1.754, allocations: 1.181 MB / 1.392 GB, free: 246.4 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000981/1.755, allocations: 378.7 kB / 1.393 GB, free: 246 MB / 0.9357 GB Notification: Performance of SimCode: time 8.92e-07/1.755, allocations: 4 kB / 1.393 GB, free: 246 MB / 0.9357 GB Notification: Performance of Templates: time 0.1383/1.893, allocations: 107 MB / 1.497 GB, free: 140.4 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 gbode -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)