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-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.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-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_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.001448/0.001448, allocations: 102.2 kB / 16.4 MB, free: 6.504 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.001669/0.001669, allocations: 185.5 kB / 17.34 MB, free: 5.77 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.21 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.05862/0.05862, allocations: 12.05 MB / 303.2 MB, free: 3.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005931/0.0005929, allocations: 27.89 kB / 356.3 MB, free: 14 MB / 302.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.995/1.995, allocations: 272.3 MB / 0.6657 GB, free: 18.26 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003234/0.003234, allocations: 111.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.6442, allocations: 109.1 MB / 1 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.2378/0.8821, allocations: 214.8 MB / 1.21 GB, free: 8.992 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.8997, allocations: 10.83 MB / 1.22 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.9026, allocations: 67.56 kB / 1.22 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.9055, allocations: 0.8618 MB / 1.221 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008092/0.9136, allocations: 2.791 MB / 1.224 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005258/0.9189, allocations: 1.856 MB / 1.226 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009221/0.9282, allocations: 6.627 MB / 1.232 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004228/0.9324, allocations: 2.68 MB / 1.235 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006583/0.939, allocations: 2.531 MB / 1.237 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.9436, allocations: 1.928 MB / 1.239 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.9448, allocations: 252 kB / 1.24 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006648/0.9514, allocations: 2.549 MB / 1.242 GB, free: 7.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.953, allocations: 0.779 MB / 1.243 GB, free: 7.129 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003456/0.9565, allocations: 1.412 MB / 1.244 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00947/0.966, allocations: 4.745 MB / 1.249 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.966, allocations: 0 / 1.249 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.557e-06/0.966, allocations: 4 kB / 1.249 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001312/0.9662, allocations: 3.938 kB / 1.249 GB, free: 0.9453 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.00739/0.9736, allocations: 3.049 MB / 1.252 GB, free: 13.82 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9736, allocations: 12.03 kB / 1.252 GB, free: 13.81 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.9768, allocations: 0.5435 MB / 1.252 GB, free: 13.26 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.9814, allocations: 2.224 MB / 1.255 GB, free: 10.98 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.9815, allocations: 119.1 kB / 1.255 GB, free: 10.87 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.9818, allocations: 168 kB / 1.255 GB, free: 10.7 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/0.9859, allocations: 2.302 MB / 1.257 GB, free: 8.352 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.986, allocations: 11.84 kB / 1.257 GB, free: 8.34 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.9862, allocations: 71.98 kB / 1.257 GB, free: 8.27 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/0.9862, allocations: 67.08 kB / 1.257 GB, free: 8.203 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.9899, allocations: 2.042 MB / 1.259 GB, free: 6.156 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.01274/1.003, allocations: 8.295 MB / 1.267 GB, free: 13.38 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.005, allocations: 1.386 MB / 1.269 GB, free: 11.97 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/1.007, allocations: 0.8792 MB / 1.269 GB, free: 11.09 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.008, allocations: 0.8788 MB / 1.27 GB, free: 10.03 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/1.009, allocations: 0.8652 MB / 1.271 GB, free: 9.152 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 2.876e-06/1.009, allocations: 0 / 1.271 GB, free: 9.152 MB / 0.9513 GB Notification: Performance of matching and sorting (n=111): time 0.004151/1.013, allocations: 1.993 MB / 1.273 GB, free: 7.16 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.013, allocations: 90.11 kB / 1.273 GB, free: 7.051 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/1.016, allocations: 1.781 MB / 1.275 GB, free: 5.27 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/1.016, allocations: 49.7 kB / 1.275 GB, free: 5.215 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/1.017, allocations: 0.8929 MB / 1.276 GB, free: 4.309 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/1.017, allocations: 406.3 kB / 1.276 GB, free: 3.906 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/1.018, allocations: 250.7 kB / 1.277 GB, free: 3.656 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.018, allocations: 361.9 kB / 1.277 GB, free: 3.297 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.019, allocations: 0.6266 MB / 1.277 GB, free: 2.668 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.02, allocations: 0.8777 MB / 1.278 GB, free: 1.699 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5899/1.61, allocations: 3.912 MB / 1.282 GB, free: 50.75 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.61, allocations: 1.531 kB / 1.282 GB, free: 50.75 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003872/1.614, allocations: 1.843 MB / 1.284 GB, free: 50.66 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/1.614, allocations: 36.98 kB / 1.284 GB, free: 50.63 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.614, allocations: 7.375 kB / 1.284 GB, free: 50.63 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/1.614, allocations: 14.38 kB / 1.284 GB, free: 50.63 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.616, allocations: 390.8 kB / 1.284 GB, free: 50.63 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/1.617, allocations: 1.196 MB / 1.286 GB, free: 49.46 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.619, allocations: 188.2 kB / 1.286 GB, free: 49.46 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.619, allocations: 52.38 kB / 1.286 GB, free: 49.46 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.002922/1.622, allocations: 1.456 MB / 1.287 GB, free: 49.36 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001653/1.623, allocations: 0.8828 MB / 1.288 GB, free: 49.12 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0146/1.638, allocations: 3.886 MB / 1.292 GB, free: 48.82 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.137e-06/1.638, allocations: 3 kB / 1.292 GB, free: 48.82 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003519/1.642, allocations: 1.845 MB / 1.294 GB, free: 48.72 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/1.642, allocations: 35.11 kB / 1.294 GB, free: 48.69 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.642, allocations: 4 kB / 1.294 GB, free: 48.69 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.642, allocations: 11.72 kB / 1.294 GB, free: 48.69 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.643, allocations: 364.2 kB / 1.294 GB, free: 48.69 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/1.643, allocations: 14.78 kB / 1.294 GB, free: 48.69 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.645, allocations: 163 kB / 1.294 GB, free: 48.69 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.645, allocations: 55.03 kB / 1.294 GB, free: 48.69 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.0006408/1.646, allocations: 428.7 kB / 1.295 GB, free: 48.49 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/1.646, allocations: 189.4 kB / 1.295 GB, free: 48.45 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/1.649, allocations: 1.65 MB / 1.296 GB, free: 48.38 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/1.649, allocations: 11.06 kB / 1.296 GB, free: 48.38 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.649, allocations: 4.75 kB / 1.296 GB, free: 48.38 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002268/1.652, allocations: 1.546 MB / 1.298 GB, free: 48.04 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/1.658, allocations: 3.85 MB / 1.302 GB, free: 47.59 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.658, allocations: 3.594 kB / 1.302 GB, free: 47.59 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.659, allocations: 302.7 kB / 1.302 GB, free: 47.59 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.659, allocations: 11.38 kB / 1.302 GB, free: 47.59 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/1.659, allocations: 36.92 kB / 1.302 GB, free: 47.59 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/1.659, allocations: 1.188 MB / 1.303 GB, free: 46.43 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.659, allocations: 3.406 kB / 1.303 GB, free: 46.43 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/1.663, allocations: 2.53 MB / 1.306 GB, free: 46.08 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009013/1.664, allocations: 463.9 kB / 1.306 GB, free: 45.89 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/1.664, allocations: 30.3 kB / 1.306 GB, free: 45.89 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.665, allocations: 88.91 kB / 1.306 GB, free: 45.89 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.666, allocations: 93.94 kB / 1.306 GB, free: 45.89 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/1.666, allocations: 49.94 kB / 1.306 GB, free: 45.89 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001553/1.667, allocations: 1.253 MB / 1.308 GB, free: 45.78 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.7e-07/1.667, allocations: 0.9062 kB / 1.308 GB, free: 45.78 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002491/1.67, allocations: 1.124 MB / 1.309 GB, free: 45.66 MB / 0.9513 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.0008457/1.671, allocations: 418.5 kB / 1.309 GB, free: 45.55 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.004237/1.675, allocations: 2.513 MB / 1.312 GB, free: 45.41 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.675, allocations: 1.438 kB / 1.312 GB, free: 45.41 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/1.676, allocations: 0.7424 MB / 1.312 GB, free: 45.41 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/1.681, allocations: 1.192 MB / 1.313 GB, free: 45.26 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/1.687, allocations: 4.582 MB / 1.318 GB, free: 43.68 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.688, allocations: 1.812 MB / 1.32 GB, free: 42.92 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/1.689, allocations: 161.9 kB / 1.32 GB, free: 42.91 MB / 0.9513 GB Notification: Performance of SimCode: time 2.084e-06/1.689, allocations: 0 / 1.32 GB, free: 42.91 MB / 0.9513 GB Notification: Performance of Templates: time 0.05921/1.748, allocations: 60.21 MB / 1.379 GB, free: 9.195 MB / 0.9513 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)