Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005179/0.005179, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001267/0.001267, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0525/0.0525, allocations: 12.04 MB / 302.6 MB, free: 3.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004655/0.0004657, allocations: 27.95 kB / 355.6 MB, free: 13.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.379/1.379, allocations: 268.3 MB / 0.6611 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 111.8 kB / 0.8873 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4559, allocations: 108.4 MB / 0.9931 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.1987/0.6546, allocations: 217.6 MB / 1.206 GB, free: 6.742 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.4971/1.152, allocations: 45.34 MB / 1.25 GB, free: 33.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008497/1.16, allocations: 268.2 kB / 1.25 GB, free: 33.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.007775/1.168, allocations: 3.14 MB / 1.253 GB, free: 33.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01807/1.186, allocations: 7.743 MB / 1.261 GB, free: 32.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01353/1.2, allocations: 6.689 MB / 1.267 GB, free: 32.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02021/1.22, allocations: 16.67 MB / 1.284 GB, free: 32.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009494/1.23, allocations: 5.911 MB / 1.289 GB, free: 31.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01486/1.244, allocations: 6.648 MB / 1.296 GB, free: 31.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008267/1.253, allocations: 4.497 MB / 1.3 GB, free: 30.55 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002186/1.255, allocations: 0.6496 MB / 1.301 GB, free: 30.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/1.265, allocations: 3.708 MB / 1.305 GB, free: 30.49 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002454/1.268, allocations: 1.626 MB / 1.306 GB, free: 30.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005568/1.273, allocations: 3.489 MB / 1.31 GB, free: 29.34 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/1.288, allocations: 11.31 MB / 1.321 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.288, allocations: 0 / 1.321 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/1.288, allocations: 0 / 1.321 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001879/1.288, allocations: 0 / 1.321 GB, free: 22.89 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01201/1.3, allocations: 6.715 MB / 1.327 GB, free: 18.15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.3, allocations: 12.34 kB / 1.327 GB, free: 18.15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/1.306, allocations: 1.207 MB / 1.328 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008855/1.315, allocations: 5.732 MB / 1.334 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/1.315, allocations: 270.7 kB / 1.334 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/1.316, allocations: 359.9 kB / 1.335 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/1.322, allocations: 4.166 MB / 1.339 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.394e-05/1.322, allocations: 6.625 kB / 1.339 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/1.323, allocations: 140 kB / 1.339 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/1.323, allocations: 91.08 kB / 1.339 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006199/1.329, allocations: 3.545 MB / 1.342 GB, free: 3.156 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/1.356, allocations: 20 MB / 1.362 GB, free: 14.48 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004978/1.361, allocations: 2.42 MB / 1.364 GB, free: 12.07 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002947/1.364, allocations: 1.462 MB / 1.366 GB, free: 10.61 MB / 0.9357 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.01129/1.375, allocations: 8.319 MB / 1.374 GB, free: 1.496 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003074/1.378, allocations: 1.468 MB / 1.375 GB, free: 8 kB / 0.9357 GB Notification: Performance of pre-optimization done (n=207): time 4.158e-06/1.378, allocations: 0 / 1.375 GB, free: 8 kB / 0.9357 GB Notification: Performance of matching and sorting (n=207): time 0.0144/1.393, allocations: 5.016 MB / 1.38 GB, free: 10.92 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/1.393, allocations: 136.7 kB / 1.38 GB, free: 10.76 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/1.401, allocations: 4.393 MB / 1.384 GB, free: 6.387 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/1.401, allocations: 76.59 kB / 1.385 GB, free: 6.309 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/1.404, allocations: 2.402 MB / 1.387 GB, free: 3.891 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/1.405, allocations: 0.7031 MB / 1.388 GB, free: 3.191 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.406, allocations: 0.5393 MB / 1.388 GB, free: 2.648 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/1.406, allocations: 313.1 kB / 1.388 GB, free: 2.34 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/1.409, allocations: 1.231 MB / 1.39 GB, free: 1.102 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.412, allocations: 2.139 MB / 1.392 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04621/1.458, allocations: 10.36 MB / 1.402 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/1.458, allocations: 8 kB / 1.402 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01024/1.469, allocations: 4.183 MB / 1.406 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/1.469, allocations: 79.39 kB / 1.406 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/1.469, allocations: 24 kB / 1.406 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/1.47, allocations: 378.2 kB / 1.406 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/1.473, allocations: 0.6942 MB / 1.407 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/1.476, allocations: 4.311 MB / 1.411 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/1.48, allocations: 394.2 kB / 1.412 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/1.48, allocations: 143.9 kB / 1.412 GB, free: 9.539 MB / 0.9825 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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.00471/1.485, allocations: 2.335 MB / 1.414 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003336/1.488, allocations: 2.087 MB / 1.416 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04509/1.533, allocations: 10.14 MB / 1.426 GB, free: 10.24 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.88e-05/1.534, allocations: 4 kB / 1.426 GB, free: 10.23 MB / 0.9982 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.009571/1.543, allocations: 4.083 MB / 1.43 GB, free: 6.102 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/1.543, allocations: 79.39 kB / 1.43 GB, free: 6.012 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/1.543, allocations: 20 kB / 1.43 GB, free: 5.992 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.544, allocations: 377.7 kB / 1.43 GB, free: 5.617 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.547, allocations: 0.6513 MB / 1.431 GB, free: 4.965 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.549, allocations: 2.514 MB / 1.434 GB, free: 2.293 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/1.553, allocations: 338.5 kB / 1.434 GB, free: 1.965 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/1.553, allocations: 140 kB / 1.434 GB, free: 1.828 MB / 0.9982 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.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 DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.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: 101 * 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 (313): * Single equations (assignments): 304 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/1.554, allocations: 0.5999 MB / 1.435 GB, free: 1.203 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.556, allocations: 490 kB / 1.435 GB, free: 0.7188 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/1.565, allocations: 4.245 MB / 1.439 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/1.565, allocations: 31.92 kB / 1.439 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.565, allocations: 0 / 1.439 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006193/1.571, allocations: 3.328 MB / 1.442 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.591, allocations: 8.865 MB / 1.451 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.591, allocations: 0 / 1.451 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/1.593, allocations: 462 kB / 1.452 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/1.594, allocations: 337.4 kB / 1.452 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/1.594, allocations: 75.94 kB / 1.452 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/1.598, allocations: 4.323 MB / 1.456 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.598, allocations: 3.938 kB / 1.456 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.611, allocations: 5.68 MB / 1.462 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002555/1.614, allocations: 0.9667 MB / 1.463 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.615, allocations: 51.98 kB / 1.463 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/1.618, allocations: 171.8 kB / 1.463 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/1.619, allocations: 157.7 kB / 1.463 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.619, allocations: 103.9 kB / 1.463 GB, free: 3.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.005986/1.625, allocations: 2.977 MB / 1.466 GB, free: 392 kB / 1.029 GB Notification: Performance of sort global known variables: time 2.134e-06/1.625, allocations: 0 / 1.466 GB, free: 392 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.009511/1.635, allocations: 2.678 MB / 1.469 GB, free: 13.7 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/1.638, allocations: 1.349 MB / 1.47 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.65, allocations: 5.5 MB / 1.475 GB, free: 6.902 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.65, allocations: 3.938 kB / 1.475 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/1.654, allocations: 1.887 MB / 1.477 GB, free: 4.977 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/1.666, allocations: 2.63 MB / 1.48 GB, free: 2.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.683, allocations: 9.106 MB / 1.489 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002957/1.686, allocations: 2.698 MB / 1.491 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004788/1.691, allocations: 1.177 MB / 1.492 GB, free: 5.688 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.692, allocations: 395.2 kB / 1.493 GB, free: 5.301 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/1.692, allocations: 0 / 1.493 GB, free: 5.301 MB / 1.061 GB Notification: Performance of Templates: time 0.1523/1.844, allocations: 109.8 MB / 1.6 GB, free: 8.773 MB / 1.17 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)