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.00504/0.00504, allocations: 101.3 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.001222/0.001222, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.1489/0.1489, allocations: 12 MB / 302.5 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004421/0.0004421, allocations: 35.89 kB / 355.6 MB, free: 3.637 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.638/1.638, allocations: 268.1 MB / 0.661 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 107.8 kB / 0.8872 GB, free: 172 kB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1809, allocations: 108.4 MB / 0.993 GB, free: 3.867 MB / 0.7013 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.564/0.745, allocations: 214.8 MB / 1.203 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.7594, allocations: 10.82 MB / 1.213 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.7618, allocations: 71.56 kB / 1.213 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.7639, allocations: 0.8656 MB / 1.214 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006439/0.7704, allocations: 2.785 MB / 1.217 GB, free: 15.12 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.7744, allocations: 1.858 MB / 1.219 GB, free: 13.27 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.006562/0.781, allocations: 6.615 MB / 1.225 GB, free: 6.645 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.7838, allocations: 2.69 MB / 1.228 GB, free: 3.914 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.7879, allocations: 2.531 MB / 1.23 GB, free: 1.383 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.7905, allocations: 1.919 MB / 1.232 GB, free: 15.46 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.7909, allocations: 248 kB / 1.232 GB, free: 15.22 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/0.7953, allocations: 2.557 MB / 1.235 GB, free: 12.66 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.796, allocations: 0.7868 MB / 1.236 GB, free: 11.87 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.7975, allocations: 1.412 MB / 1.237 GB, free: 10.45 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.005314/0.8028, allocations: 4.737 MB / 1.242 GB, free: 5.703 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8028, allocations: 0 / 1.242 GB, free: 5.703 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8028, allocations: 0 / 1.242 GB, free: 5.703 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 3.708e-05/0.8029, allocations: 0 / 1.242 GB, free: 5.703 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.005205/0.8081, allocations: 3.053 MB / 1.245 GB, free: 2.578 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.8081, allocations: 8.031 kB / 1.245 GB, free: 2.57 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.811, allocations: 0.5512 MB / 1.245 GB, free: 2.016 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/0.8146, allocations: 2.223 MB / 1.247 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.8147, allocations: 123.1 kB / 1.248 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.8149, allocations: 160 kB / 1.248 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.8183, allocations: 2.317 MB / 1.25 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.8184, allocations: 11.89 kB / 1.25 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.8185, allocations: 64 kB / 1.25 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.8186, allocations: 67.08 kB / 1.25 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.8218, allocations: 2.046 MB / 1.252 GB, free: 10.91 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.009949/0.8318, allocations: 8.287 MB / 1.26 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.8339, allocations: 1.394 MB / 1.262 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.8353, allocations: 0.8742 MB / 1.262 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009115/0.8362, allocations: 0.8839 MB / 1.263 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.8375, allocations: 0.8558 MB / 1.264 GB, free: 13.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 2.374e-06/0.8376, allocations: 0 / 1.264 GB, free: 13.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.003574/0.8411, allocations: 1.997 MB / 1.266 GB, free: 11.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.8412, allocations: 90.11 kB / 1.266 GB, free: 11.8 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.8432, allocations: 1.785 MB / 1.268 GB, free: 10.01 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/0.8433, allocations: 49.7 kB / 1.268 GB, free: 9.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/0.844, allocations: 0.8929 MB / 1.269 GB, free: 9.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.8443, allocations: 406.2 kB / 1.269 GB, free: 8.648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.8446, allocations: 250.8 kB / 1.269 GB, free: 8.398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8448, allocations: 357.9 kB / 1.27 GB, free: 8.043 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.8458, allocations: 0.6266 MB / 1.27 GB, free: 7.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.847, allocations: 0.8821 MB / 1.271 GB, free: 6.441 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/0.8606, allocations: 3.927 MB / 1.275 GB, free: 2.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8606, allocations: 4 kB / 1.275 GB, free: 2.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002957/0.8636, allocations: 1.847 MB / 1.277 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.8636, allocations: 33.7 kB / 1.277 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.8636, allocations: 8 kB / 1.277 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.8637, allocations: 11.94 kB / 1.277 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.8653, allocations: 391.9 kB / 1.277 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006001/0.8659, allocations: 1.196 MB / 1.278 GB, free: 14.88 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8673, allocations: 186.5 kB / 1.279 GB, free: 14.69 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.8674, allocations: 51.98 kB / 1.279 GB, free: 14.64 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.002072/0.8695, allocations: 1.46 MB / 1.28 GB, free: 13.18 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00121/0.8707, allocations: 0.8817 MB / 1.281 GB, free: 12.21 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01368/0.8844, allocations: 3.884 MB / 1.285 GB, free: 8.238 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.8844, allocations: 4 kB / 1.285 GB, free: 8.234 MB / 0.9357 GB Notification: Performance of matching and sorting (n=161) (initialization_lambda0): time 0.002965/0.8874, allocations: 1.835 MB / 1.287 GB, free: 6.383 MB / 0.9357 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.8874, allocations: 40.19 kB / 1.287 GB, free: 6.34 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8875, allocations: 8 kB / 1.287 GB, free: 6.332 MB / 0.9357 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.8875, allocations: 12 kB / 1.287 GB, free: 6.32 MB / 0.9357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.8889, allocations: 364 kB / 1.287 GB, free: 5.965 MB / 0.9357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.8889, allocations: 12 kB / 1.287 GB, free: 5.953 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.8903, allocations: 170.9 kB / 1.287 GB, free: 5.785 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.8904, allocations: 51.94 kB / 1.287 GB, free: 5.734 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.0004936/0.8909, allocations: 422.4 kB / 1.288 GB, free: 5.312 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.8911, allocations: 193.6 kB / 1.288 GB, free: 5.121 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.894, allocations: 1.648 MB / 1.289 GB, free: 3.465 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.894, allocations: 11.98 kB / 1.289 GB, free: 3.453 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.894, allocations: 4 kB / 1.289 GB, free: 3.449 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002169/0.8962, allocations: 1.549 MB / 1.291 GB, free: 1.832 MB / 0.9357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.902, allocations: 3.849 MB / 1.295 GB, free: 13.88 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.902, allocations: 4 kB / 1.295 GB, free: 13.88 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.9033, allocations: 307.5 kB / 1.295 GB, free: 13.58 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.9033, allocations: 4 kB / 1.295 GB, free: 13.58 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/0.9034, allocations: 39.97 kB / 1.295 GB, free: 13.54 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004998/0.9039, allocations: 1.188 MB / 1.296 GB, free: 12.3 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.9039, allocations: 7.938 kB / 1.296 GB, free: 12.3 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.9075, allocations: 2.532 MB / 1.299 GB, free: 9.711 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/0.9083, allocations: 458.3 kB / 1.299 GB, free: 9.242 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.9086, allocations: 31.98 kB / 1.299 GB, free: 9.211 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9097, allocations: 94.14 kB / 1.299 GB, free: 9.121 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.9099, allocations: 96.84 kB / 1.299 GB, free: 9.027 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.91, allocations: 43.98 kB / 1.299 GB, free: 8.984 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001481/0.9115, allocations: 1.251 MB / 1.301 GB, free: 7.742 MB / 0.9513 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9115, allocations: 0 / 1.301 GB, free: 7.742 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.002234/0.9137, allocations: 1.134 MB / 1.302 GB, free: 6.605 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.0007067/0.9145, allocations: 391.7 kB / 1.302 GB, free: 6.223 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.004213/0.9187, allocations: 2.525 MB / 1.305 GB, free: 3.672 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.9187, allocations: 4.438 kB / 1.305 GB, free: 3.664 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.92, allocations: 0.7554 MB / 1.305 GB, free: 2.91 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/0.9242, allocations: 1.197 MB / 1.306 GB, free: 1.75 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.9303, allocations: 4.567 MB / 1.311 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.9316, allocations: 1.852 MB / 1.313 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001998/0.9336, allocations: 0.8767 MB / 1.314 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.934, allocations: 155.3 kB / 1.314 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.934, allocations: 3.938 kB / 1.314 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.06178/0.9957, allocations: 43.22 MB / 1.356 GB, free: 15.4 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)