Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|tank2.ports.1..m_flow",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.000536, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09623, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.02195/0.1182, allocations: 13.73 MB / 322.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1315, allocations: 6.12 MB / 328.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1325, allocations: 35.75 kB / 329 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1338, allocations: 294.4 kB / 329.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.1373, allocations: 0.8724 MB / 330.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.143, allocations: 1.384 MB / 331.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.146, allocations: 1.339 MB / 332.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.1472, allocations: 497.8 kB / 333.3 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.1488, allocations: 0.6075 MB / 333.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1501, allocations: 0.5294 MB / 334.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.1503, allocations: 40 kB / 334.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.1536, allocations: 1.092 MB / 335.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005191/0.1542, allocations: 247.3 kB / 335.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.1545, allocations: 177.3 kB / 336 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.1577, allocations: 1.286 MB / 337.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1577, allocations: 0 / 337.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1577, allocations: 0 / 337.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1577, allocations: 0 / 337.3 MB, free: 4.039 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003755/0.1615, allocations: 1.103 MB / 338.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1616, allocations: 11.97 kB / 338.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.162, allocations: 98.97 kB / 338.5 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.1636, allocations: 0.5702 MB / 339.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.1637, allocations: 104.7 kB / 339.2 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.1639, allocations: 55.98 kB / 339.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.1663, allocations: 0.8922 MB / 340.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.1663, allocations: 7.953 kB / 340.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.1665, allocations: 23.98 kB / 340.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.1666, allocations: 53.28 kB / 340.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.169, allocations: 0.8404 MB / 341 MB, free: 152 kB / 282.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.009199/0.1782, allocations: 3.495 MB / 344.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.18, allocations: 0.6531 MB / 345.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004625/0.1846, allocations: 2.066 MB / 347.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.1847, allocations: 43.12 kB / 347.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.565e-06/0.1847, allocations: 0 / 347.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.012/0.1967, allocations: 2.868 MB / 350.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.1968, allocations: 85.67 kB / 350.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.1981, allocations: 0.6721 MB / 350.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.1983, allocations: 41.7 kB / 351 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.1986, allocations: 332.4 kB / 351.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.1989, allocations: 228.7 kB / 351.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.199, allocations: 16 kB / 351.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.1993, allocations: 386.8 kB / 351.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2004, allocations: 357.8 kB / 352.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.2016, allocations: 0.5151 MB / 352.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.2032, allocations: 415 kB / 353.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2033, allocations: 3.938 kB / 353.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004639/0.2079, allocations: 1.145 MB / 354.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.2082, allocations: 215.2 kB / 354.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.2082, allocations: 7.984 kB / 354.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.2112, allocations: 448.4 kB / 355 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008926/0.2201, allocations: 159.8 kB / 355.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.2229, allocations: 1.021 MB / 356.2 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/0.2343, allocations: 47.86 kB / 356.2 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.2345, allocations: 39.98 kB / 356.2 MB, free: 260 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2345, allocations: 8 kB / 356.2 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008199/0.2427, allocations: 0.9337 MB / 357.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2428, allocations: 4 kB / 357.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008864/0.2517, allocations: 244.8 kB / 357.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.2534, allocations: 167.8 kB / 357.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.255, allocations: 0.8137 MB / 358.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/0.2654, allocations: 40.03 kB / 358.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.2656, allocations: 31.98 kB / 358.5 MB, free: 13.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008866/0.2665, allocations: 328.9 kB / 358.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/0.2669, allocations: 83.02 kB / 358.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.2773, allocations: 1.087 MB / 360 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.2774, allocations: 7.984 kB / 360 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2774, allocations: 0 / 360 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000893/0.2783, allocations: 260 kB / 360.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.2786, allocations: 12 kB / 360.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/0.2816, allocations: 43.97 kB / 360.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/0.2821, allocations: 60.56 kB / 360.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006058/0.2882, allocations: 1.114 MB / 361.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005224/0.2935, allocations: 1.427 MB / 362.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001506/0.295, allocations: 389 kB / 363.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.2964, allocations: 479 kB / 363.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of Backend: time 1.222e-06/0.2964, allocations: 0 / 363.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007984/0.3044, allocations: 1.464 MB / 365.2 MB, free: 7.195 MB / 314.7 MB Notification: Performance of SimCode: time 0.00788/0.3124, allocations: 2.563 MB / 367.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of Templates: time 0.3087/0.6211, allocations: 22.55 MB / 390.3 MB, free: 56.68 MB / 314.7 MB