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.001157/0.001157, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.00114/0.001141, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05254/0.05254, allocations: 12.05 MB / 303.2 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005084/0.0005085, allocations: 31.94 kB / 356.3 MB, free: 13.97 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.726/1.726, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002032, allocations: 115.8 kB / 0.8935 GB, free: 15.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4727/0.4748, allocations: 109.1 MB / 1 GB, free: 8.18 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.2048/0.6796, allocations: 214.8 MB / 1.21 GB, free: 8.969 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.695, allocations: 10.81 MB / 1.22 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.6971, allocations: 67.62 kB / 1.22 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.6997, allocations: 0.8656 MB / 1.221 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006792/0.7065, allocations: 2.803 MB / 1.224 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.711, allocations: 1.848 MB / 1.226 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007976/0.719, allocations: 6.625 MB / 1.232 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003612/0.7226, allocations: 2.692 MB / 1.235 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005306/0.728, allocations: 2.521 MB / 1.237 GB, free: 12.63 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.7314, allocations: 1.922 MB / 1.239 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008411/0.7323, allocations: 248 kB / 1.24 GB, free: 10.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/0.7375, allocations: 2.557 MB / 1.242 GB, free: 7.902 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.7387, allocations: 0.7829 MB / 1.243 GB, free: 7.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.7413, allocations: 1.416 MB / 1.244 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007317/0.7486, allocations: 4.737 MB / 1.249 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7486, allocations: 0 / 1.249 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7487, allocations: 0 / 1.249 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001171/0.7488, allocations: 0 / 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.007122/0.7559, allocations: 3.057 MB / 1.252 GB, free: 13.82 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7559, allocations: 8.031 kB / 1.252 GB, free: 13.81 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.7592, allocations: 0.5551 MB / 1.252 GB, free: 13.25 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.7633, allocations: 2.22 MB / 1.255 GB, free: 10.98 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.843e-05/0.7634, allocations: 119.1 kB / 1.255 GB, free: 10.86 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/0.7639, allocations: 160 kB / 1.255 GB, free: 10.7 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/0.7683, allocations: 2.31 MB / 1.257 GB, free: 8.344 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/0.7684, allocations: 3.906 kB / 1.257 GB, free: 8.34 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.7686, allocations: 68 kB / 1.257 GB, free: 8.273 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/0.7687, allocations: 75.02 kB / 1.257 GB, free: 8.199 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.7724, allocations: 2.042 MB / 1.259 GB, free: 6.152 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.01173/0.7841, allocations: 8.295 MB / 1.267 GB, free: 13.38 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.7865, allocations: 1.39 MB / 1.269 GB, free: 11.96 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.7881, allocations: 0.8753 MB / 1.269 GB, free: 11.09 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/0.7891, allocations: 0.8867 MB / 1.27 GB, free: 10.02 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.7906, allocations: 0.8539 MB / 1.271 GB, free: 9.148 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 2.936e-06/0.7906, allocations: 0 / 1.271 GB, free: 9.148 MB / 0.9513 GB Notification: Performance of matching and sorting (n=111): time 0.004029/0.7946, allocations: 1.997 MB / 1.273 GB, free: 7.152 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.7947, allocations: 90.11 kB / 1.273 GB, free: 7.043 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.7974, allocations: 1.781 MB / 1.275 GB, free: 5.262 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.7976, allocations: 49.7 kB / 1.275 GB, free: 5.207 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/0.7984, allocations: 0.8968 MB / 1.276 GB, free: 4.297 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.7988, allocations: 406.3 kB / 1.276 GB, free: 3.895 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.7992, allocations: 246.7 kB / 1.276 GB, free: 3.648 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7993, allocations: 361.9 kB / 1.277 GB, free: 3.289 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.8004, allocations: 0.6305 MB / 1.277 GB, free: 2.656 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.8017, allocations: 0.8777 MB / 1.278 GB, free: 1.688 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3994/1.201, allocations: 3.908 MB / 1.282 GB, free: 265.8 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.201, allocations: 1.5 kB / 1.282 GB, free: 265.8 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003496/1.205, allocations: 1.851 MB / 1.284 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/1.205, allocations: 34.84 kB / 1.284 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.205, allocations: 8.547 kB / 1.284 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/1.205, allocations: 14.19 kB / 1.284 GB, free: 265.5 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.206, allocations: 388.6 kB / 1.284 GB, free: 265.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004731/1.207, allocations: 1.193 MB / 1.286 GB, free: 264.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.209, allocations: 184.6 kB / 1.286 GB, free: 264.2 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.209, allocations: 53.64 kB / 1.286 GB, free: 264.2 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.002642/1.211, allocations: 1.456 MB / 1.287 GB, free: 263.7 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0014/1.213, allocations: 0.8836 MB / 1.288 GB, free: 263.3 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01289/1.226, allocations: 3.888 MB / 1.292 GB, free: 262 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.053e-06/1.226, allocations: 1.188 kB / 1.292 GB, free: 262 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003101/1.229, allocations: 1.845 MB / 1.294 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.229, allocations: 37.64 kB / 1.294 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.229, allocations: 4.969 kB / 1.294 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.229, allocations: 11.38 kB / 1.294 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.23, allocations: 365.8 kB / 1.294 GB, free: 261 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.23, allocations: 11.22 kB / 1.294 GB, free: 261 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.232, allocations: 160.8 kB / 1.294 GB, free: 261 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/1.232, allocations: 53.58 kB / 1.294 GB, free: 260.9 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.0005298/1.232, allocations: 430.9 kB / 1.295 GB, free: 260.6 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/1.233, allocations: 194.3 kB / 1.295 GB, free: 260.6 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/1.235, allocations: 1.648 MB / 1.296 GB, free: 259.7 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.235, allocations: 11.81 kB / 1.296 GB, free: 259.7 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.235, allocations: 0 / 1.296 GB, free: 259.7 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001982/1.237, allocations: 1.546 MB / 1.298 GB, free: 258.8 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/1.243, allocations: 3.85 MB / 1.302 GB, free: 256.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.243, allocations: 3.188 kB / 1.302 GB, free: 256.4 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.244, allocations: 314.9 kB / 1.302 GB, free: 256.3 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.244, allocations: 6.719 kB / 1.302 GB, free: 256.3 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/1.244, allocations: 34.45 kB / 1.302 GB, free: 256.3 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000322/1.244, allocations: 1.193 MB / 1.303 GB, free: 255.1 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.244, allocations: 6.625 kB / 1.303 GB, free: 255.1 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/1.248, allocations: 2.522 MB / 1.306 GB, free: 253.7 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/1.249, allocations: 463.5 kB / 1.306 GB, free: 253.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/1.249, allocations: 38.84 kB / 1.306 GB, free: 253.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.25, allocations: 93.39 kB / 1.306 GB, free: 253.3 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/1.25, allocations: 80.61 kB / 1.306 GB, free: 253.3 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.38e-05/1.25, allocations: 53.09 kB / 1.306 GB, free: 253.2 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.00152/1.252, allocations: 1.262 MB / 1.308 GB, free: 252.6 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.5e-07/1.252, allocations: 0 / 1.308 GB, free: 252.6 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002064/1.254, allocations: 1.13 MB / 1.309 GB, free: 252.4 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.0006833/1.255, allocations: 392.1 kB / 1.309 GB, free: 252.2 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.003804/1.259, allocations: 2.518 MB / 1.312 GB, free: 251 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.259, allocations: 2.719 kB / 1.312 GB, free: 251 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.26, allocations: 0.743 MB / 1.312 GB, free: 250.6 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/1.264, allocations: 1.203 MB / 1.313 GB, free: 250.1 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005506/1.27, allocations: 4.569 MB / 1.318 GB, free: 247.1 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/1.271, allocations: 1.813 MB / 1.32 GB, free: 245.3 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/1.271, allocations: 155.4 kB / 1.32 GB, free: 245.1 MB / 0.9513 GB Notification: Performance of SimCode: time 8.71e-07/1.271, allocations: 4 kB / 1.32 GB, free: 245.1 MB / 0.9513 GB Notification: Performance of Templates: time 0.04715/1.318, allocations: 59.92 MB / 1.378 GB, free: 185.4 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)