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/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04076/0.04076, allocations: 9.133 MB / 28.92 MB, free: 0.8516 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 83.17 kB / 35.24 MB, free: 1.129 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 160.9 kB / 41.66 MB, free: 1.328 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8987/0.8987, allocations: 177.1 MB / 225.1 MB, free: 8.582 MB / 202.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.00386/0.00386, allocations: 0.8255 MB / 285.5 MB, free: 15.15 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.606/1.606, allocations: 274.9 MB / 0.6057 GB, free: 15.48 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") translateModel(AixLib.Fluid.HeatExchangers.Examples.DynamicHX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0.9375 kB / 0.7569 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.577e-05, allocations: 2.844 kB / 0.7569 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.1472/0.1472, allocations: 155 MB / 0.9082 GB, free: 12.45 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.009717/0.1569, allocations: 7.297 MB / 0.9154 GB, free: 5.137 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1581, allocations: 95.19 kB / 0.9154 GB, free: 5.043 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0009352/0.1591, allocations: 484.3 kB / 0.9159 GB, free: 4.566 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.1621, allocations: 1.997 MB / 0.9179 GB, free: 2.559 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.1644, allocations: 1.489 MB / 0.9193 GB, free: 1.066 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.005481/0.1699, allocations: 6.825 MB / 0.926 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.172, allocations: 1.897 MB / 0.9278 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.176, allocations: 3.267 MB / 0.931 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.1779, allocations: 1.913 MB / 0.9329 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.1782, allocations: 244 kB / 0.9331 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1796, allocations: 0.9824 MB / 0.9341 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.1802, allocations: 0.8605 MB / 0.9349 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.181, allocations: 0.9823 MB / 0.9359 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.1834, allocations: 2.777 MB / 0.9386 GB, free: 13.28 MB / 0.7762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1834, allocations: 0 / 0.9386 GB, free: 13.28 MB / 0.7762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1834, allocations: 0 / 0.9386 GB, free: 13.28 MB / 0.7762 GB Notification: Performance of Transformations before backend: time 2.474e-05/0.1835, allocations: 0 / 0.9386 GB, free: 13.28 MB / 0.7762 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.00331/0.1868, allocations: 3.043 MB / 0.9416 GB, free: 10.17 MB / 0.7762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1868, allocations: 19.98 kB / 0.9416 GB, free: 10.15 MB / 0.7762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.1885, allocations: 0.6965 MB / 0.9423 GB, free: 9.449 MB / 0.7762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.1905, allocations: 1.834 MB / 0.9441 GB, free: 7.566 MB / 0.7762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.1906, allocations: 127.1 kB / 0.9442 GB, free: 7.441 MB / 0.7762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.1908, allocations: 171.9 kB / 0.9443 GB, free: 7.273 MB / 0.7762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.1925, allocations: 1.662 MB / 0.946 GB, free: 5.445 MB / 0.7762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.1925, allocations: 3.953 kB / 0.946 GB, free: 5.441 MB / 0.7762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.1926, allocations: 71.94 kB / 0.946 GB, free: 5.371 MB / 0.7762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.1927, allocations: 71.02 kB / 0.9461 GB, free: 5.301 MB / 0.7762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.1935, allocations: 0.5248 MB / 0.9466 GB, free: 4.766 MB / 0.7762 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.005218/0.1987, allocations: 5.082 MB / 0.9516 GB, free: 15.58 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.1996, allocations: 0.6224 MB / 0.9522 GB, free: 14.95 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.2, allocations: 346.3 kB / 0.9525 GB, free: 14.61 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.2003, allocations: 119.9 kB / 0.9526 GB, free: 14.5 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006647/0.2009, allocations: 0.8874 MB / 0.9535 GB, free: 13.49 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=111): time 2.094e-06/0.2009, allocations: 0 / 0.9535 GB, free: 13.49 MB / 0.7918 GB Notification: Performance of matching and sorting (n=111): time 0.001195/0.2021, allocations: 0.8351 MB / 0.9543 GB, free: 12.65 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2022, allocations: 102 kB / 0.9544 GB, free: 12.53 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.2033, allocations: 1.406 MB / 0.9558 GB, free: 11.11 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.2034, allocations: 49.7 kB / 0.9558 GB, free: 11.05 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006327/0.204, allocations: 1.03 MB / 0.9568 GB, free: 10 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.2043, allocations: 440.3 kB / 0.9573 GB, free: 9.57 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.2046, allocations: 276.4 kB / 0.9575 GB, free: 9.293 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2048, allocations: 0.555 MB / 0.9581 GB, free: 8.73 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.2051, allocations: 202.5 kB / 0.9583 GB, free: 8.52 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.2057, allocations: 0.7973 MB / 0.959 GB, free: 7.543 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2068, allocations: 0.9594 MB / 0.96 GB, free: 6.48 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2069, allocations: 4 kB / 0.96 GB, free: 6.477 MB / 0.7918 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001212/0.2081, allocations: 0.9754 MB / 0.9609 GB, free: 5.48 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.2081, allocations: 38.78 kB / 0.961 GB, free: 5.438 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2081, allocations: 4 kB / 0.961 GB, free: 5.434 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2081, allocations: 8.656 kB / 0.961 GB, free: 5.426 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.209, allocations: 359.4 kB / 0.9613 GB, free: 5.074 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000586/0.2096, allocations: 1.802 MB / 0.9631 GB, free: 3.215 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.2102, allocations: 131.3 kB / 0.9632 GB, free: 3.086 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.2103, allocations: 47.92 kB / 0.9632 GB, free: 3.039 MB / 0.7918 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.sin_1.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.sin_1.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.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = dynamicHX.vol2[1].dynBal.X_start[1] unit = \"1\" fixed = true nominal = 0.01 protected = true ) \"Structurally independent mass fractions\" type: Real [2,1] 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[2].dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = \"1\" fixed = true nominal = 0.01 protected = true ) \"Structurally independent mass fractions\" 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007038/0.211, allocations: 0.5009 MB / 0.9637 GB, free: 2.535 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005753/0.2115, allocations: 0.7894 MB / 0.9645 GB, free: 1.566 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.2127, allocations: 0.9555 MB / 0.9654 GB, free: 0.5 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.2127, allocations: 4 kB / 0.9654 GB, free: 0.4961 MB / 0.7918 GB Notification: Performance of matching and sorting (n=159) (initialization_lambda0): time 0.001196/0.2139, allocations: 0.9755 MB / 0.9664 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2139, allocations: 33.7 kB / 0.9664 GB, free: 15.46 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2139, allocations: 4 kB / 0.9664 GB, free: 15.45 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.2139, allocations: 12 kB / 0.9664 GB, free: 15.44 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.2146, allocations: 324.2 kB / 0.9668 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2146, allocations: 15.92 kB / 0.9668 GB, free: 15.11 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.2152, allocations: 111.4 kB / 0.9669 GB, free: 15 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.2153, allocations: 36 kB / 0.9669 GB, free: 14.96 MB / 0.8074 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.sin_1.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.sin_1.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.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = dynamicHX.vol2[1].dynBal.X_start[1] unit = \"1\" fixed = true nominal = 0.01 protected = true ) \"Structurally independent mass fractions\" type: Real [2,1] 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[2].dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = \"1\" fixed = true nominal = 0.01 protected = true ) \"Structurally independent mass fractions\" 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] 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 (157): * Single equations (assignments): 153 * 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.0003508/0.2156, allocations: 0.5075 MB / 0.9674 GB, free: 14.45 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.2159, allocations: 210.9 kB / 0.9676 GB, free: 14.24 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2171, allocations: 0.8115 MB / 0.9684 GB, free: 13.42 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.2171, allocations: 8 kB / 0.9684 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2171, allocations: 4 kB / 0.9684 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006015/0.2177, allocations: 0.7329 MB / 0.9691 GB, free: 12.61 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.2199, allocations: 2.221 MB / 0.9713 GB, free: 10.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2199, allocations: 4 kB / 0.9713 GB, free: 10.29 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.2205, allocations: 264 kB / 0.9715 GB, free: 10.04 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.2205, allocations: 11.98 kB / 0.9716 GB, free: 10.02 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.2206, allocations: 31.98 kB / 0.9716 GB, free: 9.992 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004593/0.2211, allocations: 1.802 MB / 0.9734 GB, free: 8.133 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2211, allocations: 4 kB / 0.9734 GB, free: 8.129 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2222, allocations: 1.209 MB / 0.9745 GB, free: 6.852 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.2225, allocations: 334.4 kB / 0.9749 GB, free: 6.523 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2226, allocations: 35.98 kB / 0.9749 GB, free: 6.488 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/0.2231, allocations: 57.58 kB / 0.9749 GB, free: 6.434 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2232, allocations: 92.72 kB / 0.975 GB, free: 6.344 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.2233, allocations: 47.97 kB / 0.9751 GB, free: 6.297 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0005291/0.2238, allocations: 0.7465 MB / 0.9758 GB, free: 5.555 MB / 0.8074 GB Notification: Performance of sort global known variables: time 7e-08/0.2238, allocations: 0 / 0.9758 GB, free: 5.555 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.001272/0.2251, allocations: 1.142 MB / 0.9769 GB, free: 4.41 MB / 0.8074 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.medium.Xi[1],dynamicHX.vol2[1].dynBal.U,dynamicHX.vol2[2].dynBal.medium.Xi[1],dynamicHX.vol2[2].dynBal.U,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.0003274/0.2254, allocations: 261 kB / 0.9772 GB, free: 4.145 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.2268, allocations: 1.264 MB / 0.9784 GB, free: 2.836 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2268, allocations: 0.875 kB / 0.9784 GB, free: 2.836 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.2272, allocations: 359 kB / 0.9787 GB, free: 2.48 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.2294, allocations: 1.117 MB / 0.9798 GB, free: 1.441 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.2331, allocations: 3.717 MB / 0.9835 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.2335, allocations: 0.5659 MB / 0.984 GB, free: 13.03 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008089/0.2343, allocations: 333.9 kB / 0.9843 GB, free: 12.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/0.2357, allocations: 0.8373 MB / 0.9852 GB, free: 11.86 MB / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/0.2357, allocations: 0 / 0.9852 GB, free: 11.86 MB / 0.823 GB Notification: Performance of Templates: time 0.04098/0.2767, allocations: 43.69 MB / 1.028 GB, free: 1.133 MB / 0.8543 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.makefile [Timeout 660] (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=240 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatExchangers.Examples.DynamicHX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.676826209295541]