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/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/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.001526/0.001526, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00225/0.002249, allocations: 194.5 kB / 16.25 MB, free: 6.617 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 / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1904/0.1904, allocations: 12 MB / 302.1 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005668/0.0005671, allocations: 31.94 kB / 355.2 MB, free: 3.965 MB / 286.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 2.026/2.026, allocations: 272.2 MB / 0.6645 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 111.5 kB / 0.7843 GB, free: 31.75 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2601, allocations: 109.1 MB / 0.8909 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.74/1, allocations: 215.6 MB / 1.101 GB, free: 28.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05974/1.06, allocations: 45.01 MB / 1.145 GB, free: 14.83 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01541/1.075, allocations: 245 kB / 1.146 GB, free: 14.73 MB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/1.086, allocations: 2.739 MB / 1.148 GB, free: 12.46 MB / 0.7482 GB Notification: Performance of NFTyping.typeBindings: time 0.02647/1.113, allocations: 7.228 MB / 1.155 GB, free: 6.703 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.02203/1.135, allocations: 6.198 MB / 1.161 GB, free: 2.047 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02925/1.164, allocations: 16.79 MB / 1.178 GB, free: 4.016 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/1.18, allocations: 5.88 MB / 1.184 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02063/1.2, allocations: 6.518 MB / 1.19 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/1.212, allocations: 4.66 MB / 1.194 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00314/1.215, allocations: 0.6523 MB / 1.195 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/1.229, allocations: 3.725 MB / 1.199 GB, free: 14.46 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003882/1.233, allocations: 1.643 MB / 1.2 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01129/1.245, allocations: 3.492 MB / 1.204 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02466/1.269, allocations: 11.25 MB / 1.215 GB, free: 14.02 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.269, allocations: 4 kB / 1.215 GB, free: 14.02 MB / 0.8107 GB Notification: Performance of FrontEnd: time 3.085e-06/1.269, allocations: 0 / 1.215 GB, free: 14.02 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.0005046/1.27, allocations: 0 / 1.215 GB, free: 14.02 MB / 0.8107 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.02339/1.293, allocations: 6.725 MB / 1.221 GB, free: 7.191 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.293, allocations: 12.02 kB / 1.221 GB, free: 7.18 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/1.301, allocations: 1.206 MB / 1.223 GB, free: 5.965 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/1.317, allocations: 5.69 MB / 1.228 GB, free: 208 kB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/1.318, allocations: 431 kB / 1.228 GB, free: 15.78 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/1.32, allocations: 359.9 kB / 1.229 GB, free: 15.43 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/1.332, allocations: 4.18 MB / 1.233 GB, free: 11.11 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-05/1.332, allocations: 7.906 kB / 1.233 GB, free: 11.11 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004843/1.333, allocations: 143.9 kB / 1.233 GB, free: 10.96 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.333, allocations: 84 kB / 1.233 GB, free: 10.88 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008502/1.341, allocations: 3.589 MB / 1.237 GB, free: 7.285 MB / 0.8263 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.03654/1.378, allocations: 19.7 MB / 1.256 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/1.384, allocations: 2.473 MB / 1.258 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/1.388, allocations: 1.489 MB / 1.26 GB, free: 14.57 MB / 0.8575 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.01581/1.404, allocations: 8.317 MB / 1.268 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003664/1.407, allocations: 1.508 MB / 1.269 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002911/1.41, allocations: 221.8 kB / 1.27 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 1.373e-05/1.41, allocations: 0 / 1.27 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01603/1.426, allocations: 5.152 MB / 1.275 GB, free: 14.39 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.426, allocations: 132.8 kB / 1.275 GB, free: 14.24 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/1.438, allocations: 4.312 MB / 1.279 GB, free: 9.945 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0007917/1.439, allocations: 69.7 kB / 1.279 GB, free: 9.871 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.003148/1.442, allocations: 2.394 MB / 1.281 GB, free: 7.461 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.443, allocations: 0.7201 MB / 1.282 GB, free: 6.73 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/1.445, allocations: 0.5481 MB / 1.283 GB, free: 6.176 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.446, allocations: 305.1 kB / 1.283 GB, free: 5.875 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.449, allocations: 1.262 MB / 1.284 GB, free: 4.605 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/1.453, allocations: 2.151 MB / 1.286 GB, free: 2.066 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04975/1.503, allocations: 10.65 MB / 1.297 GB, free: 7.059 MB / 0.8888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.122e-05/1.503, allocations: 12 kB / 1.297 GB, free: 7.047 MB / 0.8888 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01224/1.515, allocations: 4.243 MB / 1.301 GB, free: 2.754 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 8.958e-05/1.515, allocations: 80.64 kB / 1.301 GB, free: 2.664 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/1.515, allocations: 27.94 kB / 1.301 GB, free: 2.637 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/1.517, allocations: 465.2 kB / 1.301 GB, free: 2.176 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.52, allocations: 0.6942 MB / 1.302 GB, free: 1.48 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/1.524, allocations: 4.362 MB / 1.306 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/1.528, allocations: 420.5 kB / 1.307 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/1.529, allocations: 140 kB / 1.307 GB, free: 12.33 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005957/1.535, allocations: 2.358 MB / 1.309 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004813/1.54, allocations: 2.112 MB / 1.311 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0488/1.588, allocations: 10.41 MB / 1.321 GB, free: 12.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-05/1.588, allocations: 8 kB / 1.321 GB, free: 12.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.01151/1.6, allocations: 4.141 MB / 1.325 GB, free: 8.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/1.6, allocations: 75.39 kB / 1.325 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.6, allocations: 24 kB / 1.325 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/1.602, allocations: 464.6 kB / 1.326 GB, free: 7.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/1.605, allocations: 0.6514 MB / 1.327 GB, free: 7.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/1.607, allocations: 2.561 MB / 1.329 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/1.612, allocations: 413.1 kB / 1.329 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004553/1.612, allocations: 143.9 kB / 1.33 GB, free: 4.008 MB / 0.92 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001259/1.614, allocations: 0.5996 MB / 1.33 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/1.615, allocations: 486 kB / 1.331 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.627, allocations: 4.373 MB / 1.335 GB, free: 14.53 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/1.627, allocations: 31.98 kB / 1.335 GB, free: 14.5 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.627, allocations: 0 / 1.335 GB, free: 14.5 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007228/1.634, allocations: 3.438 MB / 1.338 GB, free: 10.92 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/1.656, allocations: 8.891 MB / 1.347 GB, free: 1.852 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.656, allocations: 4 kB / 1.347 GB, free: 1.848 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/1.658, allocations: 483.5 kB / 1.347 GB, free: 1.375 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/1.659, allocations: 359 kB / 1.348 GB, free: 1.02 MB / 0.9357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/1.66, allocations: 75.95 kB / 1.348 GB, free: 0.9453 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/1.663, allocations: 4.309 MB / 1.352 GB, free: 12.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.663, allocations: 7.984 kB / 1.352 GB, free: 12.39 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.677, allocations: 5.824 MB / 1.358 GB, free: 6.445 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/1.68, allocations: 0.9397 MB / 1.359 GB, free: 5.48 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.681, allocations: 55.89 kB / 1.359 GB, free: 5.426 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004058/1.685, allocations: 383.4 kB / 1.359 GB, free: 5.051 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/1.686, allocations: 149.7 kB / 1.359 GB, free: 4.902 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.686, allocations: 103.9 kB / 1.359 GB, free: 4.801 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.006691/1.693, allocations: 2.923 MB / 1.362 GB, free: 1.898 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.91e-07/1.693, allocations: 0 / 1.362 GB, free: 1.898 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.01203/1.705, allocations: 2.674 MB / 1.365 GB, free: 15.21 MB / 0.9669 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 (214): * Single equations (assignments): 185 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003713/1.709, allocations: 1.286 MB / 1.366 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0214/1.73, allocations: 5.976 MB / 1.372 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.73, allocations: 4 kB / 1.372 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005/1.735, allocations: 1.868 MB / 1.374 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01554/1.751, allocations: 2.647 MB / 1.376 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/1.773, allocations: 11.18 MB / 1.387 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004357/1.778, allocations: 2.704 MB / 1.39 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.007215/1.785, allocations: 1.186 MB / 1.391 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.787, allocations: 387.2 kB / 1.391 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/1.787, allocations: 0 / 1.391 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of Templates: time 0.6869/2.474, allocations: 109.8 MB / 1.499 GB, free: 294.5 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)