Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.00108/0.00108, allocations: 191 kB / 17.29 MB, free: 5.516 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05683/0.05683, allocations: 12.05 MB / 303.2 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004915/0.0004916, allocations: 23.91 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/package.mo): time 1.501/1.501, allocations: 268.3 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 116.5 kB / 0.7817 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 108.4 MB / 0.8875 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5391/0.724, allocations: 214.8 MB / 1.097 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.7393, allocations: 10.82 MB / 1.108 GB, free: 12.96 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.7414, allocations: 67.62 kB / 1.108 GB, free: 12.89 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.7436, allocations: 0.8656 MB / 1.109 GB, free: 12.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006976/0.7507, allocations: 2.79 MB / 1.111 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004522/0.7552, allocations: 1.871 MB / 1.113 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007821/0.7631, allocations: 6.617 MB / 1.12 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.7663, allocations: 2.69 MB / 1.122 GB, free: 14 MB / 0.8107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.771, allocations: 2.476 MB / 1.125 GB, free: 11.53 MB / 0.8107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.7738, allocations: 1.912 MB / 1.127 GB, free: 9.613 MB / 0.8107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.7742, allocations: 255.9 kB / 1.127 GB, free: 9.363 MB / 0.8107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.7789, allocations: 2.549 MB / 1.129 GB, free: 6.809 MB / 0.8107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008024/0.7797, allocations: 0.7868 MB / 1.13 GB, free: 6.02 MB / 0.8107 GB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.7814, allocations: 1.416 MB / 1.131 GB, free: 4.598 MB / 0.8107 GB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.7872, allocations: 4.733 MB / 1.136 GB, free: 15.85 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7872, allocations: 7.984 kB / 1.136 GB, free: 15.84 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7872, allocations: 0 / 1.136 GB, free: 15.84 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.011e-05/0.7872, allocations: 0 / 1.136 GB, free: 15.84 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.005519/0.7928, allocations: 3.041 MB / 1.139 GB, free: 12.73 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7928, allocations: 16.03 kB / 1.139 GB, free: 12.71 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.7959, allocations: 0.5512 MB / 1.14 GB, free: 12.16 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.8004, allocations: 2.216 MB / 1.142 GB, free: 9.891 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.8005, allocations: 127.1 kB / 1.142 GB, free: 9.766 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.8009, allocations: 164 kB / 1.142 GB, free: 9.605 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/0.8047, allocations: 2.306 MB / 1.144 GB, free: 7.25 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.8047, allocations: 0 / 1.144 GB, free: 7.25 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.8049, allocations: 75.98 kB / 1.144 GB, free: 7.176 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/0.805, allocations: 71.02 kB / 1.144 GB, free: 7.105 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.8086, allocations: 2.042 MB / 1.146 GB, free: 5.059 MB / 0.8263 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.01172/0.8204, allocations: 8.291 MB / 1.155 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.8229, allocations: 1.39 MB / 1.156 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.8243, allocations: 0.8742 MB / 1.157 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009985/0.8253, allocations: 0.8877 MB / 1.158 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.8268, allocations: 0.8579 MB / 1.158 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=111): time 2.705e-06/0.8268, allocations: 0 / 1.158 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=111): time 0.004122/0.8309, allocations: 1.997 MB / 1.16 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.831, allocations: 94.09 kB / 1.161 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.8335, allocations: 1.774 MB / 1.162 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.8336, allocations: 49.7 kB / 1.162 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.8344, allocations: 0.8968 MB / 1.163 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.8348, allocations: 402.3 kB / 1.164 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.8352, allocations: 246.8 kB / 1.164 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8354, allocations: 361.9 kB / 1.164 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.8365, allocations: 0.6227 MB / 1.165 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.8379, allocations: 0.8855 MB / 1.166 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/0.8526, allocations: 3.923 MB / 1.169 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.8526, allocations: 0 / 1.169 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003553/0.8562, allocations: 1.839 MB / 1.171 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.8562, allocations: 34.3 kB / 1.171 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.8562, allocations: 8 kB / 1.171 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.8563, allocations: 15.94 kB / 1.171 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.8581, allocations: 395.4 kB / 1.172 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006906/0.8588, allocations: 1.191 MB / 1.173 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.8604, allocations: 190.5 kB / 1.173 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.8605, allocations: 56.17 kB / 1.173 GB, free: 8.809 MB / 0.8575 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * dynamicHX.vol1[2].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2.5010145e6 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002351/0.8628, allocations: 1.451 MB / 1.174 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.8642, allocations: 0.8816 MB / 1.175 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01445/0.8786, allocations: 3.892 MB / 1.179 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/0.8787, allocations: 0 / 1.179 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003478/0.8822, allocations: 1.835 MB / 1.181 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.8822, allocations: 34.3 kB / 1.181 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.8822, allocations: 4 kB / 1.181 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8822, allocations: 16 kB / 1.181 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.8837, allocations: 363.5 kB / 1.181 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.8837, allocations: 19.92 kB / 1.181 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.8853, allocations: 165.2 kB / 1.182 GB, free: 15.96 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.8854, allocations: 55.92 kB / 1.182 GB, free: 15.9 MB / 0.8732 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * dynamicHX.vol1[2].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2.5010145e6 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005514/0.886, allocations: 436.7 kB / 1.182 GB, free: 15.47 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.8863, allocations: 193.8 kB / 1.182 GB, free: 15.28 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.8895, allocations: 1.644 MB / 1.184 GB, free: 13.63 MB / 0.8732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.8895, allocations: 12 kB / 1.184 GB, free: 13.62 MB / 0.8732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8895, allocations: 0 / 1.184 GB, free: 13.62 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002384/0.8919, allocations: 1.553 MB / 1.185 GB, free: 12 MB / 0.8732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006895/0.8988, allocations: 3.849 MB / 1.189 GB, free: 8.055 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.8989, allocations: 4 kB / 1.189 GB, free: 8.051 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.9003, allocations: 307.6 kB / 1.189 GB, free: 7.75 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.9003, allocations: 8.375 kB / 1.189 GB, free: 7.742 MB / 0.8732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.9004, allocations: 39.98 kB / 1.189 GB, free: 7.703 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006294/0.9011, allocations: 1.184 MB / 1.191 GB, free: 6.473 MB / 0.8732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.9011, allocations: 7.938 kB / 1.191 GB, free: 6.465 MB / 0.8732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.9053, allocations: 2.52 MB / 1.193 GB, free: 3.891 MB / 0.8732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9064, allocations: 462.3 kB / 1.193 GB, free: 3.422 MB / 0.8732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.9067, allocations: 36.08 kB / 1.194 GB, free: 3.387 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.908, allocations: 100.4 kB / 1.194 GB, free: 3.289 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.9082, allocations: 88.77 kB / 1.194 GB, free: 3.199 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.9083, allocations: 47.97 kB / 1.194 GB, free: 3.152 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.001783/0.9101, allocations: 1.251 MB / 1.195 GB, free: 1.91 MB / 0.8732 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9101, allocations: 8 kB / 1.195 GB, free: 1.902 MB / 0.8732 GB Notification: Performance of remove unused functions: time 0.002442/0.9125, allocations: 1.126 MB / 1.196 GB, free: 0.7734 MB / 0.8732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (dynamicHX.vol1[1].dynBal.U,dynamicHX.vol1[2].dynBal.U,dynamicHX.vol2[1].dynBal.U,dynamicHX.vol2[1].dynBal.mXi[1],dynamicHX.vol2[2].dynBal.U,dynamicHX.vol2[2].dynBal.mXi[1],dynamicHX.heatCapacitor[1].T,dynamicHX.heatCapacitor[2].T,THeaOut1.T,THeaOut2.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008429/0.9134, allocations: 402.5 kB / 1.196 GB, free: 392 kB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.004715/0.9181, allocations: 2.513 MB / 1.199 GB, free: 13.84 MB / 0.8888 GB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/0.9181, allocations: 4.875 kB / 1.199 GB, free: 13.84 MB / 0.8888 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.9196, allocations: 0.7511 MB / 1.2 GB, free: 13.09 MB / 0.8888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/0.9244, allocations: 1.203 MB / 1.201 GB, free: 11.97 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/0.9313, allocations: 4.565 MB / 1.205 GB, free: 7.34 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.9328, allocations: 1.852 MB / 1.207 GB, free: 5.453 MB / 0.8888 GB Notification: Performance of simCode: alias equations: time 0.002384/0.9352, allocations: 0.8808 MB / 1.208 GB, free: 4.57 MB / 0.8888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.9356, allocations: 151.4 kB / 1.208 GB, free: 4.426 MB / 0.8888 GB Notification: Performance of SimCode: time 6.01e-07/0.9356, allocations: 0 / 1.208 GB, free: 4.426 MB / 0.8888 GB Notification: Performance of Templates: time 0.3588/1.294, allocations: 42.83 MB / 1.25 GB, free: 298.3 MB / 0.9044 GB make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)