Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.007439/0.007439, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001142/0.001142, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1885/0.1885, allocations: 12.01 MB / 302.5 MB, free: 0.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004878/0.0004876, allocations: 39.88 kB / 355.6 MB, free: 3.711 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.785/1.785, allocations: 272.2 MB / 0.665 GB, free: 12.84 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 115.8 kB / 0.8928 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1852, allocations: 109.2 MB / 0.9994 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5982/0.7834, allocations: 214.8 MB / 1.209 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.7995, allocations: 10.82 MB / 1.22 GB, free: 10.09 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.8016, allocations: 67.62 kB / 1.22 GB, free: 10.03 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.8039, allocations: 0.8617 MB / 1.221 GB, free: 9.16 MB / 0.8732 GB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.8106, allocations: 2.793 MB / 1.223 GB, free: 6.355 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.8151, allocations: 1.858 MB / 1.225 GB, free: 4.516 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.008222/0.8233, allocations: 6.615 MB / 1.232 GB, free: 13.89 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.8266, allocations: 2.692 MB / 1.234 GB, free: 11.15 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005269/0.8319, allocations: 2.474 MB / 1.237 GB, free: 8.676 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.8351, allocations: 1.92 MB / 1.238 GB, free: 6.754 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.8356, allocations: 248 kB / 1.239 GB, free: 6.512 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.8407, allocations: 2.553 MB / 1.241 GB, free: 3.953 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.8417, allocations: 0.7868 MB / 1.242 GB, free: 3.164 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.8439, allocations: 1.408 MB / 1.243 GB, free: 1.75 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.006708/0.8506, allocations: 4.762 MB / 1.248 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.8507, allocations: 7.938 kB / 1.248 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8507, allocations: 0 / 1.248 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.604e-05/0.8507, allocations: 0 / 1.248 GB, free: 12.96 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.005766/0.8565, allocations: 3.128 MB / 1.251 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8565, allocations: 16.02 kB / 1.251 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.8596, allocations: 0.5566 MB / 1.252 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.8634, allocations: 2.241 MB / 1.254 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.8635, allocations: 119.1 kB / 1.254 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.8638, allocations: 168 kB / 1.254 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.8676, allocations: 2.314 MB / 1.256 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.8676, allocations: 3.938 kB / 1.256 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.8678, allocations: 68 kB / 1.256 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/0.8679, allocations: 63.08 kB / 1.256 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.8714, allocations: 2.046 MB / 1.258 GB, free: 2.066 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.01088/0.8823, allocations: 8.312 MB / 1.267 GB, free: 9.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.8846, allocations: 1.387 MB / 1.268 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.8861, allocations: 0.8701 MB / 1.269 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009963/0.8871, allocations: 0.8878 MB / 1.27 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.8886, allocations: 0.8558 MB / 1.271 GB, free: 5.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 4.308e-06/0.8886, allocations: 0 / 1.271 GB, free: 5.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.004035/0.8926, allocations: 2.01 MB / 1.272 GB, free: 3.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.8927, allocations: 86.11 kB / 1.273 GB, free: 2.938 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.8951, allocations: 1.785 MB / 1.274 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.8953, allocations: 49.7 kB / 1.274 GB, free: 1.098 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007823/0.8961, allocations: 0.9101 MB / 1.275 GB, free: 180 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.8965, allocations: 412.4 kB / 1.276 GB, free: 15.77 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.8969, allocations: 254.8 kB / 1.276 GB, free: 15.52 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.897, allocations: 361.9 kB / 1.276 GB, free: 15.16 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.8981, allocations: 0.6227 MB / 1.277 GB, free: 14.53 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.8994, allocations: 0.8821 MB / 1.278 GB, free: 13.56 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/0.9146, allocations: 3.924 MB / 1.282 GB, free: 9.547 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.9147, allocations: 8 kB / 1.282 GB, free: 9.539 MB / 0.9357 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003738/0.9184, allocations: 1.852 MB / 1.283 GB, free: 7.672 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.9185, allocations: 39.83 kB / 1.283 GB, free: 7.629 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.9185, allocations: 7.938 kB / 1.283 GB, free: 7.621 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.9185, allocations: 20.36 kB / 1.283 GB, free: 7.602 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.9203, allocations: 393 kB / 1.284 GB, free: 7.219 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007136/0.921, allocations: 1.192 MB / 1.285 GB, free: 5.98 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.9228, allocations: 190.8 kB / 1.285 GB, free: 5.793 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.9229, allocations: 52 kB / 1.285 GB, free: 5.742 MB / 0.9357 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.002403/0.9253, allocations: 1.446 MB / 1.287 GB, free: 4.293 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001326/0.9267, allocations: 0.8855 MB / 1.287 GB, free: 3.32 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01459/0.9413, allocations: 3.892 MB / 1.291 GB, free: 15.33 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.286e-06/0.9413, allocations: 8 kB / 1.291 GB, free: 15.32 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003467/0.9448, allocations: 1.844 MB / 1.293 GB, free: 13.46 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.9448, allocations: 33.7 kB / 1.293 GB, free: 13.43 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9448, allocations: 8 kB / 1.293 GB, free: 13.42 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.9449, allocations: 8.438 kB / 1.293 GB, free: 13.41 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.9463, allocations: 375.4 kB / 1.293 GB, free: 13.04 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.9463, allocations: 8 kB / 1.293 GB, free: 13.04 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.948, allocations: 163.2 kB / 1.294 GB, free: 12.88 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9482, allocations: 59.92 kB / 1.294 GB, free: 12.82 MB / 0.9513 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.000581/0.9487, allocations: 430.8 kB / 1.294 GB, free: 12.39 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/0.9492, allocations: 194.8 kB / 1.294 GB, free: 12.2 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.9524, allocations: 1.656 MB / 1.296 GB, free: 10.54 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.9525, allocations: 12 kB / 1.296 GB, free: 10.52 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9525, allocations: 0 / 1.296 GB, free: 10.52 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00237/0.9548, allocations: 1.553 MB / 1.297 GB, free: 8.898 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/0.9613, allocations: 3.846 MB / 1.301 GB, free: 4.961 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.9614, allocations: 4 kB / 1.301 GB, free: 4.957 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.9628, allocations: 307.6 kB / 1.301 GB, free: 4.656 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/0.9628, allocations: 8 kB / 1.301 GB, free: 4.648 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.9629, allocations: 39.92 kB / 1.302 GB, free: 4.609 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005996/0.9635, allocations: 1.188 MB / 1.303 GB, free: 3.375 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9636, allocations: 4 kB / 1.303 GB, free: 3.371 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/0.9677, allocations: 2.545 MB / 1.305 GB, free: 0.7734 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/0.9686, allocations: 471.4 kB / 1.306 GB, free: 300 kB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/0.969, allocations: 28 kB / 1.306 GB, free: 272 kB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.9703, allocations: 98.11 kB / 1.306 GB, free: 176 kB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.9705, allocations: 88.83 kB / 1.306 GB, free: 88 kB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9707, allocations: 47.97 kB / 1.306 GB, free: 40 kB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001913/0.9726, allocations: 1.251 MB / 1.307 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9726, allocations: 0 / 1.307 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002887/0.9755, allocations: 1.131 MB / 1.308 GB, free: 13.66 MB / 0.9669 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.0008692/0.9764, allocations: 405.4 kB / 1.309 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004795/0.9812, allocations: 2.517 MB / 1.311 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.9812, allocations: 8.375 kB / 1.311 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.9826, allocations: 0.7515 MB / 1.312 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/0.9873, allocations: 1.21 MB / 1.313 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007168/0.9945, allocations: 4.633 MB / 1.317 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.9961, allocations: 1.852 MB / 1.319 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002406/0.9986, allocations: 0.8739 MB / 1.32 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.999, allocations: 151.4 kB / 1.32 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.999, allocations: 0 / 1.32 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of Templates: time 0.06675/1.066, allocations: 43.23 MB / 1.362 GB, free: 6.5 MB / 1.014 GB make -j1 -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)