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-master/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-master/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.001437/0.001437, allocations: 109.1 kB / 16.41 MB, free: 6.449 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.001519/0.00152, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05537/0.05537, allocations: 12.05 MB / 303.2 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005389/0.0005387, allocations: 35.92 kB / 356.3 MB, free: 13.98 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.493/1.493, allocations: 268.2 MB / 0.6617 GB, free: 2.613 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 111.8 kB / 0.888 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5313, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumHeaPri.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter DHCsubstationHeatingDirectCooling.pumCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.2142/0.7455, allocations: 217.6 MB / 1.206 GB, free: 12.12 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.06398/0.8095, allocations: 45.36 MB / 1.251 GB, free: 14.66 MB / 0.9357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008576/0.8181, allocations: 266.5 kB / 1.251 GB, free: 14.4 MB / 0.9357 GB Notification: Performance of NFTyping.typeComponents: time 0.008838/0.827, allocations: 3.153 MB / 1.254 GB, free: 11.23 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.8475, allocations: 8.003 MB / 1.262 GB, free: 3.195 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.0156/0.8631, allocations: 6.702 MB / 1.268 GB, free: 12.54 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.5438/1.407, allocations: 16.69 MB / 1.285 GB, free: 45.23 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/1.418, allocations: 5.912 MB / 1.29 GB, free: 44.47 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01776/1.436, allocations: 6.656 MB / 1.297 GB, free: 44.44 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009836/1.446, allocations: 4.496 MB / 1.301 GB, free: 43.99 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002864/1.449, allocations: 0.6507 MB / 1.302 GB, free: 43.99 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/1.46, allocations: 3.709 MB / 1.306 GB, free: 43.99 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.003205/1.464, allocations: 1.633 MB / 1.307 GB, free: 43.76 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.007308/1.471, allocations: 3.484 MB / 1.311 GB, free: 42.85 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01933/1.49, allocations: 11.34 MB / 1.322 GB, free: 41.52 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.491, allocations: 0 / 1.322 GB, free: 41.52 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.843e-06/1.491, allocations: 0 / 1.322 GB, free: 41.52 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0003176/1.491, allocations: 0 / 1.322 GB, free: 41.52 MB / 0.9513 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.01736/1.508, allocations: 6.917 MB / 1.328 GB, free: 38.42 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.508, allocations: 9.438 kB / 1.328 GB, free: 38.42 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006669/1.515, allocations: 1.244 MB / 1.33 GB, free: 38.04 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/1.528, allocations: 5.778 MB / 1.335 GB, free: 36.96 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/1.528, allocations: 268 kB / 1.336 GB, free: 36.96 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.529, allocations: 353.5 kB / 1.336 GB, free: 36.95 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009795/1.539, allocations: 4.175 MB / 1.34 GB, free: 36.46 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-05/1.539, allocations: 6.469 kB / 1.34 GB, free: 36.46 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004528/1.54, allocations: 140.6 kB / 1.34 GB, free: 36.46 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/1.54, allocations: 82.19 kB / 1.34 GB, free: 36.46 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009289/1.549, allocations: 3.542 MB / 1.344 GB, free: 36.4 MB / 0.9513 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.0302/1.579, allocations: 20.06 MB / 1.363 GB, free: 27.83 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/1.585, allocations: 2.411 MB / 1.366 GB, free: 27.76 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/1.588, allocations: 1.462 MB / 1.367 GB, free: 27.73 MB / 0.9513 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.01068/1.599, allocations: 8.32 MB / 1.375 GB, free: 22.09 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002928/1.602, allocations: 1.474 MB / 1.377 GB, free: 21.65 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=207): time 4.268e-06/1.602, allocations: 3.125 kB / 1.377 GB, free: 21.65 MB / 0.9513 GB Notification: Performance of matching and sorting (n=207): time 0.01455/1.616, allocations: 5.037 MB / 1.381 GB, free: 20.13 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/1.616, allocations: 132 kB / 1.382 GB, free: 20 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/1.623, allocations: 4.396 MB / 1.386 GB, free: 18.99 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0005508/1.624, allocations: 76.2 kB / 1.386 GB, free: 18.96 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002042/1.626, allocations: 2.433 MB / 1.388 GB, free: 18.03 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.627, allocations: 0.7438 MB / 1.389 GB, free: 17.48 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008414/1.627, allocations: 0.5464 MB / 1.39 GB, free: 17.37 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/1.628, allocations: 304 kB / 1.39 GB, free: 17.07 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.63, allocations: 1.23 MB / 1.391 GB, free: 16.87 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/1.633, allocations: 2.136 MB / 1.393 GB, free: 15.59 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04417/1.677, allocations: 10.37 MB / 1.403 GB, free: 8.078 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.432e-05/1.677, allocations: 4 kB / 1.403 GB, free: 8.074 MB / 0.9513 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01032/1.688, allocations: 4.204 MB / 1.407 GB, free: 4.746 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/1.688, allocations: 79.39 kB / 1.407 GB, free: 4.656 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.688, allocations: 20 kB / 1.407 GB, free: 4.637 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/1.689, allocations: 392.4 kB / 1.408 GB, free: 4.254 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/1.692, allocations: 0.6963 MB / 1.409 GB, free: 3.598 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/1.695, allocations: 4.308 MB / 1.413 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/1.699, allocations: 403.1 kB / 1.413 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005272/1.699, allocations: 143.9 kB / 1.413 GB, free: 14.55 MB / 0.9669 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.005474/1.705, allocations: 2.327 MB / 1.416 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003782/1.709, allocations: 2.091 MB / 1.418 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04727/1.756, allocations: 10.14 MB / 1.427 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.592e-05/1.756, allocations: 12 kB / 1.427 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01147/1.768, allocations: 4.104 MB / 1.432 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/1.768, allocations: 77.42 kB / 1.432 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/1.768, allocations: 28 kB / 1.432 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.769, allocations: 365.7 kB / 1.432 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/1.772, allocations: 0.6508 MB / 1.433 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/1.775, allocations: 2.527 MB / 1.435 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/1.779, allocations: 348.2 kB / 1.435 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005549/1.78, allocations: 136 kB / 1.436 GB, free: 7.094 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: 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.001382/1.781, allocations: 0.5998 MB / 1.436 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/1.783, allocations: 0.5006 MB / 1.437 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.794, allocations: 4.244 MB / 1.441 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/1.794, allocations: 31.98 kB / 1.441 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.794, allocations: 0 / 1.441 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007212/1.801, allocations: 3.316 MB / 1.444 GB, free: 14.3 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.826, allocations: 8.889 MB / 1.453 GB, free: 5.352 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.826, allocations: 0 / 1.453 GB, free: 5.352 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.828, allocations: 466.2 kB / 1.453 GB, free: 4.914 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/1.83, allocations: 332.6 kB / 1.453 GB, free: 4.586 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004034/1.83, allocations: 75.95 kB / 1.454 GB, free: 4.512 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004221/1.834, allocations: 4.335 MB / 1.458 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.834, allocations: 4 kB / 1.458 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/1.85, allocations: 5.699 MB / 1.463 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003437/1.854, allocations: 0.9928 MB / 1.464 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/1.855, allocations: 51.94 kB / 1.464 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.859, allocations: 173.6 kB / 1.465 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004447/1.86, allocations: 149.1 kB / 1.465 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004432/1.86, allocations: 99.92 kB / 1.465 GB, free: 8.676 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.007598/1.868, allocations: 2.989 MB / 1.468 GB, free: 5.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.01e-07/1.868, allocations: 0 / 1.468 GB, free: 5.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01202/1.88, allocations: 2.697 MB / 1.47 GB, free: 3.004 MB / 1.014 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.003814/1.884, allocations: 1.354 MB / 1.472 GB, free: 1.781 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01525/1.899, allocations: 5.516 MB / 1.477 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.899, allocations: 4 kB / 1.477 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005211/1.904, allocations: 1.877 MB / 1.479 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01522/1.92, allocations: 2.642 MB / 1.481 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.942, allocations: 9.385 MB / 1.491 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004263/1.946, allocations: 2.698 MB / 1.493 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/1.948, allocations: 410.1 kB / 1.494 GB, free: 11.64 MB / 1.045 GB Notification: Performance of SimCode: time 1.923e-06/1.948, allocations: 0 / 1.494 GB, free: 11.64 MB / 1.045 GB Notification: Performance of Templates: time 0.3422/2.29, allocations: 229.3 MB / 1.718 GB, free: 7.27 MB / 1.264 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)