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.005061/0.005061, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001213/0.001214, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1346/0.1346, allocations: 12 MB / 302.5 MB, free: 0.8672 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004334/0.0004335, allocations: 27.95 kB / 355.6 MB, free: 3.625 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.622/1.622, allocations: 268.1 MB / 0.661 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 115.8 kB / 0.8872 GB, free: 104 kB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1761, allocations: 108.4 MB / 0.993 GB, free: 3.812 MB / 0.7013 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.pumHea.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.DHCSubstationHeatPumpChiller): time 0.5595/0.7357, allocations: 242.2 MB / 1.23 GB, free: 1.965 MB / 0.8732 GB Notification: Performance of NFInst.instExpressions: time 0.05755/0.7932, allocations: 48.69 MB / 1.277 GB, free: 1.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008259/0.8015, allocations: 290.3 kB / 1.277 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007526/0.8091, allocations: 3.44 MB / 1.281 GB, free: 13.42 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02026/0.8294, allocations: 8.802 MB / 1.289 GB, free: 4.594 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/0.8423, allocations: 6.474 MB / 1.296 GB, free: 14.17 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.0192/0.8615, allocations: 17.43 MB / 1.313 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008029/0.8696, allocations: 6.29 MB / 1.319 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.8826, allocations: 6.988 MB / 1.326 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007301/0.8899, allocations: 4.691 MB / 1.33 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.8918, allocations: 0.6953 MB / 1.331 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008566/0.9003, allocations: 3.768 MB / 1.335 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002124/0.9025, allocations: 1.717 MB / 1.336 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005351/0.9078, allocations: 3.71 MB / 1.34 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.9215, allocations: 12 MB / 1.352 GB, free: 4.668 MB / 0.9982 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9215, allocations: 0 / 1.352 GB, free: 4.668 MB / 0.9982 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9215, allocations: 0 / 1.352 GB, free: 4.668 MB / 0.9982 GB Notification: Performance of Transformations before backend: time 0.0001044/0.9216, allocations: 3.938 kB / 1.352 GB, free: 4.664 MB / 0.9982 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.01123/0.9328, allocations: 7.196 MB / 1.359 GB, free: 13.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.9329, allocations: 15.89 kB / 1.359 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/0.9385, allocations: 1.335 MB / 1.36 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.9485, allocations: 6.215 MB / 1.366 GB, free: 5.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.9488, allocations: 283.1 kB / 1.366 GB, free: 5.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005271/0.9493, allocations: 372 kB / 1.367 GB, free: 5.066 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00794/0.9572, allocations: 4.53 MB / 1.371 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/0.9573, allocations: 15.78 kB / 1.371 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.9577, allocations: 152 kB / 1.371 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/0.9577, allocations: 88 kB / 1.371 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007757/0.9655, allocations: 3.742 MB / 1.375 GB, free: 12.33 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.9912, allocations: 23 MB / 1.397 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005232/0.9964, allocations: 3.007 MB / 1.4 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.999, allocations: 1.293 MB / 1.402 GB, free: 15.63 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01039/1.009, allocations: 8.462 MB / 1.41 GB, free: 6.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002963/1.012, allocations: 1.462 MB / 1.411 GB, free: 4.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=184): time 3.527e-06/1.012, allocations: 4 kB / 1.411 GB, free: 4.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=184): time 0.0162/1.029, allocations: 5.153 MB / 1.416 GB, free: 15.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/1.029, allocations: 183.5 kB / 1.417 GB, free: 15.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007115/1.036, allocations: 4.868 MB / 1.421 GB, free: 10.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/1.036, allocations: 69.7 kB / 1.421 GB, free: 10.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.038, allocations: 2.663 MB / 1.424 GB, free: 7.652 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005694/1.039, allocations: 0.6201 MB / 1.425 GB, free: 7.023 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008237/1.04, allocations: 0.5594 MB / 1.425 GB, free: 6.457 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/1.04, allocations: 301.1 kB / 1.425 GB, free: 6.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/1.042, allocations: 1.18 MB / 1.427 GB, free: 4.973 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/1.046, allocations: 2.248 MB / 1.429 GB, free: 2.238 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9082/1.954, allocations: 89.33 MB / 1.516 GB, free: 324.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/1.954, allocations: 8 kB / 1.516 GB, free: 324.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008575/1.962, allocations: 4.158 MB / 1.52 GB, free: 321.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/1.963, allocations: 83.98 kB / 1.52 GB, free: 321.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/1.963, allocations: 28 kB / 1.52 GB, free: 321.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/1.965, allocations: 0.6521 MB / 1.521 GB, free: 321 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.967, allocations: 0.6272 MB / 1.521 GB, free: 320.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/1.969, allocations: 3.044 MB / 1.524 GB, free: 317.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.973, allocations: 421.2 kB / 1.525 GB, free: 317.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/1.973, allocations: 154.1 kB / 1.525 GB, free: 317.2 MB / 1.076 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003986/1.977, allocations: 2.313 MB / 1.527 GB, free: 315.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00263/1.98, allocations: 2.206 MB / 1.529 GB, free: 312.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5289/2.509, allocations: 89.06 MB / 1.616 GB, free: 223.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.208e-05/2.509, allocations: 8 kB / 1.616 GB, free: 223.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008059/2.517, allocations: 4.054 MB / 1.62 GB, free: 219.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/2.517, allocations: 87.33 kB / 1.62 GB, free: 219.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/2.517, allocations: 28 kB / 1.62 GB, free: 219.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/2.519, allocations: 0.6239 MB / 1.621 GB, free: 219.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/2.52, allocations: 0.5967 MB / 1.622 GB, free: 218.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/2.523, allocations: 1.842 MB / 1.623 GB, free: 216.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/2.526, allocations: 343.7 kB / 1.624 GB, free: 216.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/2.526, allocations: 144 kB / 1.624 GB, free: 216.2 MB / 1.076 GB Warning: Assuming fixed start value for the following 4 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 14 (heatDemand.nextEventScaled,heatDemand.nextEvent,$PRE.heatDemand.nextEvent,heatDemand.last,heatDemand.b,heatDemand.a,coolingDemand.nextEventScaled,coolingDemand.nextEvent,$PRE.coolingDemand.nextEvent,coolingDemand.last,coolingDemand.b,coolingDemand.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 292 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006902/2.527, allocations: 0.5716 MB / 1.624 GB, free: 215.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009471/2.528, allocations: 0.5031 MB / 1.625 GB, free: 215.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008562/2.536, allocations: 4.032 MB / 1.629 GB, free: 211.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/2.537, allocations: 29 kB / 1.629 GB, free: 211.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.537, allocations: 0 / 1.629 GB, free: 211.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00643/2.543, allocations: 2.885 MB / 1.632 GB, free: 208.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/2.559, allocations: 8.818 MB / 1.64 GB, free: 199.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/2.559, allocations: 4 kB / 1.64 GB, free: 199.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/2.561, allocations: 371.8 kB / 1.641 GB, free: 199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/2.562, allocations: 0.5939 MB / 1.641 GB, free: 198.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/2.563, allocations: 55.97 kB / 1.641 GB, free: 198.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/2.566, allocations: 3.127 MB / 1.644 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/2.566, allocations: 11.88 kB / 1.644 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/2.577, allocations: 5.62 MB / 1.65 GB, free: 189.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/2.579, allocations: 0.971 MB / 1.651 GB, free: 188.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007775/2.58, allocations: 51.64 kB / 1.651 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/2.582, allocations: 175.8 kB / 1.651 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/2.583, allocations: 125.8 kB / 1.651 GB, free: 188.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/2.583, allocations: 96.47 kB / 1.651 GB, free: 188 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.004288/2.587, allocations: 3.319 MB / 1.654 GB, free: 184.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/2.587, allocations: 0 / 1.654 GB, free: 184.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005647/2.593, allocations: 2.725 MB / 1.657 GB, free: 182.1 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,13), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002095/2.595, allocations: 1.298 MB / 1.658 GB, free: 181 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009146/2.604, allocations: 5.046 MB / 1.663 GB, free: 176 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/2.604, allocations: 4 kB / 1.663 GB, free: 175.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003545/2.608, allocations: 1.652 MB / 1.665 GB, free: 174.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00869/2.616, allocations: 2.646 MB / 1.668 GB, free: 171.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/2.629, allocations: 9.129 MB / 1.676 GB, free: 162.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/2.631, allocations: 2.805 MB / 1.679 GB, free: 159.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003529/2.634, allocations: 1.115 MB / 1.68 GB, free: 158.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/2.635, allocations: 375.2 kB / 1.681 GB, free: 158.5 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/2.635, allocations: 0 / 1.681 GB, free: 158.5 MB / 1.076 GB Notification: Performance of Templates: time 0.1244/2.759, allocations: 109.8 MB / 1.788 GB, free: 49.64 MB / 1.076 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)