Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004568/0.004568, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001153/0.001153, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1494/0.1494, allocations: 12 MB / 302.5 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004509/0.000451, allocations: 31.92 kB / 355.6 MB, free: 3.688 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.786/1.786, allocations: 268.1 MB / 0.661 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 107.8 kB / 0.8872 GB, free: 132 kB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1978, allocations: 108.4 MB / 0.993 GB, free: 3.836 MB / 0.7013 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.6396/0.8375, allocations: 214.8 MB / 1.203 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.8546, allocations: 10.83 MB / 1.213 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.8573, allocations: 67.62 kB / 1.213 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.86, allocations: 0.8578 MB / 1.214 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007965/0.8681, allocations: 2.801 MB / 1.217 GB, free: 15.06 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.8731, allocations: 1.864 MB / 1.219 GB, free: 13.22 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.008898/0.882, allocations: 6.61 MB / 1.225 GB, free: 6.59 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/0.8861, allocations: 2.685 MB / 1.228 GB, free: 3.855 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/0.892, allocations: 2.474 MB / 1.23 GB, free: 1.383 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/0.896, allocations: 1.916 MB / 1.232 GB, free: 15.46 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.8971, allocations: 248 kB / 1.232 GB, free: 15.22 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007355/0.9045, allocations: 2.561 MB / 1.235 GB, free: 12.66 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.9061, allocations: 0.7829 MB / 1.236 GB, free: 11.87 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.003639/0.9097, allocations: 1.412 MB / 1.237 GB, free: 10.45 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.008828/0.9186, allocations: 4.754 MB / 1.242 GB, free: 5.684 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9186, allocations: 0 / 1.242 GB, free: 5.684 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9186, allocations: 0 / 1.242 GB, free: 5.684 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0001232/0.9188, allocations: 0 / 1.242 GB, free: 5.684 MB / 0.8888 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.007225/0.926, allocations: 3.135 MB / 1.245 GB, free: 2.473 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.9261, allocations: 8.031 kB / 1.245 GB, free: 2.465 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.9296, allocations: 0.5644 MB / 1.245 GB, free: 1.898 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/0.9343, allocations: 2.245 MB / 1.247 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.9344, allocations: 119.1 kB / 1.248 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/0.935, allocations: 171.9 kB / 1.248 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00481/0.9398, allocations: 2.313 MB / 1.25 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.9399, allocations: 0 / 1.25 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.9402, allocations: 64 kB / 1.25 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/0.9402, allocations: 71.08 kB / 1.25 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.9442, allocations: 2.042 MB / 1.252 GB, free: 10.77 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.01194/0.9561, allocations: 8.301 MB / 1.26 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.9585, allocations: 1.402 MB / 1.262 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.96, allocations: 0.8702 MB / 1.262 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009935/0.961, allocations: 0.8878 MB / 1.263 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001565/0.9626, allocations: 0.8558 MB / 1.264 GB, free: 13.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 3.085e-06/0.9626, allocations: 0 / 1.264 GB, free: 13.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.004191/0.9668, allocations: 2.002 MB / 1.266 GB, free: 11.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.9669, allocations: 94.09 kB / 1.266 GB, free: 11.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.97, allocations: 1.781 MB / 1.268 GB, free: 9.855 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.9702, allocations: 53.7 kB / 1.268 GB, free: 9.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000975/0.9711, allocations: 0.9102 MB / 1.269 GB, free: 8.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/0.9716, allocations: 416.4 kB / 1.269 GB, free: 8.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/0.9721, allocations: 254.8 kB / 1.27 GB, free: 8.211 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.9723, allocations: 357.9 kB / 1.27 GB, free: 7.855 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.9735, allocations: 0.6188 MB / 1.27 GB, free: 7.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.9749, allocations: 0.8899 MB / 1.271 GB, free: 6.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/0.989, allocations: 3.923 MB / 1.275 GB, free: 2.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.9891, allocations: 0 / 1.275 GB, free: 2.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003679/0.9928, allocations: 1.849 MB / 1.277 GB, free: 388 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.9928, allocations: 44.05 kB / 1.277 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9928, allocations: 7.938 kB / 1.277 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.9929, allocations: 15.94 kB / 1.277 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.9946, allocations: 391.5 kB / 1.277 GB, free: 15.93 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006649/0.9953, allocations: 1.192 MB / 1.279 GB, free: 14.69 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.997, allocations: 196.4 kB / 1.279 GB, free: 14.5 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.9971, allocations: 51.98 kB / 1.279 GB, free: 14.45 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.002359/0.9995, allocations: 1.454 MB / 1.28 GB, free: 12.99 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00132/1.001, allocations: 0.8854 MB / 1.281 GB, free: 12.02 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01355/1.014, allocations: 3.892 MB / 1.285 GB, free: 8.035 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.113e-06/1.014, allocations: 3.938 kB / 1.285 GB, free: 8.031 MB / 0.9357 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.00353/1.018, allocations: 1.849 MB / 1.287 GB, free: 6.168 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/1.018, allocations: 33.7 kB / 1.287 GB, free: 6.129 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.018, allocations: 4 kB / 1.287 GB, free: 6.125 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.018, allocations: 12 kB / 1.287 GB, free: 6.113 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.019, allocations: 355.5 kB / 1.287 GB, free: 5.766 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/1.019, allocations: 19.92 kB / 1.287 GB, free: 5.746 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.021, allocations: 167.3 kB / 1.287 GB, free: 5.582 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.021, allocations: 51.92 kB / 1.287 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: 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.0005656/1.022, allocations: 438.5 kB / 1.288 GB, free: 5.098 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/1.022, allocations: 198.8 kB / 1.288 GB, free: 4.902 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/1.026, allocations: 1.64 MB / 1.29 GB, free: 3.254 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.026, allocations: 12 kB / 1.29 GB, free: 3.242 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.026, allocations: 0 / 1.29 GB, free: 3.242 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002359/1.028, allocations: 1.56 MB / 1.291 GB, free: 1.613 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/1.035, allocations: 3.853 MB / 1.295 GB, free: 13.66 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.035, allocations: 4 kB / 1.295 GB, free: 13.66 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.036, allocations: 311.9 kB / 1.295 GB, free: 13.35 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/1.036, allocations: 8 kB / 1.295 GB, free: 13.34 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.036, allocations: 35.98 kB / 1.295 GB, free: 13.31 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000557/1.037, allocations: 1.188 MB / 1.296 GB, free: 12.07 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.037, allocations: 4 kB / 1.296 GB, free: 12.07 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004128/1.041, allocations: 2.537 MB / 1.299 GB, free: 9.48 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/1.042, allocations: 467.4 kB / 1.299 GB, free: 9.004 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/1.042, allocations: 35.98 kB / 1.299 GB, free: 8.969 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.044, allocations: 98.12 kB / 1.299 GB, free: 8.875 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.044, allocations: 88.86 kB / 1.299 GB, free: 8.789 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.044, allocations: 51.97 kB / 1.3 GB, free: 8.738 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.002009/1.046, allocations: 1.251 MB / 1.301 GB, free: 7.496 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.21e-07/1.046, allocations: 0 / 1.301 GB, free: 7.496 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002922/1.049, allocations: 1.131 MB / 1.302 GB, free: 6.363 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.0009169/1.05, allocations: 395.9 kB / 1.302 GB, free: 5.98 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.004821/1.055, allocations: 2.525 MB / 1.305 GB, free: 3.43 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.055, allocations: 4.438 kB / 1.305 GB, free: 3.422 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/1.056, allocations: 0.7561 MB / 1.305 GB, free: 2.668 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005431/1.062, allocations: 1.204 MB / 1.307 GB, free: 1.504 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/1.07, allocations: 4.629 MB / 1.311 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/1.072, allocations: 1.852 MB / 1.313 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002913/1.075, allocations: 0.8776 MB / 1.314 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/1.075, allocations: 147.4 kB / 1.314 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of SimCode: time 1.072e-06/1.075, allocations: 0 / 1.314 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of Templates: time 0.06631/1.142, allocations: 43.22 MB / 1.356 GB, free: 15.09 MB / 1.014 GB make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile (rm -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.sim & ./AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1)