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.001994/0.001994, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.002398/0.002398, allocations: 189.6 kB / 16.25 MB, free: 6.582 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1777/0.1777, allocations: 12.01 MB / 302.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004861/0.0004862, allocations: 23.94 kB / 355.2 MB, free: 3.984 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.758/1.758, allocations: 268.1 MB / 0.6605 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 112.1 kB / 0.7795 GB, free: 32.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1769, allocations: 108.4 MB / 0.8854 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.5991/0.776, allocations: 212.1 MB / 1.092 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.7898, allocations: 10.76 MB / 1.103 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.7923, allocations: 62.56 kB / 1.103 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.7944, allocations: 0.7518 MB / 1.104 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.8007, allocations: 2.626 MB / 1.106 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.8047, allocations: 1.707 MB / 1.108 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006665/0.8114, allocations: 6.629 MB / 1.114 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.8144, allocations: 2.658 MB / 1.117 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/0.82, allocations: 2.493 MB / 1.119 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003844/0.8238, allocations: 2.007 MB / 1.121 GB, free: 0 / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006948/0.8245, allocations: 247.6 kB / 1.122 GB, free: 0 / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006487/0.831, allocations: 2.655 MB / 1.124 GB, free: 15.54 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.8321, allocations: 0.7879 MB / 1.125 GB, free: 15.17 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.002416/0.8346, allocations: 1.411 MB / 1.126 GB, free: 14.36 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.8413, allocations: 4.807 MB / 1.131 GB, free: 12.25 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8414, allocations: 0 / 1.131 GB, free: 12.25 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8414, allocations: 0 / 1.131 GB, free: 12.25 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 6.692e-05/0.8414, allocations: 0 / 1.131 GB, free: 12.25 MB / 0.7482 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.006633/0.8481, allocations: 3.053 MB / 1.134 GB, free: 10.14 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8481, allocations: 11.12 kB / 1.134 GB, free: 10.14 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.8513, allocations: 0.5482 MB / 1.135 GB, free: 9.883 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.8551, allocations: 2.209 MB / 1.137 GB, free: 8.438 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.8552, allocations: 119.7 kB / 1.137 GB, free: 8.387 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.8554, allocations: 169 kB / 1.137 GB, free: 8.328 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.8592, allocations: 2.309 MB / 1.139 GB, free: 6.988 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.8592, allocations: 6.812 kB / 1.139 GB, free: 6.984 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.8594, allocations: 66.39 kB / 1.139 GB, free: 6.938 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.8595, allocations: 67.14 kB / 1.139 GB, free: 6.926 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.8628, allocations: 2.041 MB / 1.141 GB, free: 5.918 MB / 0.7482 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.01056/0.8734, allocations: 8.22 MB / 1.149 GB, free: 15.55 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.8757, allocations: 1.391 MB / 1.151 GB, free: 14.5 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.8772, allocations: 0.8774 MB / 1.152 GB, free: 13.62 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.8782, allocations: 0.8911 MB / 1.153 GB, free: 12.55 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.8797, allocations: 0.8518 MB / 1.153 GB, free: 11.69 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=111): time 3.336e-06/0.8797, allocations: 6.438 kB / 1.153 GB, free: 11.68 MB / 0.7638 GB Notification: Performance of matching and sorting (n=111): time 0.004182/0.8839, allocations: 1.989 MB / 1.155 GB, free: 9.691 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.884, allocations: 90.11 kB / 1.155 GB, free: 9.586 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.8864, allocations: 1.735 MB / 1.157 GB, free: 7.852 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.8865, allocations: 52.33 kB / 1.157 GB, free: 7.797 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.8873, allocations: 0.8915 MB / 1.158 GB, free: 6.895 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/0.8877, allocations: 398.9 kB / 1.158 GB, free: 6.508 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.8881, allocations: 253.2 kB / 1.159 GB, free: 6.258 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.8883, allocations: 357.9 kB / 1.159 GB, free: 5.902 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.8894, allocations: 0.6227 MB / 1.16 GB, free: 5.273 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.8908, allocations: 0.8841 MB / 1.16 GB, free: 4.305 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/0.9057, allocations: 3.944 MB / 1.164 GB, free: 304 kB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.9058, allocations: 4 kB / 1.164 GB, free: 300 kB / 0.7638 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003473/0.9093, allocations: 1.844 MB / 1.166 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.9093, allocations: 37.69 kB / 1.166 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.9094, allocations: 4 kB / 1.166 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.9094, allocations: 16.41 kB / 1.166 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.9112, allocations: 393.6 kB / 1.167 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006671/0.9118, allocations: 1.197 MB / 1.168 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.9139, allocations: 254.5 kB / 1.168 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.914, allocations: 55.98 kB / 1.168 GB, free: 12.49 MB / 0.7794 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 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]) + (2501014.5 + 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = max(0.0, 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) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = max(0.0, 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.00237/0.9164, allocations: 1.44 MB / 1.169 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001311/0.9177, allocations: 0.8828 MB / 1.17 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01447/0.9322, allocations: 3.895 MB / 1.174 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.551e-06/0.9323, allocations: 4 kB / 1.174 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.003454/0.9357, allocations: 1.84 MB / 1.176 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.9358, allocations: 36.2 kB / 1.176 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9358, allocations: 4 kB / 1.176 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9358, allocations: 12.44 kB / 1.176 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.9373, allocations: 365.6 kB / 1.176 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/0.9374, allocations: 22.52 kB / 1.176 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.9393, allocations: 230.9 kB / 1.177 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.9394, allocations: 51.92 kB / 1.177 GB, free: 3.594 MB / 0.7794 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol1[2].dynBal.U:VARIABLE(start = dynamicHX.vol1[2].dynBal.fluidVolume * 995.586 * AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.specificInternalEnergy(AixLib.Fluid.HeatExchangers.Examples.DynamicHX.dynamicHX.vol1.dynBal.Medium.setState_pTX(300000.0, 293.15, {})) + (293.15 - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 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]) + (2501014.5 + 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[1].dynBal.mXi[1]:VARIABLE(min = max(0.0, 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) + (2501014.5 + 1860.0 * (-273.15 + 293.15)) * 0.01) + (-273.15 + 293.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] dynamicHX.vol2[2].dynBal.mXi[1]:VARIABLE(min = max(0.0, 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.0005859/0.94, allocations: 436.4 kB / 1.177 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.9404, allocations: 189.8 kB / 1.177 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/0.9437, allocations: 1.646 MB / 1.179 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.9438, allocations: 8 kB / 1.179 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.9438, allocations: 6.531 kB / 1.179 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002329/0.9461, allocations: 1.553 MB / 1.18 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.9529, allocations: 3.804 MB / 1.184 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.953, allocations: 4 kB / 1.184 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.9544, allocations: 308.8 kB / 1.184 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.9544, allocations: 8 kB / 1.184 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.9545, allocations: 35.98 kB / 1.184 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005745/0.9551, allocations: 1.193 MB / 1.186 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9551, allocations: 4 kB / 1.186 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.9592, allocations: 2.515 MB / 1.188 GB, free: 7.723 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/0.9602, allocations: 458.3 kB / 1.188 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.9604, allocations: 36 kB / 1.188 GB, free: 7.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.9619, allocations: 165 kB / 1.189 GB, free: 7.059 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.9621, allocations: 95.39 kB / 1.189 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.9622, allocations: 51.97 kB / 1.189 GB, free: 6.918 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001636/0.9639, allocations: 1.219 MB / 1.19 GB, free: 5.707 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9639, allocations: 0 / 1.19 GB, free: 5.707 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002387/0.9663, allocations: 1.111 MB / 1.191 GB, free: 4.594 MB / 0.795 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.0008084/0.9671, allocations: 394.3 kB / 1.191 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006084/0.9732, allocations: 3.157 MB / 1.195 GB, free: 1.125 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.9732, allocations: 448 / 1.195 GB, free: 1.125 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.9747, allocations: 0.757 MB / 1.195 GB, free: 404 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/0.9802, allocations: 1.209 MB / 1.196 GB, free: 15.28 MB / 0.8107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.9886, allocations: 5.382 MB / 1.202 GB, free: 9.848 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.99, allocations: 1.852 MB / 1.204 GB, free: 7.961 MB / 0.8107 GB Notification: Performance of simCode: alias equations: time 0.00275/0.9928, allocations: 0.8675 MB / 1.204 GB, free: 7.094 MB / 0.8107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.9932, allocations: 147.4 kB / 1.204 GB, free: 6.949 MB / 0.8107 GB Notification: Performance of SimCode: time 1.002e-06/0.9932, allocations: 4 kB / 1.204 GB, free: 6.945 MB / 0.8107 GB Notification: Performance of Templates: time 0.06537/1.059, allocations: 41.97 MB / 1.245 GB, free: 13.65 MB / 0.8575 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)