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.001123/0.001123, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001375/0.001376, allocations: 187 kB / 17.34 MB, free: 5.719 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.08 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.0571/0.0571, allocations: 12.04 MB / 303.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005353/0.0005353, allocations: 31.94 kB / 356.3 MB, free: 13.96 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.487/1.487, allocations: 268.2 MB / 0.6617 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 119.8 kB / 0.888 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5822, allocations: 108.4 MB / 0.9938 GB, free: 1.051 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.2118/0.794, allocations: 214.8 MB / 1.204 GB, free: 9.484 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.8108, allocations: 10.84 MB / 1.214 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.8136, allocations: 71.56 kB / 1.214 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.8164, allocations: 0.8539 MB / 1.215 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007729/0.8241, allocations: 2.796 MB / 1.218 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005019/0.8291, allocations: 1.858 MB / 1.22 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008935/0.8381, allocations: 6.621 MB / 1.226 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5321/1.37, allocations: 2.675 MB / 1.229 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006637/1.377, allocations: 2.524 MB / 1.231 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/1.381, allocations: 1.914 MB / 1.233 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006348/1.382, allocations: 249.7 kB / 1.233 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005598/1.388, allocations: 2.555 MB / 1.236 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/1.389, allocations: 0.7878 MB / 1.236 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/1.391, allocations: 1.416 MB / 1.238 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00819/1.4, allocations: 4.741 MB / 1.242 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.4, allocations: 1.438 kB / 1.243 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.415e-06/1.4, allocations: 0.9688 kB / 1.243 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.35e-05/1.4, allocations: 2.344 kB / 1.243 GB, free: 6.266 MB / 0.9044 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.006335/1.406, allocations: 3.054 MB / 1.245 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.406, allocations: 9.469 kB / 1.245 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/1.409, allocations: 0.5471 MB / 1.246 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/1.412, allocations: 2.215 MB / 1.248 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/1.412, allocations: 126.4 kB / 1.248 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/1.413, allocations: 167.5 kB / 1.248 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/1.416, allocations: 2.313 MB / 1.251 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/1.416, allocations: 3.938 kB / 1.251 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/1.416, allocations: 68.14 kB / 1.251 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/1.417, allocations: 64.77 kB / 1.251 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/1.42, allocations: 2.047 MB / 1.253 GB, free: 4.117 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/1.43, allocations: 8.288 MB / 1.261 GB, free: 16.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/1.432, allocations: 1.383 MB / 1.262 GB, free: 16.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.434, allocations: 0.8724 MB / 1.263 GB, free: 16.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000992/1.435, allocations: 0.885 MB / 1.264 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/1.436, allocations: 0.859 MB / 1.265 GB, free: 15.79 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 1.4e-05/1.436, allocations: 0 / 1.265 GB, free: 15.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.003707/1.44, allocations: 1.997 MB / 1.267 GB, free: 15.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.44, allocations: 92.61 kB / 1.267 GB, free: 15.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.442, allocations: 1.78 MB / 1.269 GB, free: 15.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.442, allocations: 51.33 kB / 1.269 GB, free: 15.37 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/1.443, allocations: 0.8943 MB / 1.27 GB, free: 15.05 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/1.443, allocations: 398.6 kB / 1.27 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003374/1.443, allocations: 254.1 kB / 1.27 GB, free: 14.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.443, allocations: 356.7 kB / 1.271 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.444, allocations: 0.6258 MB / 1.271 GB, free: 14.46 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.446, allocations: 0.8817 MB / 1.272 GB, free: 14.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/1.459, allocations: 3.921 MB / 1.276 GB, free: 13.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/1.459, allocations: 3.375 kB / 1.276 GB, free: 13.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003303/1.462, allocations: 1.853 MB / 1.278 GB, free: 13.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/1.462, allocations: 32.8 kB / 1.278 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.462, allocations: 6.797 kB / 1.278 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/1.462, allocations: 13.97 kB / 1.278 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.464, allocations: 385.8 kB / 1.278 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006891/1.465, allocations: 1.198 MB / 1.279 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.466, allocations: 191.5 kB / 1.279 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.467, allocations: 54.3 kB / 1.279 GB, free: 12.44 MB / 0.92 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.002433/1.469, allocations: 1.46 MB / 1.281 GB, free: 12.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/1.47, allocations: 0.8791 MB / 1.282 GB, free: 12.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0133/1.483, allocations: 3.885 MB / 1.286 GB, free: 11.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.616e-06/1.483, allocations: 1.219 kB / 1.286 GB, free: 11.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003492/1.487, allocations: 1.841 MB / 1.287 GB, free: 11.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/1.487, allocations: 38.22 kB / 1.287 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.487, allocations: 9.031 kB / 1.287 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.487, allocations: 8.906 kB / 1.287 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.488, allocations: 362.6 kB / 1.288 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/1.488, allocations: 15.31 kB / 1.288 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.49, allocations: 163 kB / 1.288 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.49, allocations: 48.69 kB / 1.288 GB, free: 11.51 MB / 0.92 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.0006258/1.491, allocations: 443.1 kB / 1.288 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/1.491, allocations: 188.3 kB / 1.289 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/1.495, allocations: 1.651 MB / 1.29 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/1.495, allocations: 11 kB / 1.29 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/1.495, allocations: 9.25 kB / 1.29 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/1.497, allocations: 1.55 MB / 1.292 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/1.503, allocations: 3.852 MB / 1.295 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.503, allocations: 3.562 kB / 1.295 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.504, allocations: 308.5 kB / 1.296 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.504, allocations: 5.719 kB / 1.296 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/1.505, allocations: 36.39 kB / 1.296 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006175/1.505, allocations: 1.188 MB / 1.297 GB, free: 9.125 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.505, allocations: 4.344 kB / 1.297 GB, free: 9.125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/1.509, allocations: 2.521 MB / 1.299 GB, free: 8.754 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.51, allocations: 459.9 kB / 1.3 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/1.51, allocations: 35.73 kB / 1.3 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.511, allocations: 102.8 kB / 1.3 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/1.512, allocations: 82.95 kB / 1.3 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/1.512, allocations: 51.97 kB / 1.3 GB, free: 8.543 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001729/1.513, allocations: 1.252 MB / 1.301 GB, free: 8.434 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.41e-07/1.513, allocations: 3.562 kB / 1.301 GB, free: 8.434 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002794/1.516, allocations: 1.122 MB / 1.302 GB, free: 8.293 MB / 0.92 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.0009354/1.517, allocations: 398.7 kB / 1.303 GB, free: 8.168 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004216/1.521, allocations: 2.524 MB / 1.305 GB, free: 8 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.521, allocations: 2.594 kB / 1.305 GB, free: 8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.523, allocations: 0.7438 MB / 1.306 GB, free: 7.996 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.528, allocations: 1.198 MB / 1.307 GB, free: 7.859 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/1.535, allocations: 4.566 MB / 1.312 GB, free: 6.109 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.536, allocations: 1.811 MB / 1.313 GB, free: 5.359 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/1.536, allocations: 158.2 kB / 1.314 GB, free: 5.352 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/1.536, allocations: 0 / 1.314 GB, free: 5.352 MB / 0.92 GB Notification: Performance of Templates: time 0.07693/1.613, allocations: 59.92 MB / 1.372 GB, free: 12.85 MB / 0.9825 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 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)