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.006867/0.006867, allocations: 101 kB / 15.73 MB, free: 6.051 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.001615/0.001615, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.2305/0.2305, allocations: 12.01 MB / 302.5 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004926/0.0004927, allocations: 31.88 kB / 355.6 MB, free: 3.637 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.752/1.752, allocations: 272.2 MB / 0.665 GB, free: 12.86 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 127.7 kB / 0.8928 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 109.2 MB / 0.9994 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.6366/0.8245, allocations: 214.7 MB / 1.209 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.8403, allocations: 10.82 MB / 1.22 GB, free: 9.957 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.8427, allocations: 75.5 kB / 1.22 GB, free: 9.883 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.845, allocations: 0.8891 MB / 1.221 GB, free: 8.988 MB / 0.8732 GB Notification: Performance of NFTyping.typeBindings: time 0.007212/0.8523, allocations: 2.913 MB / 1.223 GB, free: 6.062 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.8569, allocations: 1.878 MB / 1.225 GB, free: 4.199 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.007471/0.8644, allocations: 6.631 MB / 1.232 GB, free: 13.56 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.8676, allocations: 2.694 MB / 1.234 GB, free: 10.82 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.8725, allocations: 2.543 MB / 1.237 GB, free: 8.277 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.8755, allocations: 1.92 MB / 1.239 GB, free: 6.355 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0006917/0.8762, allocations: 248 kB / 1.239 GB, free: 6.113 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.8816, allocations: 2.561 MB / 1.241 GB, free: 3.547 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.8828, allocations: 0.7868 MB / 1.242 GB, free: 2.758 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.002538/0.8853, allocations: 1.408 MB / 1.244 GB, free: 1.344 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.8923, allocations: 4.741 MB / 1.248 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8923, allocations: 0 / 1.248 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8924, allocations: 4 kB / 1.248 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001248/0.8925, allocations: 0 / 1.248 GB, free: 12.59 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.00743/0.8999, allocations: 3.049 MB / 1.251 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9, allocations: 12.03 kB / 1.251 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/0.9033, allocations: 0.5512 MB / 1.252 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.9072, allocations: 2.22 MB / 1.254 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.809e-05/0.9073, allocations: 119.1 kB / 1.254 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.9077, allocations: 160 kB / 1.254 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/0.9116, allocations: 2.314 MB / 1.256 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.9116, allocations: 15.83 kB / 1.256 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.9118, allocations: 64 kB / 1.257 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/0.9119, allocations: 71.08 kB / 1.257 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.9155, allocations: 2.042 MB / 1.259 GB, free: 1.793 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.927, allocations: 8.291 MB / 1.267 GB, free: 9.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.9293, allocations: 1.391 MB / 1.268 GB, free: 7.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.9308, allocations: 0.8779 MB / 1.269 GB, free: 6.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009659/0.9317, allocations: 0.8839 MB / 1.27 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.9332, allocations: 0.8596 MB / 1.271 GB, free: 4.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 3.246e-06/0.9332, allocations: 0 / 1.271 GB, free: 4.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.004063/0.9373, allocations: 1.993 MB / 1.273 GB, free: 2.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.9374, allocations: 90.11 kB / 1.273 GB, free: 2.684 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.9402, allocations: 1.785 MB / 1.274 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.9403, allocations: 49.7 kB / 1.274 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008193/0.9412, allocations: 0.8968 MB / 1.275 GB, free: 15.93 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.9416, allocations: 398.4 kB / 1.276 GB, free: 15.54 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.942, allocations: 254.7 kB / 1.276 GB, free: 15.29 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9421, allocations: 357.9 kB / 1.276 GB, free: 14.93 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.9433, allocations: 0.6266 MB / 1.277 GB, free: 14.3 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.9446, allocations: 0.8821 MB / 1.278 GB, free: 13.33 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/0.9586, allocations: 3.927 MB / 1.282 GB, free: 9.312 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.9587, allocations: 0 / 1.282 GB, free: 9.312 MB / 0.9357 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003521/0.9622, allocations: 1.847 MB / 1.283 GB, free: 7.449 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.9623, allocations: 33.7 kB / 1.283 GB, free: 7.41 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.9623, allocations: 7.938 kB / 1.283 GB, free: 7.402 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.9623, allocations: 15.94 kB / 1.283 GB, free: 7.387 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.964, allocations: 395.8 kB / 1.284 GB, free: 7 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006796/0.9647, allocations: 1.184 MB / 1.285 GB, free: 5.77 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.9664, allocations: 194.7 kB / 1.285 GB, free: 5.578 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.9665, allocations: 47.98 kB / 1.285 GB, free: 5.531 MB / 0.9357 GB Warning: Assuming fixed start value for the following 6 variables: dynamicHX.vol1[1].dynBal.U:VARIABLE(start = dynamicHX.vol1[1].dynBal.fluidVolume * dynamicHX.vol1[1].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[1].dynBal.p_start, dynamicHX.vol1[1].dynBal.T_start, {})) + (dynamicHX.vol1[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * dynamicHX.vol1[2].dynBal.rho_start * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(dynamicHX.vol1[2].dynBal.p_start, dynamicHX.vol1[2].dynBal.T_start, {})) + (dynamicHX.vol1[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.U:VARIABLE(start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * (-84437.5 + 1006.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * (1.0 - dynamicHX.vol2[1].dynBal.X_start[1]) + (2.5010145e6 + 1860.0 * (-273.15 + dynamicHX.vol2[1].dynBal.T_start)) * dynamicHX.vol2[1].dynBal.X_start[1]) + (-273.15 + dynamicHX.vol2[1].dynBal.T_start) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[1].dynBal.fluidVolume * dynamicHX.vol2[1].dynBal.rho_start * dynamicHX.vol2[1].dynBal.X_start[1] unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] dynamicHX.vol2[2].dynBal.U:VARIABLE(start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * (-84437.5 + 1006.0 * (-273.15 + 293.15) * (1.0 - 0.01) + (2.5010145e6 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = 0.0 start = dynamicHX.vol2[2].dynBal.fluidVolume * 1.2 * 0.01 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [2,1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002363/0.9689, allocations: 1.459 MB / 1.287 GB, free: 4.07 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001344/0.9703, allocations: 0.8855 MB / 1.288 GB, free: 3.098 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01365/0.9839, allocations: 3.884 MB / 1.291 GB, free: 15.12 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/0.984, allocations: 0 / 1.291 GB, free: 15.12 MB / 0.9513 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.00359/0.9876, allocations: 1.832 MB / 1.293 GB, free: 13.27 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9876, allocations: 44.19 kB / 1.293 GB, free: 13.23 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9876, allocations: 4 kB / 1.293 GB, free: 13.22 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9877, allocations: 12 kB / 1.293 GB, free: 13.21 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.9891, allocations: 363.9 kB / 1.293 GB, free: 12.86 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.428e-05/0.9891, allocations: 12 kB / 1.294 GB, free: 12.84 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.9908, allocations: 170.9 kB / 1.294 GB, free: 12.68 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.9909, allocations: 47.94 kB / 1.294 GB, free: 12.63 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.0005985/0.9915, allocations: 441.4 kB / 1.294 GB, free: 12.19 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/0.9921, allocations: 193.6 kB / 1.294 GB, free: 12 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.9952, allocations: 1.645 MB / 1.296 GB, free: 10.35 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.9952, allocations: 15.98 kB / 1.296 GB, free: 10.33 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9953, allocations: 4 kB / 1.296 GB, free: 10.33 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002332/0.9976, allocations: 1.545 MB / 1.297 GB, free: 8.711 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007158/1.005, allocations: 3.853 MB / 1.301 GB, free: 4.762 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.005, allocations: 4.062 kB / 1.301 GB, free: 4.758 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.006, allocations: 307.6 kB / 1.302 GB, free: 4.457 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/1.006, allocations: 4 kB / 1.302 GB, free: 4.453 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.006, allocations: 39.97 kB / 1.302 GB, free: 4.414 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000578/1.007, allocations: 1.195 MB / 1.303 GB, free: 3.172 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.007, allocations: 0 / 1.303 GB, free: 3.172 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/1.011, allocations: 2.536 MB / 1.305 GB, free: 0.582 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.012, allocations: 458.4 kB / 1.306 GB, free: 116 kB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.013, allocations: 31.98 kB / 1.306 GB, free: 84 kB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.014, allocations: 87.94 kB / 1.306 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.014, allocations: 92.77 kB / 1.306 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.014, allocations: 47.98 kB / 1.306 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001972/1.016, allocations: 1.251 MB / 1.307 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/1.016, allocations: 0 / 1.307 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00297/1.019, allocations: 1.13 MB / 1.308 GB, free: 13.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (dynamicHX.vol1[1].dynBal.U,dynamicHX.vol1[2].dynBal.U,dynamicHX.vol2[1].dynBal.U,dynamicHX.vol2[1].dynBal.mXi[1],dynamicHX.vol2[2].dynBal.U,dynamicHX.vol2[2].dynBal.mXi[1],dynamicHX.heatCapacitor[1].T,dynamicHX.heatCapacitor[2].T,THeaOut1.T,THeaOut2.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/1.021, allocations: 402.3 kB / 1.309 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005674/1.026, allocations: 2.521 MB / 1.311 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.026, allocations: 448 / 1.311 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.028, allocations: 0.7639 MB / 1.312 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/1.033, allocations: 1.195 MB / 1.313 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/1.04, allocations: 4.571 MB / 1.317 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.042, allocations: 1.852 MB / 1.319 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002479/1.045, allocations: 0.866 MB / 1.32 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/1.045, allocations: 151.4 kB / 1.32 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/1.045, allocations: 0 / 1.32 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of Templates: time 0.06607/1.111, allocations: 43.23 MB / 1.362 GB, free: 6.398 MB / 1.014 GB make -j1 -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)