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/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/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.001428/0.001429, allocations: 108 kB / 15.99 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 191.4 kB / 16.91 MB, free: 5.758 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.248/1.248, allocations: 222.9 MB / 240.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05432/0.05432, allocations: 12.03 MB / 302.8 MB, free: 3.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004653/0.0004653, allocations: 23.95 kB / 355.8 MB, free: 14.2 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.426/1.426, allocations: 268.2 MB / 0.6612 GB, free: 2.816 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001738, allocations: 106.8 kB / 0.7803 GB, free: 472 kB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2092, allocations: 108.4 MB / 0.8861 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.5709/0.7802, allocations: 239.9 MB / 1.12 GB, free: 15.62 MB / 0.8107 GB Notification: Performance of NFInst.instExpressions: time 0.06248/0.8427, allocations: 48.32 MB / 1.168 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009592/0.8523, allocations: 266.4 kB / 1.168 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009424/0.8618, allocations: 2.993 MB / 1.171 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.02205/0.8839, allocations: 7.941 MB / 1.178 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.8979, allocations: 5.997 MB / 1.184 GB, free: 14.02 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.02345/0.9213, allocations: 17.5 MB / 1.201 GB, free: 12.47 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009881/0.9313, allocations: 6.276 MB / 1.208 GB, free: 6.105 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.9475, allocations: 6.836 MB / 1.214 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008347/0.9558, allocations: 4.866 MB / 1.219 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.9581, allocations: 0.6992 MB / 1.22 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.9686, allocations: 3.78 MB / 1.223 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002767/0.9714, allocations: 1.737 MB / 1.225 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005943/0.9773, allocations: 3.729 MB / 1.229 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.4428/1.42, allocations: 9.684 MB / 1.238 GB, free: 83.94 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.42, allocations: 1.562 kB / 1.238 GB, free: 83.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/1.42, allocations: 1.875 kB / 1.238 GB, free: 83.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002742/1.421, allocations: 0 / 1.238 GB, free: 83.94 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.0223/1.443, allocations: 7.206 MB / 1.245 GB, free: 80.97 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.443, allocations: 10.44 kB / 1.245 GB, free: 80.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008213/1.451, allocations: 1.33 MB / 1.247 GB, free: 80.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/1.465, allocations: 6.178 MB / 1.253 GB, free: 79.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001621/1.467, allocations: 0.4964 MB / 1.253 GB, free: 79.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/1.469, allocations: 372.2 kB / 1.253 GB, free: 79.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/1.483, allocations: 4.495 MB / 1.258 GB, free: 79.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/1.483, allocations: 10.75 kB / 1.258 GB, free: 79.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000573/1.483, allocations: 157.5 kB / 1.258 GB, free: 79.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-05/1.483, allocations: 93.09 kB / 1.258 GB, free: 79.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/1.494, allocations: 3.783 MB / 1.262 GB, free: 78.94 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.03527/1.529, allocations: 22.09 MB / 1.283 GB, free: 68.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006031/1.535, allocations: 3.142 MB / 1.286 GB, free: 68.03 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/1.538, allocations: 1.397 MB / 1.288 GB, free: 68 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.01465/1.553, allocations: 8.618 MB / 1.296 GB, free: 62.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00351/1.556, allocations: 1.572 MB / 1.298 GB, free: 62.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003398/1.56, allocations: 231.1 kB / 1.298 GB, free: 62.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=186): time 1.563e-05/1.56, allocations: 0 / 1.298 GB, free: 62.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=186): time 0.02323/1.583, allocations: 5.936 MB / 1.304 GB, free: 61.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/1.583, allocations: 186.1 kB / 1.304 GB, free: 61.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008881/1.592, allocations: 4.743 MB / 1.308 GB, free: 61.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0007907/1.593, allocations: 66.33 kB / 1.309 GB, free: 61.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002564/1.595, allocations: 2.639 MB / 1.311 GB, free: 60.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.596, allocations: 0.6353 MB / 1.312 GB, free: 59.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009461/1.597, allocations: 0.5462 MB / 1.312 GB, free: 59.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/1.598, allocations: 303.4 kB / 1.313 GB, free: 59.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/1.6, allocations: 1.263 MB / 1.314 GB, free: 59.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/1.604, allocations: 2.284 MB / 1.316 GB, free: 57.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5654/2.169, allocations: 89.91 MB / 1.404 GB, free: 1.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/2.169, allocations: 11.94 kB / 1.404 GB, free: 1.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01093/2.18, allocations: 4.295 MB / 1.408 GB, free: 14.88 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/2.18, allocations: 80 kB / 1.408 GB, free: 14.79 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/2.18, allocations: 24 kB / 1.408 GB, free: 14.77 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/2.184, allocations: 0.8151 MB / 1.409 GB, free: 14.07 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/2.186, allocations: 0.6242 MB / 1.41 GB, free: 13.5 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/2.19, allocations: 3.106 MB / 1.413 GB, free: 10.62 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/2.196, allocations: 440.4 kB / 1.413 GB, free: 10.24 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/2.196, allocations: 143.5 kB / 1.413 GB, free: 10.12 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 = 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.005899/2.202, allocations: 2.398 MB / 1.415 GB, free: 8.656 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003816/2.206, allocations: 2.234 MB / 1.418 GB, free: 6.457 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5932/2.799, allocations: 89.64 MB / 1.505 GB, free: 15.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.413e-05/2.8, allocations: 4 kB / 1.505 GB, free: 15.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.01288/2.812, allocations: 4.198 MB / 1.509 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/2.813, allocations: 83.31 kB / 1.509 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/2.813, allocations: 28.03 kB / 1.509 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/2.816, allocations: 0.777 MB / 1.51 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/2.819, allocations: 0.5954 MB / 1.511 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/2.822, allocations: 1.91 MB / 1.513 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/2.829, allocations: 432.8 kB / 1.513 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/2.83, allocations: 141.3 kB / 1.513 GB, free: 9.406 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 = 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: 113 * 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 (286): * Single equations (assignments): 278 * 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,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002095/2.832, allocations: 0.5605 MB / 1.514 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002614/2.835, allocations: 0.5016 MB / 1.514 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/2.849, allocations: 4.291 MB / 1.518 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/2.849, allocations: 31.86 kB / 1.518 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/2.849, allocations: 0 / 1.518 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00954/2.859, allocations: 3.111 MB / 1.521 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/2.887, allocations: 9.274 MB / 1.531 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/2.887, allocations: 6.438 kB / 1.531 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/2.889, allocations: 391.3 kB / 1.531 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/2.891, allocations: 0.6389 MB / 1.532 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004351/2.892, allocations: 67.95 kB / 1.532 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/2.896, allocations: 3.206 MB / 1.535 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.897, allocations: 5.094 kB / 1.535 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/2.912, allocations: 5.886 MB / 1.54 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003795/2.916, allocations: 0.9641 MB / 1.541 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001939/2.918, allocations: 44 kB / 1.541 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005123/2.923, allocations: 407.2 kB / 1.542 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/2.923, allocations: 129.8 kB / 1.542 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003136/2.924, allocations: 95.92 kB / 1.542 GB, free: 12.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.006921/2.931, allocations: 3.231 MB / 1.545 GB, free: 9.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.71e-07/2.931, allocations: 0 / 1.545 GB, free: 9.773 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.01226/2.943, allocations: 2.709 MB / 1.548 GB, free: 7.059 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,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003569/2.947, allocations: 1.253 MB / 1.549 GB, free: 5.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01651/2.963, allocations: 5.557 MB / 1.555 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/2.963, allocations: 4 kB / 1.555 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/2.968, allocations: 1.753 MB / 1.556 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01465/2.983, allocations: 2.653 MB / 1.559 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/3.007, allocations: 11.54 MB / 1.57 GB, free: 0.875 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/3.01, allocations: 2.797 MB / 1.573 GB, free: 14.05 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/3.011, allocations: 387.3 kB / 1.573 GB, free: 13.67 MB / 1.092 GB Notification: Performance of SimCode: time 1.202e-06/3.011, allocations: 0 / 1.573 GB, free: 13.67 MB / 1.092 GB Notification: Performance of Templates: time 0.6378/3.649, allocations: 212.8 MB / 1.781 GB, free: 376.1 MB / 1.123 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 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)