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.001372/0.001372, allocations: 113 kB / 16.42 MB, free: 6.449 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.001595/0.001596, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.271/1.271, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.05482/0.05482, allocations: 12.04 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004516/0.0004517, allocations: 27.95 kB / 356.3 MB, free: 13.98 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.442/1.442, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 107.8 kB / 0.888 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4763, allocations: 108.4 MB / 0.9938 GB, free: 11.85 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.2015/0.6779, allocations: 214.7 MB / 1.204 GB, free: 14.88 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.694, allocations: 10.83 MB / 1.214 GB, free: 4.016 MB / 0.8888 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.6962, allocations: 67.62 kB / 1.214 GB, free: 3.949 MB / 0.8888 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.6986, allocations: 0.8929 MB / 1.215 GB, free: 3.051 MB / 0.8888 GB Notification: Performance of NFTyping.typeBindings: time 0.006854/0.7055, allocations: 2.917 MB / 1.218 GB, free: 124 kB / 0.8888 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.71, allocations: 1.876 MB / 1.22 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007614/0.7176, allocations: 6.633 MB / 1.226 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.721, allocations: 2.688 MB / 1.229 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.726, allocations: 2.546 MB / 1.231 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.7292, allocations: 1.922 MB / 1.233 GB, free: 412 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/0.7299, allocations: 252 kB / 1.233 GB, free: 160 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.7353, allocations: 2.561 MB / 1.236 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.7365, allocations: 0.7829 MB / 1.237 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/0.7391, allocations: 1.408 MB / 1.238 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.7463, allocations: 4.741 MB / 1.243 GB, free: 6.637 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7464, allocations: 0 / 1.243 GB, free: 6.637 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7464, allocations: 3.938 kB / 1.243 GB, free: 6.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001166/0.7465, allocations: 0 / 1.243 GB, free: 6.633 MB / 0.92 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.007214/0.7537, allocations: 3.049 MB / 1.246 GB, free: 3.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.7538, allocations: 8.031 kB / 1.246 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.7572, allocations: 0.5513 MB / 1.246 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00462/0.7618, allocations: 2.224 MB / 1.248 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.823e-05/0.7619, allocations: 119.1 kB / 1.249 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.7624, allocations: 164 kB / 1.249 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.7669, allocations: 2.31 MB / 1.251 GB, free: 14.04 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.582e-05/0.767, allocations: 3.906 kB / 1.251 GB, free: 14.03 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.7672, allocations: 67.98 kB / 1.251 GB, free: 13.96 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-05/0.7673, allocations: 71.08 kB / 1.251 GB, free: 13.89 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.771, allocations: 2.042 MB / 1.253 GB, free: 11.85 MB / 0.9357 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.01205/0.7831, allocations: 8.295 MB / 1.261 GB, free: 3.074 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.7853, allocations: 1.396 MB / 1.263 GB, free: 1.652 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.7868, allocations: 0.8714 MB / 1.263 GB, free: 0.7812 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/0.7878, allocations: 0.8867 MB / 1.264 GB, free: 15.71 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.7892, allocations: 0.8519 MB / 1.265 GB, free: 14.84 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 3.687e-06/0.7893, allocations: 3.938 kB / 1.265 GB, free: 14.84 MB / 0.9513 GB Notification: Performance of matching and sorting (n=111): time 0.003946/0.7932, allocations: 1.997 MB / 1.267 GB, free: 12.84 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.7933, allocations: 90.11 kB / 1.267 GB, free: 12.73 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.7959, allocations: 1.781 MB / 1.269 GB, free: 10.95 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.796, allocations: 49.7 kB / 1.269 GB, free: 10.9 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/0.7968, allocations: 0.9007 MB / 1.27 GB, free: 9.984 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.7972, allocations: 394.4 kB / 1.27 GB, free: 9.594 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.7976, allocations: 254.7 kB / 1.27 GB, free: 9.34 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7978, allocations: 353.9 kB / 1.271 GB, free: 8.988 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.7989, allocations: 0.6266 MB / 1.271 GB, free: 8.359 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.8002, allocations: 0.8905 MB / 1.272 GB, free: 7.379 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/0.814, allocations: 3.923 MB / 1.276 GB, free: 3.367 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.814, allocations: 4 kB / 1.276 GB, free: 3.363 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003361/0.8174, allocations: 1.844 MB / 1.278 GB, free: 1.504 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.8175, allocations: 33.7 kB / 1.278 GB, free: 1.465 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8175, allocations: 4 kB / 1.278 GB, free: 1.461 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.8175, allocations: 15.94 kB / 1.278 GB, free: 1.445 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.8192, allocations: 383.5 kB / 1.278 GB, free: 1.07 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3832/1.202, allocations: 1.193 MB / 1.279 GB, free: 269.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.204, allocations: 192.1 kB / 1.28 GB, free: 269.6 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/1.205, allocations: 50.41 kB / 1.28 GB, free: 269.6 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002989/1.208, allocations: 1.451 MB / 1.281 GB, free: 269.5 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001539/1.209, allocations: 0.8833 MB / 1.282 GB, free: 269.2 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01431/1.224, allocations: 3.888 MB / 1.286 GB, free: 268 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.755e-06/1.224, allocations: 2.094 kB / 1.286 GB, free: 268 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003462/1.227, allocations: 1.838 MB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.227, allocations: 37.91 kB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.227, allocations: 4.281 kB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.227, allocations: 10.56 kB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.229, allocations: 368.1 kB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.229, allocations: 14.39 kB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.23, allocations: 163.7 kB / 1.288 GB, free: 267.4 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.256e-05/1.23, allocations: 49.36 kB / 1.288 GB, free: 267.4 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.0005106/1.231, allocations: 441.5 kB / 1.289 GB, free: 267.1 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/1.231, allocations: 191.8 kB / 1.289 GB, free: 267.1 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/1.234, allocations: 1.653 MB / 1.29 GB, free: 266.5 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002041/1.236, allocations: 1.551 MB / 1.292 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.236, allocations: 1.031 kB / 1.292 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008639/1.237, allocations: 460.1 kB / 1.292 GB, free: 265.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.237, allocations: 28.83 kB / 1.292 GB, free: 265.2 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.238, allocations: 92 kB / 1.292 GB, free: 265.2 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.238, allocations: 80.98 kB / 1.293 GB, free: 265.2 MB / 0.9513 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003411/1.242, allocations: 1.761 MB / 1.294 GB, free: 264.3 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003606/1.245, allocations: 2.684 MB / 1.297 GB, free: 262.8 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001003/1.246, allocations: 0.7227 MB / 1.298 GB, free: 262.4 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001464/1.248, allocations: 1.25 MB / 1.299 GB, free: 261.7 MB / 0.9513 GB Notification: Performance of Backend: time 1.383e-06/1.248, allocations: 3.312 kB / 1.299 GB, free: 261.7 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.005301/1.253, allocations: 2.611 MB / 1.301 GB, free: 260.6 MB / 0.9513 GB Notification: Performance of SimCode: time 0.008056/1.261, allocations: 5.401 MB / 1.307 GB, free: 257.4 MB / 0.9513 GB Notification: Performance of Templates: time 0.05966/1.321, allocations: 53.02 MB / 1.358 GB, free: 211.2 MB / 0.9513 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)