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.03978/0.03978, allocations: 9.133 MB / 29.71 MB, free: 356 kB / 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.001042/0.001042, allocations: 87.28 kB / 36.02 MB, free: 0.9727 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.001137/0.001137, allocations: 162.6 kB / 42.45 MB, free: 1.301 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.9012/0.9012, allocations: 177.1 MB / 225.9 MB, free: 8.574 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.004083/0.004083, allocations: 0.8304 MB / 286.3 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.593/1.593, allocations: 274.9 MB / 0.6065 GB, free: 15.45 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 8.52e-07/8.52e-07, allocations: 0 / 0.7576 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.094e-05, allocations: 6.812 kB / 0.7576 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatExchangers.Examples.DynamicHX): time 0.1286/0.1287, allocations: 155 MB / 0.909 GB, free: 12.47 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.008107/0.1368, allocations: 7.298 MB / 0.9161 GB, free: 5.16 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006119/0.1374, allocations: 103.1 kB / 0.9162 GB, free: 5.059 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.1382, allocations: 484.3 kB / 0.9167 GB, free: 4.582 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.1406, allocations: 1.989 MB / 0.9186 GB, free: 2.582 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.1421, allocations: 1.497 MB / 0.9201 GB, free: 1.082 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.004135/0.1463, allocations: 6.823 MB / 0.9267 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.1478, allocations: 1.897 MB / 0.9286 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.1506, allocations: 3.257 MB / 0.9318 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.1521, allocations: 1.917 MB / 0.9337 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.1523, allocations: 244 kB / 0.9339 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1534, allocations: 0.9902 MB / 0.9348 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007234/0.1541, allocations: 0.8489 MB / 0.9357 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007034/0.1548, allocations: 0.9823 MB / 0.9366 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1568, allocations: 2.773 MB / 0.9393 GB, free: 13.31 MB / 0.7762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1568, allocations: 0 / 0.9393 GB, free: 13.31 MB / 0.7762 GB Notification: Performance of FrontEnd: time 2.464e-06/0.1568, allocations: 3.984 kB / 0.9393 GB, free: 13.3 MB / 0.7762 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.1568, allocations: 0 / 0.9393 GB, free: 13.3 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.002998/0.1598, allocations: 3.039 MB / 0.9423 GB, free: 10.2 MB / 0.7762 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1599, allocations: 15.97 kB / 0.9423 GB, free: 10.18 MB / 0.7762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.1614, allocations: 0.7042 MB / 0.943 GB, free: 9.477 MB / 0.7762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1633, allocations: 1.842 MB / 0.9448 GB, free: 7.586 MB / 0.7762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.1633, allocations: 127.1 kB / 0.9449 GB, free: 7.461 MB / 0.7762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.1635, allocations: 172 kB / 0.9451 GB, free: 7.293 MB / 0.7762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.1651, allocations: 1.658 MB / 0.9467 GB, free: 5.469 MB / 0.7762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.1651, allocations: 11.89 kB / 0.9467 GB, free: 5.457 MB / 0.7762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1652, allocations: 68 kB / 0.9468 GB, free: 5.391 MB / 0.7762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.1653, allocations: 71.02 kB / 0.9469 GB, free: 5.32 MB / 0.7762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/0.166, allocations: 0.5287 MB / 0.9474 GB, free: 4.781 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.004851/0.1709, allocations: 5.082 MB / 0.9523 GB, free: 15.59 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.1716, allocations: 0.6224 MB / 0.953 GB, free: 14.96 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.172, allocations: 342.3 kB / 0.9533 GB, free: 14.63 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.1722, allocations: 104.9 kB / 0.9534 GB, free: 14.53 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.1728, allocations: 0.8797 MB / 0.9542 GB, free: 13.53 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=111): time 2.024e-06/0.1728, allocations: 0 / 0.9542 GB, free: 13.53 MB / 0.7918 GB Notification: Performance of matching and sorting (n=111): time 0.001079/0.1739, allocations: 0.839 MB / 0.9551 GB, free: 12.68 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1739, allocations: 102 kB / 0.9552 GB, free: 12.56 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.1752, allocations: 1.402 MB / 0.9565 GB, free: 11.14 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.1752, allocations: 49.7 kB / 0.9566 GB, free: 11.09 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.1758, allocations: 1.038 MB / 0.9576 GB, free: 10.03 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.176, allocations: 432.4 kB / 0.958 GB, free: 9.605 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.1763, allocations: 276.4 kB / 0.9583 GB, free: 9.328 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1764, allocations: 0.555 MB / 0.9588 GB, free: 8.766 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.1767, allocations: 206.5 kB / 0.959 GB, free: 8.551 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.1773, allocations: 0.7933 MB / 0.9598 GB, free: 7.578 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1783, allocations: 0.9672 MB / 0.9607 GB, free: 6.508 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1783, allocations: 0 / 0.9607 GB, free: 6.508 MB / 0.7918 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001076/0.1794, allocations: 0.9676 MB / 0.9617 GB, free: 5.52 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.1794, allocations: 33.7 kB / 0.9617 GB, free: 5.48 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1794, allocations: 11.92 kB / 0.9617 GB, free: 5.469 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1794, allocations: 12.66 kB / 0.9617 GB, free: 5.457 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.1802, allocations: 359.5 kB / 0.9621 GB, free: 5.105 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007605/0.181, allocations: 1.798 MB / 0.9638 GB, free: 3.25 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.1815, allocations: 127.3 kB / 0.9639 GB, free: 3.125 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.1816, allocations: 47.92 kB / 0.964 GB, free: 3.078 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.0006531/0.1822, allocations: 0.503 MB / 0.9645 GB, free: 2.574 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005113/0.1827, allocations: 0.7972 MB / 0.9653 GB, free: 1.598 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.1838, allocations: 0.9672 MB / 0.9662 GB, free: 0.5195 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.1838, allocations: 0 / 0.9662 GB, free: 0.5195 MB / 0.7918 GB Notification: Performance of matching and sorting (n=159) (initialization_lambda0): time 0.00112/0.1849, allocations: 0.9714 MB / 0.9672 GB, free: 15.53 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.1849, allocations: 37.7 kB / 0.9672 GB, free: 15.48 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1849, allocations: 8 kB / 0.9672 GB, free: 15.48 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1849, allocations: 8 kB / 0.9672 GB, free: 15.47 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.1856, allocations: 324.2 kB / 0.9675 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1856, allocations: 15.94 kB / 0.9675 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.1861, allocations: 107.4 kB / 0.9676 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.1862, allocations: 43.98 kB / 0.9677 GB, free: 14.99 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.0003267/0.1865, allocations: 0.4982 MB / 0.9682 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.1867, allocations: 222.9 kB / 0.9684 GB, free: 14.26 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.1877, allocations: 0.8034 MB / 0.9692 GB, free: 13.45 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1877, allocations: 12 kB / 0.9692 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1877, allocations: 0 / 0.9692 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000894/0.1886, allocations: 0.7329 MB / 0.9699 GB, free: 12.63 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1909, allocations: 2.221 MB / 0.972 GB, free: 10.32 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1909, allocations: 4 kB / 0.9721 GB, free: 10.32 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006387/0.1916, allocations: 260 kB / 0.9723 GB, free: 10.07 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1916, allocations: 8 kB / 0.9723 GB, free: 10.06 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.1916, allocations: 39.97 kB / 0.9723 GB, free: 10.02 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000472/0.1921, allocations: 1.794 MB / 0.9741 GB, free: 8.168 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1921, allocations: 4 kB / 0.9741 GB, free: 8.164 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1932, allocations: 1.213 MB / 0.9753 GB, free: 6.883 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.1936, allocations: 338.4 kB / 0.9756 GB, free: 6.551 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.1938, allocations: 31.98 kB / 0.9756 GB, free: 6.52 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.1942, allocations: 57.64 kB / 0.9757 GB, free: 6.465 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.1944, allocations: 88.78 kB / 0.9758 GB, free: 6.379 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.1944, allocations: 43.97 kB / 0.9758 GB, free: 6.336 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0005196/0.195, allocations: 0.7504 MB / 0.9766 GB, free: 5.59 MB / 0.8074 GB Notification: Performance of sort global known variables: time 7e-08/0.195, allocations: 0 / 0.9766 GB, free: 5.59 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.001671/0.1966, allocations: 1.15 MB / 0.9777 GB, free: 4.438 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.0003361/0.197, allocations: 257 kB / 0.9779 GB, free: 4.176 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.1984, allocations: 1.264 MB / 0.9792 GB, free: 2.867 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1984, allocations: 0.5 kB / 0.9792 GB, free: 2.867 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.1988, allocations: 359.2 kB / 0.9795 GB, free: 2.512 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.2011, allocations: 1.121 MB / 0.9806 GB, free: 1.469 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.205, allocations: 3.71 MB / 0.9842 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.2054, allocations: 0.5658 MB / 0.9848 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008524/0.2062, allocations: 338.1 kB / 0.9851 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.2076, allocations: 0.8373 MB / 0.9859 GB, free: 11.89 MB / 0.823 GB Notification: Performance of SimCode: time 8.42e-07/0.2076, allocations: 0 / 0.9859 GB, free: 11.89 MB / 0.823 GB Notification: Performance of Templates: time 0.04512/0.2527, allocations: 44.28 MB / 1.029 GB, free: 0.5078 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.825791655108333]