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.001333/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001611/0.001611, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.163/0.163, allocations: 12 MB / 302 MB, free: 0.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004724/0.0004725, allocations: 19.95 kB / 355 MB, free: 4.039 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 2.023/2.023, allocations: 272.2 MB / 0.6644 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003741/0.003741, allocations: 108.2 kB / 0.7841 GB, free: 31.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2502, allocations: 109.2 MB / 0.8907 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.6731/0.9233, allocations: 240.6 MB / 1.126 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.08118/1.005, allocations: 48.89 MB / 1.173 GB, free: 7.871 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01399/1.019, allocations: 268.4 kB / 1.174 GB, free: 7.766 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.01266/1.031, allocations: 2.877 MB / 1.176 GB, free: 5.23 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.0289/1.06, allocations: 7.978 MB / 1.184 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.016/1.076, allocations: 5.887 MB / 1.19 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02794/1.104, allocations: 22.07 MB / 1.212 GB, free: 1.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01105/1.115, allocations: 5.121 MB / 1.217 GB, free: 12.05 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/1.132, allocations: 5.639 MB / 1.222 GB, free: 6.391 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009243/1.141, allocations: 4.639 MB / 1.227 GB, free: 1.73 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.002524/1.143, allocations: 292 kB / 1.227 GB, free: 1.445 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/1.155, allocations: 3.385 MB / 1.23 GB, free: 14.05 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.003226/1.158, allocations: 1.326 MB / 1.231 GB, free: 12.72 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.008271/1.166, allocations: 3.276 MB / 1.235 GB, free: 9.43 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.02175/1.188, allocations: 11.65 MB / 1.246 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.188, allocations: 0 / 1.246 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/1.188, allocations: 0 / 1.246 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003869/1.189, allocations: 0 / 1.246 GB, free: 13.74 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.02059/1.209, allocations: 7.2 MB / 1.253 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.209, allocations: 8.031 kB / 1.253 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/1.217, allocations: 1.331 MB / 1.254 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/1.231, allocations: 6.165 MB / 1.26 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/1.233, allocations: 0.5072 MB / 1.261 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/1.234, allocations: 376 kB / 1.261 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/1.246, allocations: 4.486 MB / 1.266 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/1.247, allocations: 11.94 kB / 1.266 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008282/1.247, allocations: 152 kB / 1.266 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/1.248, allocations: 88 kB / 1.266 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/1.258, allocations: 3.789 MB / 1.27 GB, free: 5.281 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.03835/1.297, allocations: 22.11 MB / 1.291 GB, free: 13.94 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007054/1.304, allocations: 3.138 MB / 1.294 GB, free: 10.67 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/1.307, allocations: 1.399 MB / 1.296 GB, free: 9.262 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.01462/1.322, allocations: 8.609 MB / 1.304 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003711/1.326, allocations: 1.568 MB / 1.306 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002281/1.328, allocations: 269.6 kB / 1.306 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=186): time 8.135e-06/1.328, allocations: 4 kB / 1.306 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=186): time 0.01976/1.348, allocations: 5.625 MB / 1.311 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.348, allocations: 180.2 kB / 1.311 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009878/1.358, allocations: 4.741 MB / 1.316 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006869/1.358, allocations: 77.55 kB / 1.316 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003084/1.362, allocations: 2.64 MB / 1.319 GB, free: 496 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009725/1.363, allocations: 0.6356 MB / 1.319 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001659/1.364, allocations: 0.5397 MB / 1.32 GB, free: 15.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/1.364, allocations: 313.1 kB / 1.32 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.367, allocations: 1.253 MB / 1.321 GB, free: 13.72 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/1.371, allocations: 2.274 MB / 1.324 GB, free: 10.99 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.021/2.392, allocations: 89.74 MB / 1.411 GB, free: 365.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/2.392, allocations: 7.938 kB / 1.411 GB, free: 365.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01268/2.405, allocations: 4.269 MB / 1.415 GB, free: 364.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/2.405, allocations: 82.22 kB / 1.416 GB, free: 364.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.576e-05/2.405, allocations: 25.75 kB / 1.416 GB, free: 364.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/2.408, allocations: 0.6657 MB / 1.416 GB, free: 364.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/2.411, allocations: 0.6299 MB / 1.417 GB, free: 364.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/2.415, allocations: 3.071 MB / 1.42 GB, free: 362.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/2.42, allocations: 436.6 kB / 1.42 GB, free: 362.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/2.421, allocations: 144.9 kB / 1.42 GB, free: 362.4 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.006418/2.427, allocations: 2.396 MB / 1.423 GB, free: 362.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003953/2.431, allocations: 2.221 MB / 1.425 GB, free: 360.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5826/3.014, allocations: 89.48 MB / 1.512 GB, free: 287 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.349e-05/3.014, allocations: 4 kB / 1.512 GB, free: 287 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.01041/3.025, allocations: 4.169 MB / 1.516 GB, free: 283.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/3.025, allocations: 88.58 kB / 1.516 GB, free: 283 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/3.025, allocations: 24 kB / 1.516 GB, free: 283 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/3.027, allocations: 0.6475 MB / 1.517 GB, free: 282.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/3.029, allocations: 0.6045 MB / 1.518 GB, free: 281.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/3.031, allocations: 1.864 MB / 1.52 GB, free: 279.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/3.037, allocations: 431.5 kB / 1.52 GB, free: 279.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/3.038, allocations: 136 kB / 1.52 GB, free: 279.3 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: 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 (288): * Single equations (assignments): 280 * 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.001412/3.039, allocations: 0.5644 MB / 1.521 GB, free: 278.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/3.041, allocations: 0.5072 MB / 1.521 GB, free: 278.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/3.051, allocations: 4.23 MB / 1.525 GB, free: 274.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/3.051, allocations: 20 kB / 1.525 GB, free: 274.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/3.051, allocations: 3.984 kB / 1.525 GB, free: 274.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006871/3.058, allocations: 3.049 MB / 1.528 GB, free: 271 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02218/3.081, allocations: 8.827 MB / 1.537 GB, free: 262.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/3.081, allocations: 4 kB / 1.537 GB, free: 262.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/3.082, allocations: 375.7 kB / 1.537 GB, free: 261.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/3.084, allocations: 0.6193 MB / 1.538 GB, free: 261.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/3.085, allocations: 59.97 kB / 1.538 GB, free: 261.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/3.088, allocations: 3.155 MB / 1.541 GB, free: 257.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/3.088, allocations: 4 kB / 1.541 GB, free: 257.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/3.101, allocations: 5.571 MB / 1.546 GB, free: 252.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/3.104, allocations: 0.9432 MB / 1.547 GB, free: 251.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/3.105, allocations: 44.56 kB / 1.547 GB, free: 251.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004613/3.11, allocations: 413.7 kB / 1.548 GB, free: 250.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/3.11, allocations: 133.7 kB / 1.548 GB, free: 250.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002792/3.111, allocations: 95.92 kB / 1.548 GB, free: 250.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006468/3.117, allocations: 3.228 MB / 1.551 GB, free: 247.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/3.117, allocations: 0 / 1.551 GB, free: 247.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01065/3.128, allocations: 2.711 MB / 1.554 GB, free: 244.9 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 (172): * Single equations (assignments): 152 * 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.003163/3.131, allocations: 1.257 MB / 1.555 GB, free: 243.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01187/3.143, allocations: 5.169 MB / 1.56 GB, free: 238.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.143, allocations: 4 kB / 1.56 GB, free: 238.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004446/3.147, allocations: 1.67 MB / 1.562 GB, free: 237 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01464/3.162, allocations: 2.568 MB / 1.564 GB, free: 234.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/3.183, allocations: 11.27 MB / 1.575 GB, free: 223.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003832/3.186, allocations: 2.805 MB / 1.578 GB, free: 220.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005769/3.192, allocations: 1.128 MB / 1.579 GB, free: 219.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009853/3.193, allocations: 363.3 kB / 1.579 GB, free: 219 MB / 0.9825 GB Notification: Performance of SimCode: time 5.82e-07/3.193, allocations: 0 / 1.579 GB, free: 219 MB / 0.9825 GB Notification: Performance of Templates: time 0.1432/3.336, allocations: 109 MB / 1.686 GB, free: 111.1 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)