Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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-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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_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.0009703/0.0009704, allocations: 110.2 kB / 16.42 MB, free: 6.488 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.0009929/0.000993, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.204/1.204, 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.05458/0.05458, allocations: 12.04 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.0004597/0.0004597, allocations: 23.89 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.736/1.736, allocations: 272.3 MB / 0.6657 GB, free: 18.34 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 107.8 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4616, allocations: 109.2 MB / 1 GB, free: 8.164 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.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.2092/0.6709, allocations: 242.2 MB / 1.237 GB, free: 13.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5056/1.177, allocations: 48.69 MB / 1.284 GB, free: 47.81 MB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008066/1.185, allocations: 288.1 kB / 1.284 GB, free: 47.81 MB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 0.007769/1.192, allocations: 3.446 MB / 1.288 GB, free: 47.81 MB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 0.01951/1.212, allocations: 8.803 MB / 1.296 GB, free: 47.69 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.01249/1.225, allocations: 6.466 MB / 1.303 GB, free: 47.54 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.02099/1.246, allocations: 17.41 MB / 1.32 GB, free: 47.48 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007422/1.253, allocations: 6.297 MB / 1.326 GB, free: 46.58 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/1.266, allocations: 6.987 MB / 1.333 GB, free: 46.33 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007302/1.273, allocations: 4.694 MB / 1.337 GB, free: 45.5 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/1.274, allocations: 0.6938 MB / 1.338 GB, free: 45.5 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008663/1.283, allocations: 3.767 MB / 1.342 GB, free: 45.43 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/1.284, allocations: 1.719 MB / 1.343 GB, free: 45.18 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.004648/1.289, allocations: 3.715 MB / 1.347 GB, free: 44.21 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/1.303, allocations: 12.01 MB / 1.359 GB, free: 41.62 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.303, allocations: 0 / 1.359 GB, free: 41.62 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.462e-06/1.303, allocations: 0 / 1.359 GB, free: 41.62 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0001697/1.303, allocations: 0 / 1.359 GB, free: 41.62 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01142/1.314, allocations: 7.191 MB / 1.366 GB, free: 37.72 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.314, allocations: 8.969 kB / 1.366 GB, free: 37.72 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/1.32, allocations: 1.339 MB / 1.367 GB, free: 37.09 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009982/1.33, allocations: 6.211 MB / 1.373 GB, free: 34.71 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/1.33, allocations: 287.7 kB / 1.373 GB, free: 34.71 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/1.331, allocations: 373.2 kB / 1.374 GB, free: 34.71 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007723/1.338, allocations: 4.536 MB / 1.378 GB, free: 33.31 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.325e-05/1.339, allocations: 10.03 kB / 1.378 GB, free: 33.31 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/1.339, allocations: 157.5 kB / 1.378 GB, free: 33.27 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/1.339, allocations: 91.94 kB / 1.378 GB, free: 33.18 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/1.346, allocations: 3.736 MB / 1.382 GB, free: 30.77 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.02149/1.367, allocations: 22.99 MB / 1.405 GB, free: 7.074 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/1.372, allocations: 3.007 MB / 1.407 GB, free: 3.941 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/1.374, allocations: 1.3 MB / 1.409 GB, free: 2.648 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.01085/1.385, allocations: 8.446 MB / 1.417 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003028/1.388, allocations: 1.472 MB / 1.418 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=184): time 3.567e-06/1.388, allocations: 0 / 1.418 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=184): time 0.01698/1.405, allocations: 5.159 MB / 1.423 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/1.405, allocations: 182.8 kB / 1.424 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007399/1.413, allocations: 4.864 MB / 1.428 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004032/1.413, allocations: 73.69 kB / 1.428 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002404/1.416, allocations: 2.657 MB / 1.431 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007207/1.416, allocations: 0.6269 MB / 1.432 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008531/1.417, allocations: 0.5662 MB / 1.432 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/1.417, allocations: 305.1 kB / 1.432 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/1.42, allocations: 1.176 MB / 1.434 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/1.423, allocations: 2.253 MB / 1.436 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5633/1.987, allocations: 89.32 MB / 1.523 GB, free: 12.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/1.987, allocations: 8 kB / 1.523 GB, free: 12.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.00916/1.996, allocations: 4.163 MB / 1.527 GB, free: 8.438 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/1.996, allocations: 87.33 kB / 1.527 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/1.996, allocations: 27.98 kB / 1.527 GB, free: 8.312 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.998, allocations: 0.6524 MB / 1.528 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/2, allocations: 0.6349 MB / 1.529 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/2.004, allocations: 3.038 MB / 1.531 GB, free: 3.949 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003863/2.008, allocations: 422.2 kB / 1.532 GB, free: 3.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/2.008, allocations: 148 kB / 1.532 GB, free: 3.391 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.00471/2.013, allocations: 2.312 MB / 1.534 GB, free: 1.078 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003365/2.016, allocations: 2.207 MB / 1.536 GB, free: 14.4 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5602/2.576, allocations: 89.06 MB / 1.623 GB, free: 5.426 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-05/2.576, allocations: 8 kB / 1.623 GB, free: 5.418 MB / 1.17 GB Notification: Performance of matching and sorting (n=338) (initialization_lambda0): time 0.01044/2.587, allocations: 4.052 MB / 1.627 GB, free: 1.496 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/2.587, allocations: 87.33 kB / 1.627 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.633e-05/2.587, allocations: 27.98 kB / 1.627 GB, free: 1.371 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/2.589, allocations: 0.6287 MB / 1.628 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/2.591, allocations: 0.5988 MB / 1.629 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/2.594, allocations: 1.837 MB / 1.63 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/2.598, allocations: 347 kB / 1.631 GB, free: 13.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/2.598, allocations: 140 kB / 1.631 GB, free: 13.83 MB / 1.186 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.001005/2.599, allocations: 0.5741 MB / 1.631 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/2.601, allocations: 0.5093 MB / 1.632 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/2.611, allocations: 4.016 MB / 1.636 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007685/2.619, allocations: 2.888 MB / 1.639 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/2.619, allocations: 0 / 1.639 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/2.621, allocations: 0.982 MB / 1.64 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/2.623, allocations: 40 kB / 1.64 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/2.626, allocations: 168 kB / 1.64 GB, free: 4.668 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/2.626, allocations: 121.8 kB / 1.64 GB, free: 4.547 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01017/2.636, allocations: 3.906 MB / 1.644 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009968/2.646, allocations: 4.973 MB / 1.649 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002561/2.649, allocations: 1.275 MB / 1.65 GB, free: 10.35 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006382/2.655, allocations: 3.311 MB / 1.653 GB, free: 7.039 MB / 1.201 GB Notification: Performance of Backend: time 6.01e-07/2.655, allocations: 0 / 1.653 GB, free: 7.039 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.67, allocations: 5.444 MB / 1.658 GB, free: 1.863 MB / 1.201 GB Notification: Performance of SimCode: time 0.02332/2.694, allocations: 11.26 MB / 1.669 GB, free: 6.789 MB / 1.217 GB Notification: Performance of Templates: time 0.5149/3.209, allocations: 120.3 MB / 1.787 GB, free: 0.5454 GB / 1.279 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpChiller.pipe 2>&1)