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.005578/0.005578, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001331/0.001332, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1422/0.1422, allocations: 12.01 MB / 302.5 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004366/0.0004366, allocations: 30.91 kB / 355.6 MB, free: 3.703 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.64/1.64, allocations: 272.2 MB / 0.665 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 107.8 kB / 0.8927 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1811, allocations: 109.2 MB / 0.9993 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.571/0.7522, allocations: 242.2 MB / 1.236 GB, free: 9.133 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.06032/0.8126, allocations: 48.71 MB / 1.283 GB, free: 8.312 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009434/0.822, allocations: 290.3 kB / 1.284 GB, free: 8.027 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.009252/0.8313, allocations: 3.428 MB / 1.287 GB, free: 4.578 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02111/0.8525, allocations: 8.509 MB / 1.295 GB, free: 12.04 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01524/0.8677, allocations: 6.456 MB / 1.302 GB, free: 5.637 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02132/0.8891, allocations: 17.38 MB / 1.319 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008677/0.8978, allocations: 6.307 MB / 1.325 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/0.9111, allocations: 6.803 MB / 1.331 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007631/0.9187, allocations: 4.691 MB / 1.336 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.9207, allocations: 0.6953 MB / 1.337 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.9308, allocations: 3.768 MB / 1.34 GB, free: 13.84 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.9329, allocations: 1.709 MB / 1.342 GB, free: 12.13 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.005801/0.9387, allocations: 3.721 MB / 1.346 GB, free: 8.391 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.956, allocations: 12.04 MB / 1.357 GB, free: 12.31 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9561, allocations: 0 / 1.357 GB, free: 12.31 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9561, allocations: 0 / 1.357 GB, free: 12.31 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002898/0.9564, allocations: 0 / 1.357 GB, free: 12.31 MB / 1.014 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.01324/0.9696, allocations: 7.419 MB / 1.365 GB, free: 4.773 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.9697, allocations: 8.031 kB / 1.365 GB, free: 4.766 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005496/0.9752, allocations: 1.374 MB / 1.366 GB, free: 3.387 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009882/0.9851, allocations: 6.261 MB / 1.372 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.9853, allocations: 287.1 kB / 1.372 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004494/0.9857, allocations: 372 kB / 1.373 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007702/0.9935, allocations: 4.538 MB / 1.377 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.816e-05/0.9935, allocations: 7.938 kB / 1.377 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003195/0.9939, allocations: 152 kB / 1.377 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.9939, allocations: 88 kB / 1.377 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007436/1.001, allocations: 3.734 MB / 1.381 GB, free: 3.684 MB / 1.029 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.02524/1.027, allocations: 23.04 MB / 1.404 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005127/1.032, allocations: 3.003 MB / 1.407 GB, free: 8.242 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/1.034, allocations: 1.293 MB / 1.408 GB, free: 6.945 MB / 1.061 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.0103/1.045, allocations: 8.467 MB / 1.416 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002938/1.048, allocations: 1.47 MB / 1.418 GB, free: 12.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=184): time 4.107e-06/1.048, allocations: 0 / 1.418 GB, free: 12.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=184): time 0.01602/1.064, allocations: 5.167 MB / 1.423 GB, free: 6.809 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/1.064, allocations: 191.4 kB / 1.423 GB, free: 6.586 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008359/1.072, allocations: 4.872 MB / 1.427 GB, free: 1.695 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/1.072, allocations: 69.7 kB / 1.428 GB, free: 1.621 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002268/1.075, allocations: 2.707 MB / 1.43 GB, free: 14.9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000709/1.075, allocations: 0.6585 MB / 1.431 GB, free: 14.23 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007999/1.076, allocations: 0.5636 MB / 1.431 GB, free: 13.66 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/1.076, allocations: 305.1 kB / 1.432 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/1.079, allocations: 1.172 MB / 1.433 GB, free: 12.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/1.082, allocations: 2.26 MB / 1.435 GB, free: 9.438 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8968/1.979, allocations: 89.32 MB / 1.522 GB, free: 341.4 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/1.979, allocations: 8 kB / 1.522 GB, free: 341.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008073/1.987, allocations: 4.186 MB / 1.526 GB, free: 338.6 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/1.987, allocations: 83.14 kB / 1.526 GB, free: 338.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/1.987, allocations: 28 kB / 1.526 GB, free: 338.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/1.989, allocations: 0.663 MB / 1.527 GB, free: 337.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.991, allocations: 0.6195 MB / 1.528 GB, free: 337.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/1.994, allocations: 3.041 MB / 1.531 GB, free: 334.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.997, allocations: 420 kB / 1.531 GB, free: 334.2 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.997, allocations: 151.9 kB / 1.531 GB, free: 334.1 MB / 1.092 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003787/2.001, allocations: 2.317 MB / 1.534 GB, free: 331.8 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002523/2.004, allocations: 2.207 MB / 1.536 GB, free: 329.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4838/2.487, allocations: 89.06 MB / 1.623 GB, free: 240 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.952e-05/2.487, allocations: 8 kB / 1.623 GB, free: 240 MB / 1.092 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.007854/2.495, allocations: 4.08 MB / 1.627 GB, free: 236.2 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/2.495, allocations: 92.36 kB / 1.627 GB, free: 236.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/2.495, allocations: 28 kB / 1.627 GB, free: 236 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/2.497, allocations: 0.624 MB / 1.627 GB, free: 235.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/2.499, allocations: 0.5967 MB / 1.628 GB, free: 234.8 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/2.501, allocations: 1.834 MB / 1.63 GB, free: 233 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/2.505, allocations: 348.4 kB / 1.63 GB, free: 232.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/2.505, allocations: 144 kB / 1.63 GB, free: 232.6 MB / 1.092 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 292 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007107/2.505, allocations: 0.579 MB / 1.631 GB, free: 232 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008098/2.506, allocations: 0.5316 MB / 1.631 GB, free: 231.5 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008315/2.515, allocations: 4.025 MB / 1.635 GB, free: 227.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/2.515, allocations: 35.92 kB / 1.635 GB, free: 227.4 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/2.515, allocations: 0 / 1.635 GB, free: 227.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006296/2.521, allocations: 2.883 MB / 1.638 GB, free: 224.5 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/2.539, allocations: 8.822 MB / 1.647 GB, free: 215.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/2.539, allocations: 4 kB / 1.647 GB, free: 215.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/2.541, allocations: 371.8 kB / 1.647 GB, free: 215.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/2.542, allocations: 0.595 MB / 1.648 GB, free: 214.7 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/2.543, allocations: 55.97 kB / 1.648 GB, free: 214.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/2.546, allocations: 3.122 MB / 1.651 GB, free: 211.4 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/2.546, allocations: 7.938 kB / 1.651 GB, free: 211.4 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/2.557, allocations: 5.651 MB / 1.656 GB, free: 205.7 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/2.559, allocations: 0.9967 MB / 1.657 GB, free: 204.7 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/2.56, allocations: 44 kB / 1.657 GB, free: 204.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/2.562, allocations: 186.2 kB / 1.657 GB, free: 204.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/2.562, allocations: 129.7 kB / 1.658 GB, free: 204.4 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/2.562, allocations: 99.92 kB / 1.658 GB, free: 204.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003913/2.566, allocations: 3.307 MB / 1.661 GB, free: 201 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/2.566, allocations: 0 / 1.661 GB, free: 201 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005183/2.572, allocations: 2.745 MB / 1.664 GB, free: 198.5 MB / 1.092 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.0019/2.574, allocations: 1.329 MB / 1.665 GB, free: 197.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008908/2.582, allocations: 5.044 MB / 1.67 GB, free: 192.3 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/2.582, allocations: 320 / 1.67 GB, free: 192.3 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/2.586, allocations: 1.642 MB / 1.671 GB, free: 190.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009766/2.596, allocations: 2.644 MB / 1.674 GB, free: 188.3 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/2.609, allocations: 9.327 MB / 1.683 GB, free: 178.9 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/2.61, allocations: 2.805 MB / 1.686 GB, free: 176.1 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00408/2.614, allocations: 1.12 MB / 1.687 GB, free: 175 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/2.615, allocations: 363.3 kB / 1.687 GB, free: 174.7 MB / 1.092 GB Notification: Performance of SimCode: time 7.42e-07/2.615, allocations: 3.938 kB / 1.687 GB, free: 174.6 MB / 1.092 GB Notification: Performance of Templates: time 0.1249/2.74, allocations: 109.8 MB / 1.794 GB, free: 65.93 MB / 1.092 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)