Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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/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.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_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.0009465/0.0009466, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.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.149/0.149, allocations: 12 MB / 302.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004326/0.0004325, allocations: 39.44 kB / 355.5 MB, free: 3.727 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 1.653/1.653, allocations: 272.2 MB / 0.6648 GB, free: 12.93 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.00195, allocations: 113.2 kB / 0.7849 GB, free: 31.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1949, allocations: 109.2 MB / 0.8915 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5759/0.7708, allocations: 242.2 MB / 1.128 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05715/0.828, allocations: 48.7 MB / 1.176 GB, free: 6.004 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009523/0.8376, allocations: 285.2 kB / 1.176 GB, free: 5.902 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.008787/0.8464, allocations: 3.438 MB / 1.179 GB, free: 2.691 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02191/0.8683, allocations: 8.513 MB / 1.188 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01539/0.8837, allocations: 6.426 MB / 1.194 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0225/0.9063, allocations: 17.33 MB / 1.211 GB, free: 2.398 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009873/0.9162, allocations: 6.305 MB / 1.217 GB, free: 11.99 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01388/0.9301, allocations: 6.773 MB / 1.223 GB, free: 5.219 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007262/0.9374, allocations: 4.679 MB / 1.228 GB, free: 0.5195 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.9393, allocations: 0.6954 MB / 1.229 GB, free: 15.82 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009178/0.9485, allocations: 3.768 MB / 1.232 GB, free: 12.05 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.9508, allocations: 1.709 MB / 1.234 GB, free: 10.34 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.005691/0.9565, allocations: 3.722 MB / 1.238 GB, free: 6.598 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.9742, allocations: 11.87 MB / 1.249 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.9742, allocations: 0 / 1.249 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9742, allocations: 0 / 1.249 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002525/0.9745, allocations: 0 / 1.249 GB, free: 10.69 MB / 0.8419 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.01348/0.988, allocations: 7.204 MB / 1.256 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.988, allocations: 12.02 kB / 1.256 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/0.9937, allocations: 1.335 MB / 1.258 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009304/1.003, allocations: 5.953 MB / 1.263 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001271/1.004, allocations: 0.4994 MB / 1.264 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004574/1.005, allocations: 376 kB / 1.264 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007495/1.012, allocations: 4.557 MB / 1.269 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.93e-05/1.012, allocations: 15.81 kB / 1.269 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/1.013, allocations: 152 kB / 1.269 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/1.013, allocations: 92 kB / 1.269 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007631/1.02, allocations: 3.773 MB / 1.273 GB, free: 2.332 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02763/1.048, allocations: 23.21 MB / 1.295 GB, free: 9.867 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005424/1.053, allocations: 3.031 MB / 1.298 GB, free: 6.699 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/1.056, allocations: 1.317 MB / 1.3 GB, free: 5.383 MB / 0.8888 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.01013/1.066, allocations: 8.47 MB / 1.308 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002899/1.069, allocations: 1.486 MB / 1.309 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=184): time 3.316e-06/1.069, allocations: 0 / 1.309 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=184): time 0.01611/1.085, allocations: 5.254 MB / 1.314 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/1.085, allocations: 187.5 kB / 1.315 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006209/1.092, allocations: 4.864 MB / 1.319 GB, free: 32 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.092, allocations: 73.73 kB / 1.319 GB, free: 15.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.094, allocations: 2.675 MB / 1.322 GB, free: 13.26 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000533/1.094, allocations: 0.6239 MB / 1.323 GB, free: 12.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007588/1.095, allocations: 0.5594 MB / 1.323 GB, free: 12.06 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.095, allocations: 305.1 kB / 1.324 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/1.098, allocations: 1.199 MB / 1.325 GB, free: 10.55 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/1.101, allocations: 2.268 MB / 1.327 GB, free: 7.797 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8947/1.996, allocations: 89.42 MB / 1.414 GB, free: 364.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/1.996, allocations: 8.031 kB / 1.414 GB, free: 364.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009276/2.005, allocations: 4.206 MB / 1.418 GB, free: 364.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/2.005, allocations: 88.62 kB / 1.418 GB, free: 364.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/2.005, allocations: 27.55 kB / 1.418 GB, free: 364.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/2.008, allocations: 0.6776 MB / 1.419 GB, free: 364.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/2.01, allocations: 0.6304 MB / 1.42 GB, free: 364 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/2.013, allocations: 3.068 MB / 1.423 GB, free: 361.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/2.016, allocations: 434.5 kB / 1.423 GB, free: 361.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/2.016, allocations: 151.4 kB / 1.423 GB, free: 361.8 MB / 0.9825 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 = 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.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 = 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.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 = 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.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004207/2.021, allocations: 2.335 MB / 1.426 GB, free: 361.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002711/2.023, allocations: 2.218 MB / 1.428 GB, free: 359.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5033/2.527, allocations: 89.16 MB / 1.515 GB, free: 284.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.338e-05/2.527, allocations: 4 kB / 1.515 GB, free: 284.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.00773/2.534, allocations: 4.113 MB / 1.519 GB, free: 280.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/2.534, allocations: 83.39 kB / 1.519 GB, free: 280.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/2.534, allocations: 27.98 kB / 1.519 GB, free: 280.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/2.536, allocations: 0.6452 MB / 1.52 GB, free: 279.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/2.538, allocations: 0.6082 MB / 1.52 GB, free: 279.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/2.54, allocations: 1.866 MB / 1.522 GB, free: 277.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/2.544, allocations: 354.7 kB / 1.522 GB, free: 277.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/2.544, allocations: 148 kB / 1.522 GB, free: 277 MB / 0.9825 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 = 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.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 = 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.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 = 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.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 = 100000.0 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.0007246/2.545, allocations: 0.5613 MB / 1.523 GB, free: 276.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006608/2.545, allocations: 0.5066 MB / 1.523 GB, free: 275.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/2.554, allocations: 4.102 MB / 1.527 GB, free: 271.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/2.554, allocations: 24 kB / 1.528 GB, free: 271.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/2.554, allocations: 5.453 kB / 1.528 GB, free: 271.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006429/2.56, allocations: 2.932 MB / 1.53 GB, free: 268.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/2.576, allocations: 8.936 MB / 1.539 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/2.576, allocations: 0 / 1.539 GB, free: 259.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/2.578, allocations: 379.8 kB / 1.539 GB, free: 259.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/2.579, allocations: 0.6015 MB / 1.54 GB, free: 258.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/2.58, allocations: 71.75 kB / 1.54 GB, free: 258.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/2.583, allocations: 3.152 MB / 1.543 GB, free: 255.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/2.583, allocations: 4 kB / 1.543 GB, free: 255.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/2.595, allocations: 5.723 MB / 1.549 GB, free: 249.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/2.597, allocations: 0.9746 MB / 1.55 GB, free: 248.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008013/2.597, allocations: 43.8 kB / 1.55 GB, free: 248.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/2.6, allocations: 187.8 kB / 1.55 GB, free: 248.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/2.6, allocations: 129.8 kB / 1.55 GB, free: 248.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/2.6, allocations: 99.92 kB / 1.55 GB, free: 248.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004286/2.605, allocations: 3.307 MB / 1.553 GB, free: 245.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.71e-07/2.605, allocations: 0 / 1.553 GB, free: 245.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005322/2.61, allocations: 2.723 MB / 1.556 GB, free: 242.5 MB / 0.9825 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.001767/2.612, allocations: 1.32 MB / 1.557 GB, free: 241.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01197/2.624, allocations: 5.345 MB / 1.563 GB, free: 236.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.624, allocations: 384 / 1.563 GB, free: 236.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00356/2.627, allocations: 1.673 MB / 1.564 GB, free: 234.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00952/2.637, allocations: 2.654 MB / 1.567 GB, free: 232.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/2.649, allocations: 9.342 MB / 1.576 GB, free: 222.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/2.651, allocations: 2.797 MB / 1.579 GB, free: 219.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004242/2.655, allocations: 1.126 MB / 1.58 GB, free: 218.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006669/2.656, allocations: 363.3 kB / 1.58 GB, free: 218.4 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/2.656, allocations: 0 / 1.58 GB, free: 218.4 MB / 0.9825 GB Notification: Performance of Templates: time 0.13/2.786, allocations: 113.2 MB / 1.691 GB, free: 106.4 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)