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.001592/0.001592, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002145/0.002145, allocations: 194.1 kB / 16.25 MB, free: 6.625 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.701/1.701, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1707/0.1707, allocations: 12.01 MB / 302.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005476/0.0005477, allocations: 31.95 kB / 355.2 MB, free: 3.969 MB / 286.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.826/1.826, allocations: 268.1 MB / 0.6605 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 110.2 kB / 0.7795 GB, free: 33 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2004, allocations: 108.4 MB / 0.8854 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.6561/0.8565, allocations: 239.9 MB / 1.12 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05934/0.9159, allocations: 48.32 MB / 1.167 GB, free: 15.18 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01528/0.9312, allocations: 269.9 kB / 1.167 GB, free: 15.08 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.9428, allocations: 2.998 MB / 1.17 GB, free: 12.59 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.02689/0.9698, allocations: 7.943 MB / 1.178 GB, free: 5.703 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.01705/0.9868, allocations: 5.981 MB / 1.184 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02842/1.015, allocations: 17.52 MB / 1.201 GB, free: 14.23 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/1.029, allocations: 6.278 MB / 1.207 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0184/1.048, allocations: 6.834 MB / 1.214 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009363/1.057, allocations: 4.87 MB / 1.218 GB, free: 12.14 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.002855/1.06, allocations: 0.6992 MB / 1.219 GB, free: 11.44 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/1.071, allocations: 3.784 MB / 1.223 GB, free: 7.648 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.003351/1.074, allocations: 1.733 MB / 1.224 GB, free: 5.91 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.008887/1.083, allocations: 3.725 MB / 1.228 GB, free: 2.168 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.02285/1.106, allocations: 11.95 MB / 1.24 GB, free: 6.184 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/1.106, allocations: 0 / 1.24 GB, free: 6.184 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.064e-06/1.106, allocations: 3.938 kB / 1.24 GB, free: 6.18 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.0003836/1.107, allocations: 4 kB / 1.24 GB, free: 6.176 MB / 0.8263 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.01932/1.126, allocations: 7.2 MB / 1.247 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.126, allocations: 15.89 kB / 1.247 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007487/1.133, allocations: 1.335 MB / 1.248 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/1.151, allocations: 6.162 MB / 1.254 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001657/1.153, allocations: 0.4993 MB / 1.255 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/1.154, allocations: 380 kB / 1.255 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/1.169, allocations: 4.494 MB / 1.259 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/1.169, allocations: 7.938 kB / 1.259 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000963/1.17, allocations: 148 kB / 1.259 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/1.17, allocations: 88 kB / 1.26 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/1.18, allocations: 3.789 MB / 1.263 GB, free: 13.71 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.03973/1.22, allocations: 22.1 MB / 1.285 GB, free: 6.375 MB / 0.8732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007056/1.227, allocations: 3.142 MB / 1.288 GB, free: 3.098 MB / 0.8732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/1.231, allocations: 1.403 MB / 1.289 GB, free: 1.691 MB / 0.8732 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.01449/1.245, allocations: 8.597 MB / 1.298 GB, free: 8.152 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003711/1.249, allocations: 1.58 MB / 1.299 GB, free: 6.539 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002346/1.251, allocations: 233.7 kB / 1.299 GB, free: 6.309 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=186): time 1.057e-05/1.251, allocations: 0 / 1.299 GB, free: 6.309 MB / 0.8888 GB Notification: Performance of matching and sorting (n=186): time 0.02338/1.275, allocations: 5.933 MB / 1.305 GB, free: 316 kB / 0.8888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.275, allocations: 188.2 kB / 1.305 GB, free: 92 kB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.288, allocations: 4.741 MB / 1.31 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006952/1.289, allocations: 69.7 kB / 1.31 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003558/1.293, allocations: 2.64 MB / 1.313 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.294, allocations: 0.6354 MB / 1.313 GB, free: 8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002244/1.296, allocations: 0.5436 MB / 1.314 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.296, allocations: 301.1 kB / 1.314 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.3, allocations: 1.257 MB / 1.315 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/1.305, allocations: 2.29 MB / 1.318 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.146/2.45, allocations: 89.89 MB / 1.405 GB, free: 368.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/2.45, allocations: 8.906 kB / 1.405 GB, free: 368.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization): time 0.01075/2.461, allocations: 4.298 MB / 1.41 GB, free: 368.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/2.461, allocations: 79.47 kB / 1.41 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/2.461, allocations: 25.16 kB / 1.41 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/2.465, allocations: 0.8113 MB / 1.41 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/2.468, allocations: 0.6297 MB / 1.411 GB, free: 368.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/2.471, allocations: 3.113 MB / 1.414 GB, free: 365.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/2.477, allocations: 437.4 kB / 1.414 GB, free: 365.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/2.478, allocations: 142.9 kB / 1.415 GB, free: 365.8 MB / 0.9825 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006391/2.484, allocations: 2.395 MB / 1.417 GB, free: 365.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003966/2.488, allocations: 2.23 MB / 1.419 GB, free: 364.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6202/3.109, allocations: 89.64 MB / 1.507 GB, free: 298.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.618e-05/3.109, allocations: 8 kB / 1.507 GB, free: 298.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=326) (initialization_lambda0): time 0.01044/3.119, allocations: 4.205 MB / 1.511 GB, free: 294.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/3.119, allocations: 80.33 kB / 1.511 GB, free: 294.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/3.119, allocations: 24 kB / 1.511 GB, free: 294.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/3.122, allocations: 0.789 MB / 1.512 GB, free: 293.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/3.125, allocations: 0.5928 MB / 1.512 GB, free: 293.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/3.127, allocations: 1.905 MB / 1.514 GB, free: 291.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/3.132, allocations: 440.5 kB / 1.515 GB, free: 290.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/3.132, allocations: 140 kB / 1.515 GB, free: 290.7 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 (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.001233/3.134, allocations: 0.5587 MB / 1.515 GB, free: 290.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/3.135, allocations: 0.5132 MB / 1.516 GB, free: 289.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/3.146, allocations: 4.285 MB / 1.52 GB, free: 285.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/3.146, allocations: 24 kB / 1.52 GB, free: 285.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/3.146, allocations: 4 kB / 1.52 GB, free: 285.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00729/3.153, allocations: 3.119 MB / 1.523 GB, free: 282.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/3.178, allocations: 9.258 MB / 1.532 GB, free: 273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/3.178, allocations: 7.984 kB / 1.532 GB, free: 273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/3.18, allocations: 395.7 kB / 1.532 GB, free: 272.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/3.182, allocations: 0.6394 MB / 1.533 GB, free: 272 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003014/3.183, allocations: 63.95 kB / 1.533 GB, free: 271.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/3.187, allocations: 3.22 MB / 1.536 GB, free: 268.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/3.187, allocations: 4 kB / 1.536 GB, free: 268.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/3.2, allocations: 5.883 MB / 1.542 GB, free: 262.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/3.203, allocations: 0.958 MB / 1.543 GB, free: 261.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/3.204, allocations: 47.98 kB / 1.543 GB, free: 261.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/3.209, allocations: 404.2 kB / 1.543 GB, free: 261.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/3.209, allocations: 137.8 kB / 1.543 GB, free: 261.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/3.209, allocations: 95.92 kB / 1.544 GB, free: 261 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00598/3.215, allocations: 3.224 MB / 1.547 GB, free: 257.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.51e-07/3.215, allocations: 0 / 1.547 GB, free: 257.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.009819/3.225, allocations: 2.713 MB / 1.549 GB, free: 255.3 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003095/3.228, allocations: 1.259 MB / 1.551 GB, free: 254.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0156/3.244, allocations: 5.549 MB / 1.556 GB, free: 248.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/3.244, allocations: 4.125 kB / 1.556 GB, free: 248.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004549/3.248, allocations: 1.757 MB / 1.558 GB, free: 247 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01424/3.263, allocations: 2.658 MB / 1.56 GB, free: 244.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/3.283, allocations: 11.4 MB / 1.571 GB, free: 233.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/3.287, allocations: 2.807 MB / 1.574 GB, free: 230.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006777/3.294, allocations: 1.134 MB / 1.575 GB, free: 229.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/3.295, allocations: 359.3 kB / 1.576 GB, free: 229 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/3.295, allocations: 0 / 1.576 GB, free: 229 MB / 0.9825 GB Notification: Performance of Templates: time 0.1604/3.455, allocations: 112.5 MB / 1.686 GB, free: 117.6 MB / 0.9825 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)