Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 15.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.0918, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02969/0.1215, allocations: 18.62 MB / 327.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.1395, allocations: 8.796 MB / 336.5 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.1408, allocations: 35.69 kB / 336.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1423, allocations: 346.2 kB / 336.9 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.1468, allocations: 1.165 MB / 338 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007959/0.1548, allocations: 2.019 MB / 340 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.1584, allocations: 1.597 MB / 341.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.1597, allocations: 0.5405 MB / 342.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002251/0.1619, allocations: 0.7789 MB / 343 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.1635, allocations: 0.6268 MB / 343.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.1638, allocations: 44 kB / 343.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00455/0.1683, allocations: 1.553 MB / 345.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.169, allocations: 283.2 kB / 345.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.1695, allocations: 209.2 kB / 345.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.1741, allocations: 1.739 MB / 347.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1741, allocations: 4 kB / 347.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1741, allocations: 0 / 347.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.1742, allocations: 0 / 347.4 MB, free: 9.895 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.004174/0.1783, allocations: 1.312 MB / 348.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1784, allocations: 8.031 kB / 348.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007177/0.1791, allocations: 118.7 kB / 348.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.1812, allocations: 0.6673 MB / 349.5 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.677e-05/0.1814, allocations: 53.3 kB / 349.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.1816, allocations: 59.98 kB / 349.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.1843, allocations: 1.044 MB / 350.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.1843, allocations: 7.938 kB / 350.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.1845, allocations: 27.98 kB / 350.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/0.1846, allocations: 65.27 kB / 350.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.1874, allocations: 1.028 MB / 351.8 MB, free: 5.359 MB / 298.7 MB 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.01061/0.198, allocations: 4.534 MB / 356.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1996, allocations: 0.5319 MB / 356.9 MB, free: 0 / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003862/0.2035, allocations: 1.93 MB / 358.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.2036, allocations: 34.89 kB / 358.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.587e-06/0.2036, allocations: 3.938 kB / 358.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.007083/0.2107, allocations: 1.889 MB / 360.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.2108, allocations: 162.2 kB / 360.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.2125, allocations: 0.8369 MB / 361.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.2126, allocations: 41.64 kB / 361.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.2131, allocations: 0.4905 MB / 362.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.2134, allocations: 169.7 kB / 362.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.2135, allocations: 20 kB / 362.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.2137, allocations: 398.7 kB / 362.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008785/0.2146, allocations: 301.8 kB / 363.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.2158, allocations: 0.6655 MB / 363.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.2169, allocations: 417.8 kB / 364.2 MB, free: 8.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.217, allocations: 7.953 kB / 364.2 MB, free: 8.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003054/0.22, allocations: 1.105 MB / 365.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.2204, allocations: 440.8 kB / 365.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.2205, allocations: 12 kB / 365.7 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/0.2249, allocations: 381.2 kB / 366.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.2263, allocations: 195.7 kB / 366.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.2279, allocations: 1.323 MB / 367.6 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.2292, allocations: 60.14 kB / 367.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.2294, allocations: 51.98 kB / 367.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2294, allocations: 4 kB / 367.7 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002696/0.2321, allocations: 0.9908 MB / 368.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.2321, allocations: 12 kB / 368.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004167/0.2363, allocations: 357.9 kB / 369.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.2377, allocations: 187.7 kB / 369.3 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2392, allocations: 1.292 MB / 370.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.2404, allocations: 64.09 kB / 370.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.2405, allocations: 44 kB / 370.7 MB, free: 1.316 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007189/0.2412, allocations: 372.6 kB / 371 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.2415, allocations: 86.97 kB / 371.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.2442, allocations: 0.7862 MB / 371.9 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.2442, allocations: 4 kB / 371.9 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.2442, allocations: 4 kB / 371.9 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2332/0.4774, allocations: 185 kB / 372.1 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.4778, allocations: 12.64 kB / 372.1 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.4786, allocations: 33.23 kB / 372.1 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.4788, allocations: 43.25 kB / 372.2 MB, free: 63.32 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003178/0.482, allocations: 0.7869 MB / 373 MB, free: 63.2 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002474/0.4845, allocations: 1.037 MB / 374 MB, free: 62.98 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006618/0.4852, allocations: 249.6 kB / 374.3 MB, free: 62.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001177/0.4864, allocations: 0.5648 MB / 374.8 MB, free: 62.75 MB / 314.7 MB Notification: Performance of Backend: time 4.91e-07/0.4864, allocations: 3.281 kB / 374.8 MB, free: 62.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0059/0.4923, allocations: 1.649 MB / 376.5 MB, free: 62.38 MB / 314.7 MB Notification: Performance of SimCode: time 0.005339/0.4977, allocations: 2.614 MB / 379.1 MB, free: 60.9 MB / 314.7 MB Notification: Performance of Templates: time 0.05491/0.5527, allocations: 23.52 MB / 402.6 MB, free: 44.15 MB / 314.7 MB