Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.00109, allocations: 108.2 kB / 16.36 MB, free: 6.285 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.001764/0.001764, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05833/0.05833, allocations: 12.04 MB / 303.2 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005532/0.0005529, allocations: 23.95 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.673/1.673, allocations: 268.2 MB / 0.6617 GB, free: 2.633 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 110.7 kB / 0.7817 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2062, allocations: 108.4 MB / 0.8875 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5942/0.8005, allocations: 242.2 MB / 1.124 GB, free: 12.47 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.07546/0.876, allocations: 48.7 MB / 1.172 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01366/0.8897, allocations: 286.4 kB / 1.172 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.9012, allocations: 3.436 MB / 1.175 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.02642/0.9276, allocations: 8.513 MB / 1.184 GB, free: 15.38 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.0153/0.943, allocations: 6.464 MB / 1.19 GB, free: 8.973 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.02765/0.9706, allocations: 17.37 MB / 1.207 GB, free: 7.555 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.9809, allocations: 6.301 MB / 1.213 GB, free: 1.156 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/0.9998, allocations: 6.796 MB / 1.22 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008873/1.009, allocations: 4.695 MB / 1.224 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002169/1.011, allocations: 0.6953 MB / 1.225 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009683/1.021, allocations: 3.768 MB / 1.229 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.5216/1.542, allocations: 1.71 MB / 1.23 GB, free: 73.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01055/1.553, allocations: 3.714 MB / 1.234 GB, free: 73.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02724/1.58, allocations: 11.99 MB / 1.246 GB, free: 73.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.58, allocations: 0 / 1.246 GB, free: 73.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.204e-06/1.58, allocations: 1.094 kB / 1.246 GB, free: 73.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004774/1.581, allocations: 0 / 1.246 GB, free: 73.23 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.02944/1.61, allocations: 7.188 MB / 1.253 GB, free: 70.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.61, allocations: 9.812 kB / 1.253 GB, free: 70.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008715/1.619, allocations: 1.337 MB / 1.254 GB, free: 69.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/1.636, allocations: 6.216 MB / 1.26 GB, free: 68.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/1.636, allocations: 287.8 kB / 1.26 GB, free: 68.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/1.638, allocations: 371.7 kB / 1.261 GB, free: 68.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.65, allocations: 4.531 MB / 1.265 GB, free: 68.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.884e-05/1.651, allocations: 18.66 kB / 1.265 GB, free: 68.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005052/1.651, allocations: 153.8 kB / 1.265 GB, free: 68.13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.725e-05/1.651, allocations: 92.41 kB / 1.265 GB, free: 68.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/1.663, allocations: 3.737 MB / 1.269 GB, free: 68.06 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03688/1.7, allocations: 22.98 MB / 1.291 GB, free: 57.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/1.705, allocations: 3.014 MB / 1.294 GB, free: 56.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/1.707, allocations: 1.293 MB / 1.296 GB, free: 56.17 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01355/1.721, allocations: 8.45 MB / 1.304 GB, free: 51.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002798/1.724, allocations: 1.462 MB / 1.305 GB, free: 50.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=184): time 3.517e-06/1.724, allocations: 0 / 1.305 GB, free: 50.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=184): time 0.01695/1.741, allocations: 5.15 MB / 1.31 GB, free: 50.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/1.741, allocations: 186.6 kB / 1.31 GB, free: 50.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009232/1.75, allocations: 4.865 MB / 1.315 GB, free: 49.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008822/1.751, allocations: 69.17 kB / 1.315 GB, free: 49.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.754, allocations: 2.665 MB / 1.318 GB, free: 48.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009544/1.755, allocations: 0.6202 MB / 1.318 GB, free: 48.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008428/1.755, allocations: 0.5666 MB / 1.319 GB, free: 48.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 4.017e-05/1.756, allocations: 305.1 kB / 1.319 GB, free: 48.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/1.758, allocations: 1.182 MB / 1.32 GB, free: 48.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/1.761, allocations: 2.251 MB / 1.323 GB, free: 46.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5096/2.27, allocations: 89.33 MB / 1.41 GB, free: 10 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.394e-05/2.27, allocations: 8 kB / 1.41 GB, free: 9.996 MB / 0.9357 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.0122/2.283, allocations: 4.169 MB / 1.414 GB, free: 7.012 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/2.283, allocations: 79.08 kB / 1.414 GB, free: 6.926 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.95e-05/2.283, allocations: 28 kB / 1.414 GB, free: 6.898 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/2.285, allocations: 0.6447 MB / 1.415 GB, free: 6.367 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/2.288, allocations: 0.6286 MB / 1.415 GB, free: 5.797 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/2.292, allocations: 3.043 MB / 1.418 GB, free: 2.961 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005745/2.298, allocations: 416.9 kB / 1.419 GB, free: 2.594 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007488/2.299, allocations: 146.9 kB / 1.419 GB, free: 2.473 MB / 0.9357 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006058/2.305, allocations: 2.322 MB / 1.421 GB, free: 1.066 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003696/2.309, allocations: 2.198 MB / 1.423 GB, free: 14.86 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5444/2.853, allocations: 89.07 MB / 1.51 GB, free: 8.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.735e-05/2.853, allocations: 11.98 kB / 1.51 GB, free: 8.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01057/2.864, allocations: 4.055 MB / 1.514 GB, free: 5.875 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.54e-05/2.864, allocations: 79.89 kB / 1.514 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/2.864, allocations: 28 kB / 1.514 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/2.866, allocations: 0.6322 MB / 1.515 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/2.868, allocations: 0.5925 MB / 1.515 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/2.871, allocations: 1.835 MB / 1.517 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005955/2.877, allocations: 345.3 kB / 1.518 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006237/2.878, allocations: 141.1 kB / 1.518 GB, free: 2.684 MB / 1.029 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (300): * Single equations (assignments): 292 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001058/2.879, allocations: 0.5762 MB / 1.518 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/2.881, allocations: 0.5055 MB / 1.519 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/2.892, allocations: 4.044 MB / 1.523 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/2.892, allocations: 23.98 kB / 1.523 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/2.892, allocations: 0 / 1.523 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008163/2.9, allocations: 2.88 MB / 1.526 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/2.925, allocations: 8.842 MB / 1.534 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/2.925, allocations: 0 / 1.534 GB, free: 2.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/2.927, allocations: 375.7 kB / 1.535 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/2.929, allocations: 0.5851 MB / 1.535 GB, free: 1.473 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/2.929, allocations: 59.97 kB / 1.535 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004575/2.934, allocations: 3.12 MB / 1.538 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.934, allocations: 4.156 kB / 1.538 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/2.95, allocations: 5.62 MB / 1.544 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003616/2.953, allocations: 0.9743 MB / 1.545 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002191/2.955, allocations: 43.94 kB / 1.545 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005002/2.96, allocations: 179.8 kB / 1.545 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/2.961, allocations: 133.8 kB / 1.545 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/2.961, allocations: 96.05 kB / 1.545 GB, free: 7.082 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.007677/2.969, allocations: 3.311 MB / 1.548 GB, free: 3.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.91e-07/2.969, allocations: 3.188 kB / 1.548 GB, free: 3.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01275/2.982, allocations: 2.72 MB / 1.551 GB, free: 1.043 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * 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 (170): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003929/2.986, allocations: 1.31 MB / 1.552 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01416/3, allocations: 5.032 MB / 1.557 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/3, allocations: 0 / 1.557 GB, free: 10.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004996/3.005, allocations: 1.649 MB / 1.559 GB, free: 9.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01478/3.02, allocations: 2.656 MB / 1.561 GB, free: 6.992 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/3.041, allocations: 9.149 MB / 1.57 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/3.044, allocations: 2.797 MB / 1.573 GB, free: 11.01 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.006297/3.051, allocations: 1.126 MB / 1.574 GB, free: 9.961 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/3.052, allocations: 366.4 kB / 1.575 GB, free: 9.605 MB / 1.092 GB Notification: Performance of SimCode: time 1.944e-06/3.052, allocations: 4 kB / 1.575 GB, free: 9.602 MB / 1.092 GB Notification: Performance of Templates: time 0.5569/3.609, allocations: 108.7 MB / 1.681 GB, free: 0.4973 GB / 1.139 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)