Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling") translateModel(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="AixLib_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.00101/0.00101, allocations: 99.7 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.000965/0.000965, 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.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1917/0.1917, allocations: 12.01 MB / 303 MB, free: 1.637 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.0003071/0.000307, allocations: 15.97 kB / 357.1 MB, free: 3.254 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.858/1.858, allocations: 268.6 MB / 0.6638 GB, free: 1.527 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.0006532/0.0006533, allocations: 21.69 kB / 0.7845 GB, free: 32.28 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2459, allocations: 110.5 MB / 0.8925 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling): time 0.7057/0.9516, allocations: 181.3 MB / 1.069 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06165/1.013, allocations: 39.38 MB / 1.108 GB, free: 33.35 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/1.024, allocations: 216.2 kB / 1.108 GB, free: 33.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01146/1.035, allocations: 2.67 MB / 1.111 GB, free: 32.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03151/1.067, allocations: 7.69 MB / 1.118 GB, free: 29.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0223/1.089, allocations: 5.9 MB / 1.124 GB, free: 26.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02644/1.116, allocations: 9.386 MB / 1.133 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/1.127, allocations: 4.104 MB / 1.137 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0141/1.141, allocations: 4.451 MB / 1.142 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008235/1.149, allocations: 2.855 MB / 1.144 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002876/1.152, allocations: 214.8 kB / 1.145 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/1.167, allocations: 2.673 MB / 1.147 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003072/1.17, allocations: 1.071 MB / 1.148 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004205/1.174, allocations: 1.302 MB / 1.149 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01495/1.189, allocations: 8.549 MB / 1.158 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.189, allocations: 0 / 1.158 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.125e-06/1.189, allocations: 0 / 1.158 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004607/1.19, allocations: 0 / 1.158 GB, free: 3.641 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.01545/1.205, allocations: 5.573 MB / 1.163 GB, free: 13.97 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.205, allocations: 12.03 kB / 1.163 GB, free: 13.96 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007033/1.212, allocations: 1.31 MB / 1.165 GB, free: 12.64 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/1.228, allocations: 5.306 MB / 1.17 GB, free: 7.262 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001248/1.229, allocations: 471 kB / 1.17 GB, free: 6.801 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/1.231, allocations: 354.7 kB / 1.171 GB, free: 6.457 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/1.247, allocations: 4.161 MB / 1.175 GB, free: 2.16 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000225/1.247, allocations: 4 kB / 1.175 GB, free: 2.156 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/1.249, allocations: 143.9 kB / 1.175 GB, free: 2.016 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.249, allocations: 84 kB / 1.175 GB, free: 1.934 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/1.262, allocations: 3.624 MB / 1.178 GB, free: 14.3 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.04007/1.303, allocations: 20.19 MB / 1.198 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005714/1.308, allocations: 2.511 MB / 1.201 GB, free: 6.555 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.01441/1.323, allocations: 8.396 MB / 1.209 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003369/1.326, allocations: 1.516 MB / 1.21 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002642/1.329, allocations: 281.4 kB / 1.21 GB, free: 11.49 MB / 0.795 GB Notification: Performance of pre-optimization done (n=210): time 9.829e-06/1.329, allocations: 7.938 kB / 1.21 GB, free: 11.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=210): time 0.01624/1.345, allocations: 5.235 MB / 1.216 GB, free: 6.164 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/1.345, allocations: 132.8 kB / 1.216 GB, free: 6.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009663/1.355, allocations: 4.484 MB / 1.22 GB, free: 1.543 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006294/1.356, allocations: 73.7 kB / 1.22 GB, free: 1.465 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002954/1.359, allocations: 2.382 MB / 1.222 GB, free: 15.06 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001539/1.36, allocations: 0.7202 MB / 1.223 GB, free: 14.33 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/1.361, allocations: 52 kB / 1.223 GB, free: 14.28 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0002749/1.361, allocations: 407.4 kB / 1.224 GB, free: 13.88 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/1.364, allocations: 1.223 MB / 1.225 GB, free: 12.65 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/1.368, allocations: 2.131 MB / 1.227 GB, free: 10.13 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/1.372, allocations: 1.529 MB / 1.228 GB, free: 8.594 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/1.372, allocations: 12 kB / 1.228 GB, free: 8.582 MB / 0.8107 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01037/1.382, allocations: 4.073 MB / 1.232 GB, free: 4.48 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 0.00371/1.386, allocations: 10.48 MB / 1.243 GB, free: 9.137 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/1.386, allocations: 20 kB / 1.243 GB, free: 9.117 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/1.387, allocations: 387 kB / 1.243 GB, free: 8.738 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/1.39, allocations: 0.7216 MB / 1.244 GB, free: 8.016 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/1.393, allocations: 2.767 MB / 1.246 GB, free: 5.152 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.399, allocations: 449.2 kB / 1.247 GB, free: 4.719 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008486/1.4, allocations: 143.9 kB / 1.247 GB, free: 4.578 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.4, allocations: 4 kB / 1.247 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01039/1.41, allocations: 3.66 MB / 1.251 GB, free: 0.8984 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.31e-05/1.41, allocations: 20 kB / 1.251 GB, free: 0.8789 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/1.411, allocations: 368.5 kB / 1.251 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/1.414, allocations: 0.6787 MB / 1.252 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/1.416, allocations: 0.9839 MB / 1.253 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.421, allocations: 430.6 kB / 1.253 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/1.422, allocations: 140 kB / 1.253 GB, free: 14.27 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.003898/1.426, allocations: 1.458 MB / 1.255 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/1.428, allocations: 482 kB / 1.255 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.44, allocations: 4.28 MB / 1.259 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/1.44, allocations: 23.98 kB / 1.259 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.44, allocations: 4 kB / 1.259 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007352/1.447, allocations: 3.323 MB / 1.262 GB, free: 4.586 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.02911/1.477, allocations: 9.169 MB / 1.271 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.477, allocations: 0 / 1.271 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/1.48, allocations: 499.5 kB / 1.272 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/1.481, allocations: 340.5 kB / 1.272 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004502/1.481, allocations: 67.95 kB / 1.272 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/1.485, allocations: 2.805 MB / 1.275 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/1.485, allocations: 7.938 kB / 1.275 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.501, allocations: 5.974 MB / 1.281 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004996/1.506, allocations: 1.057 MB / 1.282 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002399/1.508, allocations: 44 kB / 1.282 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005407/1.514, allocations: 435.2 kB / 1.282 GB, free: 15.77 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/1.514, allocations: 149.8 kB / 1.282 GB, free: 15.63 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005676/1.515, allocations: 103.9 kB / 1.283 GB, free: 15.53 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.008401/1.523, allocations: 3.055 MB / 1.286 GB, free: 12.49 MB / 0.8732 GB Notification: Performance of sort global known variables: time 2.394e-06/1.523, allocations: 4 kB / 1.286 GB, free: 12.49 MB / 0.8732 GB Notification: Performance of remove unused functions: time 0.01436/1.538, allocations: 2.732 MB / 1.288 GB, free: 9.754 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.004084/1.542, allocations: 1.363 MB / 1.29 GB, free: 8.43 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.556, allocations: 5.344 MB / 1.295 GB, free: 3.039 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.556, allocations: 6 kB / 1.295 GB, free: 3.035 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.561, allocations: 1.833 MB / 1.297 GB, free: 1.176 MB / 0.8732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/1.575, allocations: 2.542 MB / 1.299 GB, free: 14.73 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/1.6, allocations: 10.86 MB / 1.31 GB, free: 3.848 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004311/1.604, allocations: 2.799 MB / 1.312 GB, free: 1.016 MB / 0.8888 GB Notification: Performance of simCode: alias equations: time 0.008086/1.612, allocations: 1.217 MB / 1.314 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/1.614, allocations: 411.2 kB / 1.314 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of SimCode: time 1.112e-06/1.614, allocations: 0 / 1.314 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.5842/2.199, allocations: 107 MB / 1.418 GB, free: 364.5 MB / 0.9825 GB make -j1 -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.makefile (rm -f AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; mkfifo AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe >> ../files/AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.sim & ./AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.DistrictHeatingCooling.Demands.Examples.DHCSubstationHeatPumpDirectCooling.pipe 2>&1)