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-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.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.0009357/0.0009358, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1785/0.1785, allocations: 12.04 MB / 304.1 MB, free: 1.656 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002205/0.0002206, allocations: 19.91 kB / 358.2 MB, free: 3.062 MB / 286.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.81/1.81, allocations: 270.9 MB / 0.6672 GB, free: 15.26 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000548/0.0005481, allocations: 22.95 kB / 0.7887 GB, free: 31.53 MB / 0.5451 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2004, allocations: 111 MB / 0.8971 GB, free: 12.45 MB / 0.6076 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5905/0.7909, allocations: 212.7 MB / 1.105 GB, free: 22.69 MB / 0.7326 GB Notification: Performance of NFInst.instExpressions: time 0.05264/0.8436, allocations: 45.01 MB / 1.149 GB, free: 4.805 MB / 0.7326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.8543, allocations: 231.2 kB / 1.149 GB, free: 4.711 MB / 0.7326 GB Notification: Performance of NFTyping.typeComponents: time 0.008863/0.8632, allocations: 2.628 MB / 1.152 GB, free: 2.539 MB / 0.7326 GB Notification: Performance of NFTyping.typeBindings: time 0.02187/0.8851, allocations: 7.28 MB / 1.159 GB, free: 12.7 MB / 0.7482 GB Notification: Performance of NFTyping.typeClassSections: time 0.01715/0.9023, allocations: 6.097 MB / 1.165 GB, free: 8.074 MB / 0.7482 GB Notification: Performance of NFFlatten.flatten: time 0.02694/0.9292, allocations: 21.34 MB / 1.186 GB, free: 8.227 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009946/0.9392, allocations: 4.688 MB / 1.19 GB, free: 3.453 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01336/0.9526, allocations: 5.235 MB / 1.195 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008492/0.9611, allocations: 4.281 MB / 1.199 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00164/0.9628, allocations: 212 kB / 1.2 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.9729, allocations: 3.307 MB / 1.203 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.9757, allocations: 1.167 MB / 1.204 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.007069/0.9827, allocations: 2.971 MB / 1.207 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.9958, allocations: 8.747 MB / 1.215 GB, free: 9.441 MB / 0.7951 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9958, allocations: 0 / 1.215 GB, free: 9.441 MB / 0.7951 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9958, allocations: 8 kB / 1.215 GB, free: 9.434 MB / 0.7951 GB Notification: Performance of Transformations before backend: time 0.0003105/0.9962, allocations: 0 / 1.215 GB, free: 9.434 MB / 0.7951 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.01238/1.009, allocations: 5.503 MB / 1.221 GB, free: 3.824 MB / 0.7951 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.009, allocations: 15.97 kB / 1.221 GB, free: 3.809 MB / 0.7951 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/1.015, allocations: 1.312 MB / 1.222 GB, free: 2.488 MB / 0.7951 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/1.027, allocations: 5.706 MB / 1.228 GB, free: 12.71 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/1.028, allocations: 467 kB / 1.228 GB, free: 12.25 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008213/1.029, allocations: 352 kB / 1.228 GB, free: 11.91 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009509/1.039, allocations: 4.219 MB / 1.233 GB, free: 7.555 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.856e-05/1.039, allocations: 7.906 kB / 1.233 GB, free: 7.547 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004317/1.039, allocations: 147.9 kB / 1.233 GB, free: 7.402 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/1.039, allocations: 88 kB / 1.233 GB, free: 7.316 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009329/1.049, allocations: 3.671 MB / 1.236 GB, free: 3.637 MB / 0.8107 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.02993/1.079, allocations: 19.78 MB / 1.256 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/1.085, allocations: 2.543 MB / 1.258 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003538/1.088, allocations: 1.525 MB / 1.26 GB, free: 10.75 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 preOpt evalFunc (simulation): time 0.0127/1.101, allocations: 8.341 MB / 1.268 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003545/1.104, allocations: 1.551 MB / 1.269 GB, free: 15.96 MB / 0.8576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002045/1.107, allocations: 257.7 kB / 1.27 GB, free: 15.71 MB / 0.8576 GB Notification: Performance of pre-optimization done (n=209): time 6.953e-06/1.107, allocations: 0 / 1.27 GB, free: 15.71 MB / 0.8576 GB Notification: Performance of matching and sorting (n=209): time 0.01668/1.123, allocations: 5.394 MB / 1.275 GB, free: 10.23 MB / 0.8576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/1.123, allocations: 128.8 kB / 1.275 GB, free: 10.08 MB / 0.8576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007311/1.131, allocations: 4.312 MB / 1.279 GB, free: 5.789 MB / 0.8576 GB Notification: Performance of collectPreVariables (initialization): time 0.0004729/1.131, allocations: 73.7 kB / 1.279 GB, free: 5.711 MB / 0.8576 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/1.133, allocations: 2.394 MB / 1.282 GB, free: 3.297 MB / 0.8576 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009573/1.134, allocations: 0.7123 MB / 1.282 GB, free: 2.574 MB / 0.8576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/1.135, allocations: 227.1 kB / 1.282 GB, free: 2.348 MB / 0.8576 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/1.135, allocations: 309.1 kB / 1.283 GB, free: 2.043 MB / 0.8576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/1.138, allocations: 1.282 MB / 1.284 GB, free: 0.7578 MB / 0.8576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003858/1.142, allocations: 2.186 MB / 1.286 GB, free: 14.18 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05229/1.194, allocations: 11.7 MB / 1.298 GB, free: 2.117 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/1.194, allocations: 8 kB / 1.298 GB, free: 2.109 MB / 0.8732 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009833/1.204, allocations: 4.321 MB / 1.302 GB, free: 13.74 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005474/1.205, allocations: 0.8079 MB / 1.303 GB, free: 12.61 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/1.205, allocations: 24 kB / 1.303 GB, free: 12.59 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/1.206, allocations: 414.7 kB / 1.303 GB, free: 12.18 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/1.209, allocations: 0.7177 MB / 1.304 GB, free: 11.46 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/1.213, allocations: 4.199 MB / 1.308 GB, free: 7.035 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/1.217, allocations: 432.6 kB / 1.308 GB, free: 6.613 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/1.218, allocations: 147.9 kB / 1.308 GB, free: 6.469 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.218, allocations: 1.094 kB / 1.308 GB, free: 6.469 MB / 0.8888 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008698/1.227, allocations: 3.805 MB / 1.312 GB, free: 2.625 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/1.227, allocations: 20 kB / 1.312 GB, free: 2.605 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/1.228, allocations: 400.3 kB / 1.313 GB, free: 2.211 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/1.231, allocations: 0.6709 MB / 1.313 GB, free: 1.539 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/1.234, allocations: 2.399 MB / 1.316 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00487/1.238, allocations: 432.7 kB / 1.316 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006198/1.239, allocations: 139.9 kB / 1.316 GB, free: 14.42 MB / 0.9044 GB Warning: Assuming fixed start value for the following 5 variables: DHCsubstationHeatingDirectCooling.vol.dynBal.U:VARIABLE(start = DHCsubstationHeatingDirectCooling.vol.dynBal.fluidVolume * DHCsubstationHeatingDirectCooling.vol.dynBal.rho_start * AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.DHCsubstationHeatingDirectCooling.vol.dynBal.Medium.setState_pTX(DHCsubstationHeatingDirectCooling.vol.dynBal.p_start, DHCsubstationHeatingDirectCooling.vol.dynBal.T_start, {})) + (DHCsubstationHeatingDirectCooling.vol.dynBal.T_start - 298.15) * 0.0 unit = "J" fixed = true nominal = 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.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.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.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (314): * Single equations (assignments): 305 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.003455/1.243, allocations: 1.459 MB / 1.317 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.244, allocations: 486 kB / 1.318 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009957/1.254, allocations: 4.416 MB / 1.322 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/1.254, allocations: 23.98 kB / 1.322 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.254, allocations: 4 kB / 1.322 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007489/1.261, allocations: 3.469 MB / 1.326 GB, free: 4.398 MB / 0.9044 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.02164/1.283, allocations: 9.124 MB / 1.335 GB, free: 11.08 MB / 0.9201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.283, allocations: 0 / 1.335 GB, free: 11.08 MB / 0.9201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/1.286, allocations: 495.6 kB / 1.335 GB, free: 10.6 MB / 0.9201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/1.287, allocations: 365.4 kB / 1.335 GB, free: 10.23 MB / 0.9201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/1.287, allocations: 71.95 kB / 1.335 GB, free: 10.16 MB / 0.9201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/1.291, allocations: 4.229 MB / 1.34 GB, free: 5.711 MB / 0.9201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.291, allocations: 3.938 kB / 1.34 GB, free: 5.707 MB / 0.9201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.303, allocations: 5.711 MB / 1.345 GB, free: 15.87 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.306, allocations: 0.9865 MB / 1.346 GB, free: 14.86 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/1.307, allocations: 55.94 kB / 1.346 GB, free: 14.8 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/1.31, allocations: 423.3 kB / 1.347 GB, free: 14.39 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/1.31, allocations: 153.7 kB / 1.347 GB, free: 14.24 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.31, allocations: 104 kB / 1.347 GB, free: 14.14 MB / 0.9357 GB Notification: Performance of sorting global known variables: time 0.005371/1.315, allocations: 2.923 MB / 1.35 GB, free: 11.23 MB / 0.9357 GB Notification: Performance of sort global known variables: time 4.71e-07/1.316, allocations: 0 / 1.35 GB, free: 11.23 MB / 0.9357 GB Notification: Performance of remove unused functions: time 0.007585/1.323, allocations: 2.666 MB / 1.352 GB, free: 8.562 MB / 0.9357 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 (214): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/1.326, allocations: 1.295 MB / 1.354 GB, free: 7.285 MB / 0.9357 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.338, allocations: 5.707 MB / 1.359 GB, free: 1.5 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.338, allocations: 0.875 kB / 1.359 GB, free: 1.5 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.004604/1.343, allocations: 1.965 MB / 1.361 GB, free: 15.5 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01596/1.359, allocations: 2.553 MB / 1.364 GB, free: 13.05 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.381, allocations: 11.52 MB / 1.375 GB, free: 1.465 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/1.384, allocations: 2.694 MB / 1.377 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.386, allocations: 411.2 kB / 1.378 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/1.386, allocations: 0 / 1.378 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.6131/1.999, allocations: 226.6 MB / 1.599 GB, free: 200 MB / 0.9826 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)