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.001027/0.001027, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008357/0.008357, allocations: 174 kB / 16.27 MB, free: 6.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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.236/0.236, allocations: 12.02 MB / 303.5 MB, free: 1.715 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0001965/0.0001964, allocations: 23.95 kB / 357.5 MB, free: 3.055 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.105/2.105, allocations: 270.9 MB / 0.6666 GB, free: 15.21 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005005, allocations: 17.72 kB / 0.7881 GB, free: 31.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 111 MB / 0.8965 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.7714/1.037, allocations: 212.8 MB / 1.104 GB, free: 22.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05454/1.092, allocations: 45.02 MB / 1.148 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01236/1.104, allocations: 235.2 kB / 1.148 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/1.115, allocations: 2.624 MB / 1.151 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02684/1.142, allocations: 7.267 MB / 1.158 GB, free: 12.71 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01776/1.159, allocations: 6.097 MB / 1.164 GB, free: 8.086 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.03183/1.191, allocations: 21.34 MB / 1.185 GB, free: 8.223 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/1.202, allocations: 4.673 MB / 1.189 GB, free: 3.465 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/1.216, allocations: 5.246 MB / 1.195 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009655/1.226, allocations: 4.273 MB / 1.199 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001896/1.228, allocations: 212 kB / 1.199 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/1.239, allocations: 3.307 MB / 1.202 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002604/1.242, allocations: 1.167 MB / 1.203 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006368/1.248, allocations: 2.986 MB / 1.206 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02276/1.271, allocations: 10.71 MB / 1.217 GB, free: 7.457 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.271, allocations: 4 kB / 1.217 GB, free: 7.453 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/1.271, allocations: 0 / 1.217 GB, free: 7.453 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003325/1.272, allocations: 3.938 kB / 1.217 GB, free: 7.449 MB / 0.795 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.01512/1.287, allocations: 5.507 MB / 1.222 GB, free: 1.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 7.149e-05/1.287, allocations: 12.03 kB / 1.222 GB, free: 1.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007074/1.294, allocations: 1.312 MB / 1.223 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/1.307, allocations: 5.713 MB / 1.229 GB, free: 10.73 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001192/1.308, allocations: 467 kB / 1.229 GB, free: 10.27 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/1.31, allocations: 352 kB / 1.23 GB, free: 9.926 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009318/1.319, allocations: 4.219 MB / 1.234 GB, free: 5.57 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-05/1.319, allocations: 3.906 kB / 1.234 GB, free: 5.566 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004419/1.319, allocations: 155.9 kB / 1.234 GB, free: 5.414 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.375e-05/1.32, allocations: 80 kB / 1.234 GB, free: 5.336 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008637/1.328, allocations: 3.663 MB / 1.238 GB, free: 1.664 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 removeSimpleEquations (simulation): time 0.03258/1.361, allocations: 19.79 MB / 1.257 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005506/1.366, allocations: 2.543 MB / 1.259 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/1.37, allocations: 1.521 MB / 1.261 GB, free: 8.773 MB / 0.8419 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.01489/1.385, allocations: 8.337 MB / 1.269 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003386/1.388, allocations: 1.547 MB / 1.271 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002393/1.391, allocations: 261.7 kB / 1.271 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=209): time 5.28e-06/1.391, allocations: 3.938 kB / 1.271 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=209): time 0.01655/1.407, allocations: 5.386 MB / 1.276 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.407, allocations: 128.8 kB / 1.276 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/1.418, allocations: 4.308 MB / 1.28 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006985/1.419, allocations: 73.7 kB / 1.281 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.421, allocations: 2.398 MB / 1.283 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.423, allocations: 0.7162 MB / 1.284 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/1.423, allocations: 227.1 kB / 1.284 GB, free: 384 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.423, allocations: 305.1 kB / 1.284 GB, free: 76 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/1.426, allocations: 1.286 MB / 1.285 GB, free: 14.79 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/1.43, allocations: 2.19 MB / 1.287 GB, free: 12.21 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04942/1.479, allocations: 11.71 MB / 1.299 GB, free: 140 kB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/1.479, allocations: 8 kB / 1.299 GB, free: 132 kB / 0.8732 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01295/1.492, allocations: 4.317 MB / 1.303 GB, free: 11.76 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 0.000787/1.493, allocations: 0.8197 MB / 1.304 GB, free: 10.62 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.018e-05/1.493, allocations: 20 kB / 1.304 GB, free: 10.61 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/1.495, allocations: 405.4 kB / 1.304 GB, free: 10.2 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/1.498, allocations: 0.706 MB / 1.305 GB, free: 9.496 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/1.503, allocations: 4.21 MB / 1.309 GB, free: 5.059 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005482/1.508, allocations: 432.6 kB / 1.31 GB, free: 4.637 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006391/1.509, allocations: 147.9 kB / 1.31 GB, free: 4.492 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.509, allocations: 4 kB / 1.31 GB, free: 4.488 MB / 0.8888 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009804/1.519, allocations: 3.797 MB / 1.313 GB, free: 0.6523 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.733e-05/1.519, allocations: 20.94 kB / 1.313 GB, free: 0.6328 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.52, allocations: 399.5 kB / 1.314 GB, free: 244 kB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.523, allocations: 0.667 MB / 1.314 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/1.526, allocations: 2.409 MB / 1.317 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.531, allocations: 435.4 kB / 1.317 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/1.532, allocations: 140 kB / 1.317 GB, free: 12.44 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: 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 (314): * Single equations (assignments): 305 * 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.004033/1.536, allocations: 1.455 MB / 1.319 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.538, allocations: 482 kB / 1.319 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.549, allocations: 4.412 MB / 1.324 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/1.549, allocations: 35.92 kB / 1.324 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.549, allocations: 0 / 1.324 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007208/1.556, allocations: 3.465 MB / 1.327 GB, free: 2.422 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 postOpt removeSimpleEquations (simulation): time 0.02532/1.581, allocations: 9.12 MB / 1.336 GB, free: 9.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.581, allocations: 4 kB / 1.336 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/1.584, allocations: 487.6 kB / 1.336 GB, free: 8.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/1.585, allocations: 367.9 kB / 1.337 GB, free: 8.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.585, allocations: 75.94 kB / 1.337 GB, free: 8.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/1.59, allocations: 4.223 MB / 1.341 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.59, allocations: 3.938 kB / 1.341 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.606, allocations: 5.715 MB / 1.346 GB, free: 13.9 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003777/1.61, allocations: 0.9904 MB / 1.347 GB, free: 12.88 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/1.611, allocations: 52 kB / 1.347 GB, free: 12.83 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004827/1.616, allocations: 419.3 kB / 1.348 GB, free: 12.42 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/1.617, allocations: 157.7 kB / 1.348 GB, free: 12.27 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004243/1.617, allocations: 103.9 kB / 1.348 GB, free: 12.16 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.007175/1.624, allocations: 2.919 MB / 1.351 GB, free: 9.266 MB / 0.9357 GB Notification: Performance of sort global known variables: time 7.32e-07/1.624, allocations: 3.938 kB / 1.351 GB, free: 9.262 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.01104/1.635, allocations: 2.67 MB / 1.354 GB, free: 6.586 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 (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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003175/1.639, allocations: 1.306 MB / 1.355 GB, free: 5.305 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.652, allocations: 5.699 MB / 1.36 GB, free: 15.53 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.653, allocations: 0 / 1.36 GB, free: 15.53 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.004771/1.657, allocations: 1.969 MB / 1.362 GB, free: 13.52 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01512/1.672, allocations: 2.546 MB / 1.365 GB, free: 11.07 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/1.692, allocations: 11.4 MB / 1.376 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/1.695, allocations: 2.71 MB / 1.379 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.005961/1.701, allocations: 1.177 MB / 1.38 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.702, allocations: 387.2 kB / 1.38 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of SimCode: time 2.084e-06/1.702, allocations: 0 / 1.38 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.7676/2.47, allocations: 106 MB / 1.484 GB, free: 319.6 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)