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.001197/0.001196, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001589/0.001589, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2014/0.2014, allocations: 12.03 MB / 303.1 MB, free: 1.66 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002624/0.0002626, allocations: 18.86 kB / 357.2 MB, free: 3.145 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.151/2.151, allocations: 270.9 MB / 0.6662 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007494/0.0007497, allocations: 17.64 kB / 0.7874 GB, free: 31.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3313, allocations: 111 MB / 0.8958 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 1.053/1.384, allocations: 200.7 MB / 1.092 GB, free: 37.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.08264/1.467, allocations: 42.59 MB / 1.133 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01375/1.481, allocations: 223.6 kB / 1.134 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008824/1.489, allocations: 2.109 MB / 1.136 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02142/1.511, allocations: 6.188 MB / 1.142 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.02092/1.532, allocations: 4.547 MB / 1.146 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.03521/1.567, allocations: 18.31 MB / 1.164 GB, free: 15.8 MB / 0.7482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/1.582, allocations: 4.074 MB / 1.168 GB, free: 12 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0204/1.603, allocations: 4.97 MB / 1.173 GB, free: 7.008 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/1.616, allocations: 4.06 MB / 1.177 GB, free: 2.93 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.002579/1.619, allocations: 216 kB / 1.177 GB, free: 2.719 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/1.633, allocations: 2.372 MB / 1.179 GB, free: 352 kB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.003984/1.637, allocations: 1.128 MB / 1.18 GB, free: 15.21 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.005114/1.642, allocations: 1.303 MB / 1.182 GB, free: 13.9 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.02321/1.665, allocations: 8.615 MB / 1.19 GB, free: 5.262 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/1.665, allocations: 0 / 1.19 GB, free: 5.262 MB / 0.7638 GB Notification: Performance of FrontEnd: time 4.218e-06/1.665, allocations: 0 / 1.19 GB, free: 5.262 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.0005688/1.666, allocations: 0 / 1.19 GB, free: 5.262 MB / 0.7638 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.02476/1.691, allocations: 5.593 MB / 1.196 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.691, allocations: 12.03 kB / 1.196 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/1.701, allocations: 1.308 MB / 1.197 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.723, allocations: 5.535 MB / 1.202 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001975/1.725, allocations: 467 kB / 1.203 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/1.727, allocations: 352 kB / 1.203 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/1.748, allocations: 4.201 MB / 1.207 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.748, allocations: 11.83 kB / 1.207 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00136/1.749, allocations: 144 kB / 1.207 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/1.749, allocations: 84 kB / 1.207 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/1.767, allocations: 3.644 MB / 1.211 GB, free: 15.62 MB / 0.795 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.05435/1.821, allocations: 19.88 MB / 1.23 GB, free: 10.7 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.831, allocations: 2.544 MB / 1.233 GB, free: 8.156 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00587/1.837, allocations: 1.525 MB / 1.234 GB, free: 6.637 MB / 0.8107 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.02041/1.858, allocations: 8.393 MB / 1.242 GB, free: 13.37 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003802/1.861, allocations: 1.551 MB / 1.244 GB, free: 11.8 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002503/1.864, allocations: 265.6 kB / 1.244 GB, free: 11.54 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=209): time 7.564e-06/1.864, allocations: 4 kB / 1.244 GB, free: 11.53 MB / 0.8263 GB Notification: Performance of matching and sorting (n=209): time 0.01574/1.88, allocations: 5.382 MB / 1.249 GB, free: 6.066 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/1.88, allocations: 132.8 kB / 1.25 GB, free: 5.91 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008929/1.889, allocations: 4.324 MB / 1.254 GB, free: 1.605 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0004964/1.889, allocations: 73.7 kB / 1.254 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002805/1.892, allocations: 2.389 MB / 1.256 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.893, allocations: 0.7085 MB / 1.257 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/1.894, allocations: 56 kB / 1.257 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002721/1.894, allocations: 407.4 kB / 1.257 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/1.898, allocations: 1.239 MB / 1.259 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.902, allocations: 2.162 MB / 1.261 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/1.905, allocations: 1.538 MB / 1.262 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/1.905, allocations: 8 kB / 1.262 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01045/1.916, allocations: 4.219 MB / 1.266 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007243/1.917, allocations: 0.8189 MB / 1.267 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/1.917, allocations: 24 kB / 1.267 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.918, allocations: 401.4 kB / 1.268 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/1.921, allocations: 0.7138 MB / 1.268 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/1.925, allocations: 4.199 MB / 1.272 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/1.931, allocations: 450.2 kB / 1.273 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007127/1.931, allocations: 139.9 kB / 1.273 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.931, allocations: 4 kB / 1.273 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009688/1.941, allocations: 3.798 MB / 1.277 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-05/1.941, allocations: 24 kB / 1.277 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/1.942, allocations: 401.5 kB / 1.277 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/1.945, allocations: 0.667 MB / 1.278 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/1.948, allocations: 2.401 MB / 1.28 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/1.952, allocations: 433.5 kB / 1.28 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005148/1.953, allocations: 139.9 kB / 1.281 GB, free: 4.992 MB / 0.8575 GB Warning: Assuming fixed start value for the following 5 variables: 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 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.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.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.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,$PRE.coolingDemand.nextEvent,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,$PRE.heatDemand.nextEvent,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.003376/1.956, allocations: 1.463 MB / 1.282 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.958, allocations: 482 kB / 1.282 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.968, allocations: 4.406 MB / 1.287 GB, free: 14.62 MB / 0.8732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.193e-05/1.968, allocations: 31.94 kB / 1.287 GB, free: 14.59 MB / 0.8732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.968, allocations: 4 kB / 1.287 GB, free: 14.59 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007403/1.976, allocations: 3.458 MB / 1.29 GB, free: 10.99 MB / 0.8732 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 postOpt removeSimpleEquations (simulation): time 0.02673/2.003, allocations: 9.175 MB / 1.299 GB, free: 1.625 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.003, allocations: 4 kB / 1.299 GB, free: 1.621 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/2.005, allocations: 495.6 kB / 1.3 GB, free: 1.137 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/2.006, allocations: 368.1 kB / 1.3 GB, free: 0.7734 MB / 0.8732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003341/2.007, allocations: 71.95 kB / 1.3 GB, free: 0.7031 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/2.011, allocations: 4.227 MB / 1.304 GB, free: 12.25 MB / 0.8888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.011, allocations: 3.938 kB / 1.304 GB, free: 12.24 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/2.024, allocations: 5.696 MB / 1.31 GB, free: 6.422 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00338/2.028, allocations: 1.01 MB / 1.311 GB, free: 5.387 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/2.029, allocations: 51.95 kB / 1.311 GB, free: 5.336 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004688/2.034, allocations: 423.3 kB / 1.311 GB, free: 4.922 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004052/2.034, allocations: 149.7 kB / 1.311 GB, free: 4.777 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004474/2.035, allocations: 103.9 kB / 1.311 GB, free: 4.676 MB / 0.8888 GB Notification: Performance of sorting global known variables: time 0.007607/2.042, allocations: 2.915 MB / 1.314 GB, free: 1.781 MB / 0.8888 GB Notification: Performance of sort global known variables: time 4.71e-07/2.042, allocations: 0 / 1.314 GB, free: 1.781 MB / 0.8888 GB Notification: Performance of remove unused functions: time 0.01316/2.056, allocations: 2.678 MB / 1.317 GB, free: 15.09 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003784/2.059, allocations: 1.248 MB / 1.318 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01403/2.073, allocations: 5.648 MB / 1.324 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.073, allocations: 7.938 kB / 1.324 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00517/2.079, allocations: 1.946 MB / 1.326 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01458/2.093, allocations: 2.57 MB / 1.328 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/2.115, allocations: 10.9 MB / 1.339 GB, free: 8.742 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003477/2.119, allocations: 2.71 MB / 1.341 GB, free: 6 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.007242/2.126, allocations: 1.17 MB / 1.342 GB, free: 4.914 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/2.127, allocations: 395.2 kB / 1.343 GB, free: 4.527 MB / 0.92 GB Notification: Performance of SimCode: time 1.142e-06/2.127, allocations: 0 / 1.343 GB, free: 4.527 MB / 0.92 GB Notification: Performance of Templates: time 0.6414/2.769, allocations: 104.2 MB / 1.445 GB, free: 323.8 MB / 0.9669 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)