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.005294/0.005294, allocations: 99.59 kB / 15.73 MB, free: 6.035 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.001191/0.001192, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1631/0.1631, allocations: 12.01 MB / 302.5 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007237/0.0007237, allocations: 35.92 kB / 355.6 MB, free: 3.629 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.885/1.885, allocations: 268.1 MB / 0.661 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 104.3 kB / 0.8872 GB, free: 128 kB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.216, allocations: 108.4 MB / 0.993 GB, free: 3.828 MB / 0.7013 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller): time 0.6899/0.9059, allocations: 242.2 MB / 1.23 GB, free: 1.977 MB / 0.8732 GB Notification: Performance of NFInst.instExpressions: time 0.07216/0.9781, allocations: 48.69 MB / 1.277 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.9884, allocations: 286.4 kB / 1.277 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.9992, allocations: 3.436 MB / 1.281 GB, free: 13.45 MB / 0.9357 GB Notification: Performance of NFTyping.typeBindings: time 0.02351/1.023, allocations: 8.511 MB / 1.289 GB, free: 4.902 MB / 0.9357 GB Notification: Performance of NFTyping.typeClassSections: time 0.01756/1.04, allocations: 6.46 MB / 1.295 GB, free: 14.49 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02471/1.065, allocations: 17.37 MB / 1.312 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/1.077, allocations: 6.292 MB / 1.318 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01723/1.094, allocations: 6.805 MB / 1.325 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/1.105, allocations: 4.691 MB / 1.33 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003422/1.109, allocations: 0.6914 MB / 1.33 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/1.12, allocations: 3.772 MB / 1.334 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003051/1.123, allocations: 1.713 MB / 1.336 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007347/1.13, allocations: 3.721 MB / 1.339 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02228/1.152, allocations: 12.04 MB / 1.351 GB, free: 5.168 MB / 0.9982 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.152, allocations: 0 / 1.351 GB, free: 5.168 MB / 0.9982 GB Notification: Performance of FrontEnd: time 2.234e-06/1.152, allocations: 0 / 1.351 GB, free: 5.168 MB / 0.9982 GB Notification: Performance of Transformations before backend: time 0.0004266/1.153, allocations: 0 / 1.351 GB, free: 5.168 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.02081/1.174, allocations: 7.419 MB / 1.358 GB, free: 13.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.761e-05/1.174, allocations: 15.89 kB / 1.358 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006864/1.181, allocations: 1.37 MB / 1.36 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/1.193, allocations: 6.263 MB / 1.366 GB, free: 5.914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/1.193, allocations: 287.1 kB / 1.366 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000769/1.194, allocations: 383.9 kB / 1.366 GB, free: 5.258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00916/1.203, allocations: 4.522 MB / 1.371 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-05/1.203, allocations: 7.938 kB / 1.371 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/1.204, allocations: 160 kB / 1.371 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/1.204, allocations: 91.94 kB / 1.371 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009414/1.213, allocations: 3.738 MB / 1.375 GB, free: 12.53 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.03594/1.249, allocations: 23.04 MB / 1.397 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/1.255, allocations: 3.003 MB / 1.4 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/1.258, allocations: 1.293 MB / 1.401 GB, free: 15.8 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.0129/1.271, allocations: 8.478 MB / 1.41 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003115/1.274, allocations: 1.466 MB / 1.411 GB, free: 4.887 MB / 1.061 GB Notification: Performance of pre-optimization done (n=184): time 3.437e-06/1.274, allocations: 0 / 1.411 GB, free: 4.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=184): time 0.02151/1.295, allocations: 5.175 MB / 1.416 GB, free: 15.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.296, allocations: 187.5 kB / 1.416 GB, free: 15.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008985/1.305, allocations: 4.865 MB / 1.421 GB, free: 10.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006331/1.305, allocations: 69.7 kB / 1.421 GB, free: 10.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/1.308, allocations: 2.703 MB / 1.424 GB, free: 7.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.309, allocations: 0.6585 MB / 1.425 GB, free: 7.086 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009344/1.31, allocations: 0.5598 MB / 1.425 GB, free: 6.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.31, allocations: 309.1 kB / 1.425 GB, free: 6.215 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/1.313, allocations: 1.172 MB / 1.427 GB, free: 5.035 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003575/1.317, allocations: 2.252 MB / 1.429 GB, free: 2.297 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9631/2.28, allocations: 89.32 MB / 1.516 GB, free: 324.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/2.28, allocations: 8 kB / 1.516 GB, free: 324.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009007/2.289, allocations: 4.188 MB / 1.52 GB, free: 321.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/2.289, allocations: 83.5 kB / 1.52 GB, free: 321.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/2.289, allocations: 28 kB / 1.52 GB, free: 321.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/2.291, allocations: 0.6585 MB / 1.521 GB, free: 320.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/2.293, allocations: 0.624 MB / 1.521 GB, free: 320.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/2.296, allocations: 3.036 MB / 1.524 GB, free: 317.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/2.3, allocations: 425 kB / 1.525 GB, free: 317.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/2.301, allocations: 158.5 kB / 1.525 GB, free: 317.1 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.004483/2.305, allocations: 2.313 MB / 1.527 GB, free: 315.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002717/2.308, allocations: 2.21 MB / 1.529 GB, free: 312.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5066/2.814, allocations: 89.06 MB / 1.616 GB, free: 223.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.458e-05/2.814, allocations: 8 kB / 1.616 GB, free: 223.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.008295/2.823, allocations: 4.088 MB / 1.62 GB, free: 219.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/2.823, allocations: 87.31 kB / 1.62 GB, free: 219.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/2.823, allocations: 28 kB / 1.62 GB, free: 219.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/2.825, allocations: 0.6194 MB / 1.621 GB, free: 219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/2.827, allocations: 0.5967 MB / 1.622 GB, free: 218.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/2.829, allocations: 1.844 MB / 1.623 GB, free: 216.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/2.833, allocations: 347.6 kB / 1.624 GB, free: 216.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/2.833, allocations: 148 kB / 1.624 GB, free: 216.1 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.0008096/2.834, allocations: 0.5571 MB / 1.624 GB, free: 215.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/2.835, allocations: 0.5394 MB / 1.625 GB, free: 215 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/2.844, allocations: 4.024 MB / 1.629 GB, free: 211 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/2.844, allocations: 31.92 kB / 1.629 GB, free: 211 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/2.844, allocations: 0 / 1.629 GB, free: 211 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006403/2.85, allocations: 2.884 MB / 1.632 GB, free: 208.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/2.867, allocations: 8.83 MB / 1.64 GB, free: 199.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/2.868, allocations: 4 kB / 1.64 GB, free: 199.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/2.869, allocations: 367.8 kB / 1.641 GB, free: 198.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/2.871, allocations: 0.5903 MB / 1.641 GB, free: 198.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/2.871, allocations: 63.95 kB / 1.641 GB, free: 198.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/2.874, allocations: 3.115 MB / 1.644 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.874, allocations: 11.88 kB / 1.644 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/2.886, allocations: 5.648 MB / 1.65 GB, free: 189.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/2.889, allocations: 1.001 MB / 1.651 GB, free: 188.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009844/2.89, allocations: 44 kB / 1.651 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/2.892, allocations: 175 kB / 1.651 GB, free: 188.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/2.893, allocations: 141.7 kB / 1.651 GB, free: 187.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/2.893, allocations: 95.94 kB / 1.651 GB, free: 187.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.004322/2.897, allocations: 3.307 MB / 1.655 GB, free: 184.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.71e-07/2.897, allocations: 0 / 1.655 GB, free: 184.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.006118/2.903, allocations: 2.753 MB / 1.657 GB, free: 182 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.002123/2.906, allocations: 1.329 MB / 1.659 GB, free: 180.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009604/2.915, allocations: 5.035 MB / 1.663 GB, free: 175.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.915, allocations: 0 / 1.663 GB, free: 175.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/2.919, allocations: 1.645 MB / 1.665 GB, free: 174.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/2.929, allocations: 2.648 MB / 1.668 GB, free: 171.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/2.942, allocations: 9.312 MB / 1.677 GB, free: 162.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/2.944, allocations: 2.807 MB / 1.679 GB, free: 159.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004097/2.948, allocations: 1.124 MB / 1.681 GB, free: 158.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007753/2.949, allocations: 367.3 kB / 1.681 GB, free: 158.1 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/2.949, allocations: 0 / 1.681 GB, free: 158.1 MB / 1.076 GB Notification: Performance of Templates: time 0.1384/3.087, allocations: 109.8 MB / 1.788 GB, free: 49.27 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)