Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001023/0.001023, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2341/0.2341, allocations: 12.01 MB / 303 MB, free: 1.727 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000353/0.0003531, allocations: 19.95 kB / 357.1 MB, free: 3.176 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-development/package.mo): time 1.81/1.81, allocations: 268.6 MB / 0.6638 GB, free: 1.742 MB / 462.1 MB Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005699, allocations: 20 kB / 0.7845 GB, free: 32.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2773, allocations: 110.5 MB / 0.8924 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.6861/0.9634, allocations: 181.3 MB / 1.069 GB, free: 29.37 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06593/1.029, allocations: 39.38 MB / 1.108 GB, free: 28.54 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01659/1.046, allocations: 216.9 kB / 1.108 GB, free: 28.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01451/1.061, allocations: 2.676 MB / 1.111 GB, free: 27.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03365/1.094, allocations: 7.681 MB / 1.118 GB, free: 25.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.02014/1.114, allocations: 5.9 MB / 1.124 GB, free: 22.54 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02186/1.136, allocations: 9.395 MB / 1.133 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008564/1.145, allocations: 4.1 MB / 1.137 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01427/1.159, allocations: 4.445 MB / 1.142 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008974/1.168, allocations: 2.86 MB / 1.144 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002098/1.17, allocations: 216.1 kB / 1.145 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/1.184, allocations: 2.679 MB / 1.147 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00342/1.187, allocations: 1.07 MB / 1.148 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00408/1.191, allocations: 1.305 MB / 1.149 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/1.207, allocations: 8.542 MB / 1.158 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.207, allocations: 0 / 1.158 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.946e-06/1.207, allocations: 3.938 kB / 1.158 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003246/1.207, allocations: 0 / 1.158 GB, free: 1.309 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 857 * Number of variables: 857 Notification: Performance of Generate backend data structure: time 0.01382/1.221, allocations: 5.581 MB / 1.163 GB, free: 11.63 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.221, allocations: 8.031 kB / 1.163 GB, free: 11.62 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006992/1.228, allocations: 1.314 MB / 1.165 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/1.241, allocations: 5.298 MB / 1.17 GB, free: 4.93 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/1.242, allocations: 463 kB / 1.17 GB, free: 4.477 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/1.243, allocations: 366.6 kB / 1.171 GB, free: 4.121 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008497/1.251, allocations: 4.161 MB / 1.175 GB, free: 15.82 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/1.252, allocations: 3.938 kB / 1.175 GB, free: 15.82 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/1.252, allocations: 140 kB / 1.175 GB, free: 15.68 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/1.252, allocations: 80 kB / 1.175 GB, free: 15.6 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/1.26, allocations: 3.624 MB / 1.178 GB, free: 11.97 MB / 0.7638 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.03181/1.292, allocations: 20.19 MB / 1.198 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005537/1.298, allocations: 2.509 MB / 1.201 GB, free: 4.23 MB / 0.7794 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.0153/1.313, allocations: 8.391 MB / 1.209 GB, free: 10.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00314/1.316, allocations: 1.524 MB / 1.21 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002736/1.319, allocations: 285.5 kB / 1.21 GB, free: 9.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=210): time 6.221e-06/1.319, allocations: 0 / 1.21 GB, free: 9.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=210): time 0.01459/1.333, allocations: 5.231 MB / 1.216 GB, free: 3.844 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.334, allocations: 136.8 kB / 1.216 GB, free: 3.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007818/1.341, allocations: 4.488 MB / 1.22 GB, free: 15.21 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005516/1.342, allocations: 73.69 kB / 1.22 GB, free: 15.14 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/1.345, allocations: 2.386 MB / 1.222 GB, free: 12.73 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.346, allocations: 0.7085 MB / 1.223 GB, free: 12.01 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/1.346, allocations: 52 kB / 1.223 GB, free: 11.96 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.346, allocations: 415.4 kB / 1.224 GB, free: 11.55 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/1.349, allocations: 1.219 MB / 1.225 GB, free: 10.33 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/1.353, allocations: 2.138 MB / 1.227 GB, free: 7.797 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/1.356, allocations: 1.522 MB / 1.228 GB, free: 6.27 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/1.356, allocations: 8 kB / 1.228 GB, free: 6.262 MB / 0.8107 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01039/1.366, allocations: 4.081 MB / 1.232 GB, free: 2.152 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 0.004807/1.371, allocations: 10.48 MB / 1.243 GB, free: 6.809 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-05/1.371, allocations: 20 kB / 1.243 GB, free: 6.789 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.373, allocations: 372.6 kB / 1.243 GB, free: 6.422 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/1.377, allocations: 0.7294 MB / 1.244 GB, free: 5.691 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/1.379, allocations: 2.768 MB / 1.246 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/1.385, allocations: 444.6 kB / 1.247 GB, free: 2.395 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007675/1.386, allocations: 140 kB / 1.247 GB, free: 2.258 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.386, allocations: 4 kB / 1.247 GB, free: 2.254 MB / 0.8263 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01001/1.396, allocations: 3.659 MB / 1.251 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.65e-05/1.396, allocations: 24 kB / 1.251 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.397, allocations: 360.7 kB / 1.251 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/1.4, allocations: 0.6787 MB / 1.252 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/1.402, allocations: 0.9787 MB / 1.253 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005405/1.407, allocations: 430.3 kB / 1.253 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/1.408, allocations: 143.9 kB / 1.253 GB, free: 11.95 MB / 0.8419 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.dirCoo.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.dirCoo.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.dirCoo.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.dirCoo.dynBal.p_start, DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.dirCoo.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.jun.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.jun.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.jun.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.jun.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.jun.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol1.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol1.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol1.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol1.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol1.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol1.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,$PRE.coolingDemand.nextEvent,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,$PRE.heatDemand.nextEvent,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 308 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.005006/1.413, allocations: 1.45 MB / 1.254 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/1.415, allocations: 490 kB / 1.255 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.427, allocations: 4.285 MB / 1.259 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-05/1.427, allocations: 27.98 kB / 1.259 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/1.427, allocations: 0 / 1.259 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006988/1.434, allocations: 3.327 MB / 1.262 GB, free: 2.262 MB / 0.8419 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 postOpt removeSimpleEquations (simulation): time 0.026/1.46, allocations: 9.165 MB / 1.271 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.46, allocations: 4 kB / 1.271 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.462, allocations: 499.5 kB / 1.272 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/1.464, allocations: 339.6 kB / 1.272 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/1.464, allocations: 71.95 kB / 1.272 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/1.467, allocations: 2.798 MB / 1.275 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.467, allocations: 4 kB / 1.275 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.48, allocations: 5.977 MB / 1.281 GB, free: 15.01 MB / 0.8732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003463/1.484, allocations: 1.053 MB / 1.282 GB, free: 13.93 MB / 0.8732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.485, allocations: 48 kB / 1.282 GB, free: 13.88 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003761/1.489, allocations: 435.2 kB / 1.282 GB, free: 13.46 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/1.489, allocations: 149.7 kB / 1.282 GB, free: 13.31 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/1.489, allocations: 107.9 kB / 1.283 GB, free: 13.21 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.005807/1.495, allocations: 3.055 MB / 1.286 GB, free: 10.17 MB / 0.8732 GB Notification: Performance of sort global known variables: time 7.31e-07/1.495, allocations: 4 kB / 1.286 GB, free: 10.17 MB / 0.8732 GB Notification: Performance of remove unused functions: time 0.01136/1.506, allocations: 2.729 MB / 1.288 GB, free: 7.434 MB / 0.8732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (senTem.T,senTem1.T,DHCsubstationHeatingDirectCooling.vol.dynBal.U,DHCsubstationHeatingDirectCooling.vol1.dynBal.U,DHCsubstationHeatingDirectCooling.jun.vol.dynBal.U,DHCsubstationHeatingDirectCooling.jun1.vol.dynBal.U,DHCsubstationHeatingDirectCooling.dirCoo.dynBal.U,DHCsubstationHeatingDirectCooling.senT_heaPumOutPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumInPri.T,DHCsubstationHeatingDirectCooling.senT_heaPumOutSec.T,DHCsubstationHeatingDirectCooling.senT_heaPumInSec.T,DHCsubstationHeatingDirectCooling.senT_dirCooInPri.T,DHCsubstationHeatingDirectCooling.senT_dirCooOutPri.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,coolingDemand.a,coolingDemand.b,coolingDemand.last,coolingDemand.nextEvent,coolingDemand.nextEventScaled,heatDemand.a,heatDemand.b,heatDemand.last,heatDemand.nextEvent,heatDemand.nextEventScaled) * Number of discrete states: 12 (coolingDemand.nextEvent,coolingDemand.last,coolingDemand.nextEventScaled,coolingDemand.b,coolingDemand.a,$whenCondition2,heatDemand.nextEvent,heatDemand.last,heatDemand.nextEventScaled,heatDemand.b,heatDemand.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002791/1.509, allocations: 1.366 MB / 1.29 GB, free: 6.117 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.521, allocations: 5.348 MB / 1.295 GB, free: 0.7227 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.521, allocations: 4 kB / 1.295 GB, free: 0.7188 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/1.525, allocations: 1.822 MB / 1.297 GB, free: 14.87 MB / 0.8888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/1.538, allocations: 2.541 MB / 1.299 GB, free: 12.42 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/1.562, allocations: 10.87 MB / 1.31 GB, free: 1.539 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/1.565, allocations: 2.807 MB / 1.312 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.006515/1.572, allocations: 1.209 MB / 1.314 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.573, allocations: 399.3 kB / 1.314 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of SimCode: time 1.423e-06/1.573, allocations: 3.938 kB / 1.314 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.6094/2.183, allocations: 107 MB / 1.418 GB, free: 363.8 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)