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.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/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.005243/0.005242, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.00119/0.00119, allocations: 190.6 kB / 16.67 MB, free: 5.965 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1551/0.1551, allocations: 12 MB / 302.5 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004698/0.0004699, allocations: 31.95 kB / 355.6 MB, free: 3.645 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.656/1.656, allocations: 272.2 MB / 0.665 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 115.8 kB / 0.8927 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2056, allocations: 109.2 MB / 0.9994 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.5989/0.8045, allocations: 217.6 MB / 1.212 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05921/0.8637, allocations: 45.36 MB / 1.256 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01/0.8738, allocations: 262.5 kB / 1.256 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00901/0.8828, allocations: 3.141 MB / 1.259 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02408/0.907, allocations: 7.739 MB / 1.267 GB, free: 9.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01546/0.9224, allocations: 6.693 MB / 1.274 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02273/0.9452, allocations: 16.65 MB / 1.29 GB, free: 1.836 MB / 0.9357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.9558, allocations: 5.919 MB / 1.296 GB, free: 11.82 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0146/0.9704, allocations: 6.646 MB / 1.302 GB, free: 5.176 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007579/0.978, allocations: 4.497 MB / 1.307 GB, free: 0.6602 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.9803, allocations: 0.6523 MB / 1.307 GB, free: 8 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009715/0.99, allocations: 3.71 MB / 1.311 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002759/0.9928, allocations: 1.62 MB / 1.312 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0065/0.9993, allocations: 3.488 MB / 1.316 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0161/1.015, allocations: 11.3 MB / 1.327 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.015, allocations: 4 kB / 1.327 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/1.015, allocations: 4 kB / 1.327 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001534/1.016, allocations: 0 / 1.327 GB, free: 11.82 MB / 0.9825 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.01098/1.027, allocations: 6.709 MB / 1.333 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.027, allocations: 8.031 kB / 1.333 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/1.032, allocations: 1.214 MB / 1.335 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00962/1.041, allocations: 5.722 MB / 1.34 GB, free: 13.98 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/1.042, allocations: 270.7 kB / 1.34 GB, free: 13.71 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005259/1.042, allocations: 355.9 kB / 1.341 GB, free: 13.37 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007757/1.05, allocations: 4.17 MB / 1.345 GB, free: 9.047 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/1.05, allocations: 11.92 kB / 1.345 GB, free: 9.035 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003189/1.05, allocations: 148 kB / 1.345 GB, free: 8.891 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/1.05, allocations: 87.94 kB / 1.345 GB, free: 8.805 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007541/1.058, allocations: 3.534 MB / 1.348 GB, free: 5.262 MB / 0.9982 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.0254/1.083, allocations: 20.02 MB / 1.368 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004934/1.088, allocations: 2.411 MB / 1.37 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/1.091, allocations: 1.456 MB / 1.372 GB, free: 12.32 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01128/1.103, allocations: 8.302 MB / 1.38 GB, free: 3.148 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00324/1.106, allocations: 1.473 MB / 1.381 GB, free: 1.652 MB / 1.029 GB Notification: Performance of pre-optimization done (n=207): time 3.798e-06/1.106, allocations: 0 / 1.381 GB, free: 1.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=207): time 0.01445/1.12, allocations: 5.015 MB / 1.386 GB, free: 12.55 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/1.121, allocations: 140.8 kB / 1.386 GB, free: 12.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007671/1.128, allocations: 4.39 MB / 1.391 GB, free: 8.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002685/1.128, allocations: 69.7 kB / 1.391 GB, free: 7.941 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/1.131, allocations: 2.405 MB / 1.393 GB, free: 5.516 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007985/1.131, allocations: 0.7086 MB / 1.394 GB, free: 4.797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009264/1.132, allocations: 0.5403 MB / 1.394 GB, free: 4.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/1.133, allocations: 309.1 kB / 1.395 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/1.135, allocations: 1.231 MB / 1.396 GB, free: 2.707 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.139, allocations: 2.139 MB / 1.398 GB, free: 180 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0455/1.184, allocations: 10.35 MB / 1.408 GB, free: 5.453 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/1.184, allocations: 12 kB / 1.408 GB, free: 5.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01013/1.194, allocations: 4.184 MB / 1.412 GB, free: 1.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/1.195, allocations: 79.39 kB / 1.412 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/1.195, allocations: 24 kB / 1.412 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/1.196, allocations: 382.3 kB / 1.413 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/1.199, allocations: 0.6942 MB / 1.413 GB, free: 20 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/1.202, allocations: 4.321 MB / 1.417 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/1.206, allocations: 394.2 kB / 1.418 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/1.207, allocations: 140 kB / 1.418 GB, free: 10.95 MB / 1.076 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 = 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.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 = 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.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 = 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.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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005041/1.212, allocations: 2.339 MB / 1.42 GB, free: 8.602 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003524/1.215, allocations: 2.088 MB / 1.422 GB, free: 6.121 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04566/1.261, allocations: 10.14 MB / 1.432 GB, free: 11.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.027e-05/1.261, allocations: 4 kB / 1.432 GB, free: 11.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=340) (initialization_lambda0): time 0.01082/1.272, allocations: 4.076 MB / 1.436 GB, free: 7.48 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/1.272, allocations: 87.38 kB / 1.436 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/1.272, allocations: 20 kB / 1.436 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/1.273, allocations: 357.4 kB / 1.437 GB, free: 7.008 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/1.276, allocations: 0.6552 MB / 1.437 GB, free: 6.352 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/1.279, allocations: 2.528 MB / 1.44 GB, free: 3.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.283, allocations: 335.7 kB / 1.44 GB, free: 3.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004404/1.283, allocations: 144 kB / 1.44 GB, free: 3.188 MB / 1.092 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 = 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.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 = 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.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 = 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.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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (313): * Single equations (assignments): 304 * 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.001118/1.284, allocations: 0.6057 MB / 1.441 GB, free: 2.559 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.286, allocations: 486 kB / 1.441 GB, free: 2.078 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4329/1.719, allocations: 4.241 MB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/1.719, allocations: 31.64 kB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.719, allocations: 1.891 kB / 1.445 GB, free: 373.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006143/1.725, allocations: 3.322 MB / 1.449 GB, free: 373 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.744, allocations: 8.864 MB / 1.457 GB, free: 370.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.744, allocations: 3.688 kB / 1.457 GB, free: 370.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/1.747, allocations: 470.9 kB / 1.458 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.748, allocations: 327.1 kB / 1.458 GB, free: 370.4 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/1.748, allocations: 73.42 kB / 1.458 GB, free: 370.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003221/1.751, allocations: 4.335 MB / 1.462 GB, free: 366.3 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.751, allocations: 9.938 kB / 1.462 GB, free: 366.3 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/1.765, allocations: 5.678 MB / 1.468 GB, free: 364.2 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/1.767, allocations: 0.9712 MB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000712/1.768, allocations: 48.88 kB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.77, allocations: 171 kB / 1.469 GB, free: 363.8 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.771, allocations: 150 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.771, allocations: 101.8 kB / 1.469 GB, free: 363.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004658/1.775, allocations: 2.985 MB / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/1.775, allocations: 0 / 1.472 GB, free: 362.6 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.006262/1.782, allocations: 2.672 MB / 1.475 GB, free: 362.3 MB / 1.092 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 (212): * Single equations (assignments): 183 * 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.002272/1.784, allocations: 1.353 MB / 1.476 GB, free: 362.1 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.795, allocations: 5.507 MB / 1.482 GB, free: 359.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.795, allocations: 5.375 kB / 1.482 GB, free: 359.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/1.799, allocations: 1.879 MB / 1.483 GB, free: 359.2 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/1.81, allocations: 2.638 MB / 1.486 GB, free: 358.6 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.825, allocations: 9.095 MB / 1.495 GB, free: 354.3 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/1.827, allocations: 2.709 MB / 1.498 GB, free: 353.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005071/1.832, allocations: 1.183 MB / 1.499 GB, free: 353 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009775/1.833, allocations: 387.8 kB / 1.499 GB, free: 353 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.833, allocations: 0 / 1.499 GB, free: 353 MB / 1.092 GB Notification: Performance of Templates: time 0.1281/1.961, allocations: 109.8 MB / 1.606 GB, free: 258.6 MB / 1.092 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)