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.004364/0.004364, allocations: 108.5 kB / 15.71 MB, free: 5.977 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.001049/0.001049, allocations: 185.8 kB / 16.64 MB, free: 5.914 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.188/1.188, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05349/0.05349, allocations: 12.03 MB / 302.5 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004647/0.0004647, allocations: 27.89 kB / 355.6 MB, free: 13.96 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.874/1.874, allocations: 272.3 MB / 0.665 GB, free: 18.42 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 108.3 kB / 0.8928 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4668, allocations: 109.1 MB / 0.9994 GB, free: 8.203 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.2024/0.6692, allocations: 214.8 MB / 1.209 GB, free: 8.977 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.6845, allocations: 10.82 MB / 1.22 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.6867, allocations: 71.56 kB / 1.22 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.6888, allocations: 0.8578 MB / 1.221 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006734/0.6956, allocations: 2.803 MB / 1.223 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.6997, allocations: 1.854 MB / 1.225 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006817/0.7066, allocations: 6.616 MB / 1.232 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.7094, allocations: 2.684 MB / 1.234 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.7135, allocations: 2.476 MB / 1.237 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.7158, allocations: 1.92 MB / 1.239 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.7161, allocations: 251.9 kB / 1.239 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004359/0.7205, allocations: 2.557 MB / 1.241 GB, free: 7.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.7212, allocations: 0.7868 MB / 1.242 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.7227, allocations: 1.404 MB / 1.243 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.7276, allocations: 4.737 MB / 1.248 GB, free: 1.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7276, allocations: 0 / 1.248 GB, free: 1.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7277, allocations: 0 / 1.248 GB, free: 1.012 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.994e-05/0.7277, allocations: 0 / 1.248 GB, free: 1.012 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.005075/0.7328, allocations: 3.061 MB / 1.251 GB, free: 13.88 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.7328, allocations: 8.031 kB / 1.251 GB, free: 13.87 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/0.7357, allocations: 0.5513 MB / 1.252 GB, free: 13.32 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.739, allocations: 2.216 MB / 1.254 GB, free: 11.05 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.334e-05/0.7391, allocations: 127.1 kB / 1.254 GB, free: 10.92 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.7393, allocations: 164 kB / 1.254 GB, free: 10.76 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.7429, allocations: 2.31 MB / 1.256 GB, free: 8.402 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.7429, allocations: 7.906 kB / 1.256 GB, free: 8.395 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.7431, allocations: 68 kB / 1.256 GB, free: 8.328 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.7432, allocations: 67.02 kB / 1.256 GB, free: 8.262 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.7466, allocations: 2.046 MB / 1.258 GB, free: 6.211 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.009804/0.7564, allocations: 8.287 MB / 1.266 GB, free: 13.45 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.7587, allocations: 1.386 MB / 1.268 GB, free: 12.03 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.7601, allocations: 0.8712 MB / 1.269 GB, free: 11.16 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000935/0.761, allocations: 0.8867 MB / 1.27 GB, free: 10.09 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.7624, allocations: 0.8596 MB / 1.27 GB, free: 9.215 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=111): time 2.534e-06/0.7624, allocations: 3.938 kB / 1.27 GB, free: 9.211 MB / 0.9513 GB Notification: Performance of matching and sorting (n=111): time 0.003834/0.7663, allocations: 1.986 MB / 1.272 GB, free: 7.227 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.7664, allocations: 94.11 kB / 1.272 GB, free: 7.113 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.7687, allocations: 1.789 MB / 1.274 GB, free: 5.324 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.7688, allocations: 49.7 kB / 1.274 GB, free: 5.27 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/0.7696, allocations: 0.8968 MB / 1.275 GB, free: 4.359 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.7699, allocations: 394.4 kB / 1.275 GB, free: 3.969 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.7703, allocations: 258.6 kB / 1.276 GB, free: 3.711 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7705, allocations: 357.9 kB / 1.276 GB, free: 3.355 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.7716, allocations: 0.6227 MB / 1.277 GB, free: 2.73 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.7729, allocations: 0.8816 MB / 1.278 GB, free: 1.758 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4012/1.174, allocations: 3.912 MB / 1.281 GB, free: 266.2 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.174, allocations: 1.531 kB / 1.281 GB, free: 266.2 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003707/1.178, allocations: 1.844 MB / 1.283 GB, free: 265.9 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.178, allocations: 34.55 kB / 1.283 GB, free: 265.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.178, allocations: 9.766 kB / 1.283 GB, free: 265.8 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/1.178, allocations: 14.89 kB / 1.283 GB, free: 265.8 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/1.18, allocations: 398.7 kB / 1.284 GB, free: 265.8 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004782/1.18, allocations: 1.192 MB / 1.285 GB, free: 264.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.182, allocations: 186.6 kB / 1.285 GB, free: 264.6 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.182, allocations: 49.59 kB / 1.285 GB, free: 264.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.00264/1.185, allocations: 1.456 MB / 1.286 GB, free: 264.1 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001437/1.186, allocations: 0.8848 MB / 1.287 GB, free: 263.6 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01334/1.2, allocations: 3.89 MB / 1.291 GB, free: 262.4 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.874e-06/1.2, allocations: 1.188 kB / 1.291 GB, free: 262.4 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003098/1.203, allocations: 1.839 MB / 1.293 GB, free: 261.6 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.203, allocations: 38.88 kB / 1.293 GB, free: 261.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/1.203, allocations: 4.75 kB / 1.293 GB, free: 261.6 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.203, allocations: 10.69 kB / 1.293 GB, free: 261.6 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.204, allocations: 364.8 kB / 1.293 GB, free: 261.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.204, allocations: 13.72 kB / 1.293 GB, free: 261.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.206, allocations: 169.8 kB / 1.293 GB, free: 261.4 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/1.206, allocations: 48.78 kB / 1.293 GB, free: 261.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.0005291/1.206, allocations: 438.8 kB / 1.294 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/1.207, allocations: 190.3 kB / 1.294 GB, free: 261 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/1.209, allocations: 1.65 MB / 1.296 GB, free: 260.2 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.209, allocations: 11.44 kB / 1.296 GB, free: 260.2 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.209, allocations: 5.078 kB / 1.296 GB, free: 260.2 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002079/1.212, allocations: 1.548 MB / 1.297 GB, free: 259.2 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/1.217, allocations: 3.846 MB / 1.301 GB, free: 256.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.217, allocations: 2.406 kB / 1.301 GB, free: 256.9 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.218, allocations: 303.7 kB / 1.301 GB, free: 256.8 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.218, allocations: 11.66 kB / 1.301 GB, free: 256.8 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/1.218, allocations: 38.55 kB / 1.301 GB, free: 256.8 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000326/1.219, allocations: 1.192 MB / 1.302 GB, free: 255.6 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.219, allocations: 7.594 kB / 1.302 GB, free: 255.6 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/1.222, allocations: 2.519 MB / 1.305 GB, free: 254.1 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/1.223, allocations: 461.5 kB / 1.305 GB, free: 253.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/1.223, allocations: 32.45 kB / 1.305 GB, free: 253.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.224, allocations: 93.98 kB / 1.305 GB, free: 253.8 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.225, allocations: 85.58 kB / 1.306 GB, free: 253.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/1.225, allocations: 55.31 kB / 1.306 GB, free: 253.7 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001525/1.226, allocations: 1.254 MB / 1.307 GB, free: 253 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.2e-07/1.226, allocations: 0 / 1.307 GB, free: 253 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002144/1.228, allocations: 1.131 MB / 1.308 GB, free: 252.8 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.0006464/1.229, allocations: 402 kB / 1.308 GB, free: 252.7 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.00391/1.233, allocations: 2.514 MB / 1.311 GB, free: 251.5 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.233, allocations: 7.406 kB / 1.311 GB, free: 251.5 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.234, allocations: 0.7498 MB / 1.312 GB, free: 251.1 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/1.238, allocations: 1.195 MB / 1.313 GB, free: 250.5 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/1.244, allocations: 4.571 MB / 1.317 GB, free: 247.8 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/1.245, allocations: 1.856 MB / 1.319 GB, free: 245.9 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.001969/1.247, allocations: 0.8816 MB / 1.32 GB, free: 245 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/1.247, allocations: 151.4 kB / 1.32 GB, free: 244.8 MB / 0.9513 GB Notification: Performance of SimCode: time 3.9e-07/1.247, allocations: 0 / 1.32 GB, free: 244.8 MB / 0.9513 GB Notification: Performance of Templates: time 0.04663/1.294, allocations: 42.84 MB / 1.362 GB, free: 202.6 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)