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.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,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.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005201, allocations: 16 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 44.5 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.02729/0.1485, allocations: 17.55 MB / 326.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.1615, allocations: 6.216 MB / 332.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008602/0.1624, allocations: 39.69 kB / 332.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1636, allocations: 310.4 kB / 333.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.1668, allocations: 0.8997 MB / 334.1 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00559/0.1724, allocations: 1.411 MB / 335.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.1751, allocations: 1.3 MB / 336.8 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.176, allocations: 478 kB / 337.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.1776, allocations: 0.662 MB / 337.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009998/0.1786, allocations: 498.2 kB / 338.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.1788, allocations: 39.94 kB / 338.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.1821, allocations: 1.104 MB / 339.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.1825, allocations: 227.3 kB / 339.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.1828, allocations: 185.3 kB / 339.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.1855, allocations: 1.329 MB / 341.3 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1856, allocations: 0 / 341.3 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1856, allocations: 0 / 341.3 MB, free: 28 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1856, allocations: 0 / 341.3 MB, free: 28 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003127/0.1887, allocations: 1.11 MB / 342.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1888, allocations: 12.03 kB / 342.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.1893, allocations: 98.95 kB / 342.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.1907, allocations: 0.5779 MB / 343.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.1908, allocations: 49.3 kB / 343.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.1909, allocations: 56 kB / 343.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.1931, allocations: 0.8828 MB / 344.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.1931, allocations: 3.938 kB / 344.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1932, allocations: 27.98 kB / 344.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1934, allocations: 45.28 kB / 344.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.1955, allocations: 0.8052 MB / 344.9 MB, free: 12.22 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.00776/0.2033, allocations: 3.907 MB / 348.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.2047, allocations: 0.496 MB / 349.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003625/0.2083, allocations: 1.707 MB / 351 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2084, allocations: 42.55 kB / 351.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 3.476e-06/0.2084, allocations: 0 / 351.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.005897/0.2143, allocations: 1.786 MB / 352.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.2144, allocations: 136.5 kB / 353 MB, free: 3.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.2157, allocations: 0.676 MB / 353.7 MB, free: 2.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.2158, allocations: 33.7 kB / 353.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.2162, allocations: 426.9 kB / 354.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.2165, allocations: 161.8 kB / 354.3 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.2165, allocations: 20 kB / 354.3 MB, free: 2.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.2168, allocations: 386.7 kB / 354.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.2175, allocations: 257.8 kB / 354.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2186, allocations: 0.5634 MB / 355.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.2195, allocations: 337.9 kB / 355.8 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.2195, allocations: 4 kB / 355.8 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002591/0.2221, allocations: 0.9563 MB / 356.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002789/0.2224, allocations: 363.2 kB / 357.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.2224, allocations: 12 kB / 357.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/0.2252, allocations: 285.4 kB / 357.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.2264, allocations: 171.7 kB / 357.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.2278, allocations: 1.261 MB / 358.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.2289, allocations: 55.91 kB / 358.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.229, allocations: 43.98 kB / 359 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.229, allocations: 4 kB / 359 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002228/0.2312, allocations: 0.81 MB / 359.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2313, allocations: 8.906 kB / 359.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.233, allocations: 144.6 kB / 359.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.2347, allocations: 223.6 kB / 360.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000537/0.2352, allocations: 0.5913 MB / 360.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/0.2361, allocations: 59.94 kB / 360.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.2362, allocations: 43.98 kB / 360.8 MB, free: 11.35 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (95): * Single equations (assignments): 93 * 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 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005724/0.2368, allocations: 336.7 kB / 361.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.237, allocations: 75.11 kB / 361.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.2397, allocations: 0.8591 MB / 362.1 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.2398, allocations: 11.94 kB / 362.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2398, allocations: 3.984 kB / 362.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.24, allocations: 156.1 kB / 362.3 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.2402, allocations: 19.92 kB / 362.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/0.241, allocations: 39.84 kB / 362.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.2411, allocations: 52.48 kB / 362.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002604/0.2438, allocations: 0.7813 MB / 363.2 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002423/0.2462, allocations: 1.079 MB / 364.2 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006489/0.2469, allocations: 264.3 kB / 364.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000866/0.2477, allocations: 471 kB / 365 MB, free: 7.156 MB / 314.7 MB Notification: Performance of Backend: time 8.42e-07/0.2478, allocations: 0 / 365 MB, free: 7.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004516/0.2523, allocations: 1.337 MB / 366.3 MB, free: 5.824 MB / 314.7 MB Notification: Performance of SimCode: time 0.004891/0.2572, allocations: 2.414 MB / 368.7 MB, free: 3.367 MB / 314.7 MB Notification: Performance of Templates: time 0.364/0.6212, allocations: 20.04 MB / 388.7 MB, free: 57.12 MB / 314.7 MB