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.TanksWithEmptyingPipe1.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.TanksWithEmptyingPipe1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank1.aboveLevel.2.|tank2.aboveLevel.1.|tank2.aboveLevel.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09107, allocations: 44.52 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.04191/0.133, allocations: 26.61 MB / 335.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02639/0.1595, allocations: 12.64 MB / 348.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1613, allocations: 55.5 kB / 348.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.1637, allocations: 0.5091 MB / 348.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00711/0.1709, allocations: 1.76 MB / 350.6 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01086/0.1817, allocations: 2.849 MB / 353.5 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0054/0.1872, allocations: 2.456 MB / 355.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.189, allocations: 0.8281 MB / 356.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004954/0.194, allocations: 1.18 MB / 358 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004006/0.1981, allocations: 0.9695 MB / 358.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.1987, allocations: 68 kB / 359 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007795/0.2065, allocations: 2.122 MB / 361.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.2077, allocations: 442.8 kB / 361.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.2084, allocations: 305 kB / 361.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00655/0.215, allocations: 2.545 MB / 364.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.215, allocations: 0 / 364.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.215, allocations: 0 / 364.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.139e-05/0.2151, allocations: 4 kB / 364.4 MB, free: 8.875 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006271/0.2214, allocations: 1.83 MB / 366.2 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2214, allocations: 8.031 kB / 366.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.2223, allocations: 170.2 kB / 366.4 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.2249, allocations: 0.9217 MB / 367.3 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2251, allocations: 81.97 kB / 367.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.2254, allocations: 103.9 kB / 367.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.2296, allocations: 1.609 MB / 369.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.2297, allocations: 0 / 369.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.2299, allocations: 47.92 kB / 369.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/0.2301, allocations: 109.9 kB / 369.3 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/0.2348, allocations: 1.635 MB / 370.9 MB, free: 2.184 MB / 314.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.2493/0.4842, allocations: 6.711 MB / 377.6 MB, free: 60.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.4866, allocations: 0.8957 MB / 378.5 MB, free: 60.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005615/0.4923, allocations: 2.757 MB / 381.3 MB, free: 58.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4923, allocations: 46.72 kB / 381.3 MB, free: 58.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 4.639e-06/0.4924, allocations: 3.5 kB / 381.3 MB, free: 58.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=90): time 0.01418/0.5066, allocations: 3.644 MB / 385 MB, free: 56.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.5067, allocations: 191.7 kB / 385.1 MB, free: 56.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.509, allocations: 1.195 MB / 386.3 MB, free: 55.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.5093, allocations: 53.55 kB / 386.4 MB, free: 55.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.5098, allocations: 0.6716 MB / 387.1 MB, free: 55.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.5102, allocations: 319.1 kB / 387.4 MB, free: 54.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.5103, allocations: 31.12 kB / 387.4 MB, free: 54.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5105, allocations: 364.8 kB / 387.8 MB, free: 54.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.512, allocations: 0.5467 MB / 388.3 MB, free: 54.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.5138, allocations: 1.045 MB / 389.4 MB, free: 53.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.5156, allocations: 0.6795 MB / 390 MB, free: 53.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.5156, allocations: 5.156 kB / 390 MB, free: 53.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004803/0.5204, allocations: 1.879 MB / 391.9 MB, free: 52.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.5207, allocations: 0.5304 MB / 392.4 MB, free: 51.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.5208, allocations: 11.72 kB / 392.5 MB, free: 51.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008577/0.5294, allocations: 0.7869 MB / 393.2 MB, free: 51.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.5315, allocations: 304.8 kB / 393.5 MB, free: 50.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.5339, allocations: 2.129 MB / 395.7 MB, free: 49.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.5361, allocations: 106.9 kB / 395.8 MB, free: 49.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.5363, allocations: 78.42 kB / 395.9 MB, free: 49.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5364, allocations: 3.906 kB / 395.9 MB, free: 49.01 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004213/0.5406, allocations: 1.682 MB / 397.5 MB, free: 48.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.5406, allocations: 15.59 kB / 397.6 MB, free: 48.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007574/0.5482, allocations: 0.6246 MB / 398.2 MB, free: 47.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.5503, allocations: 309.5 kB / 398.5 MB, free: 47.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.5523, allocations: 1.99 MB / 400.5 MB, free: 45.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.5543, allocations: 97.77 kB / 400.6 MB, free: 45.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.5545, allocations: 78.56 kB / 400.6 MB, free: 45.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[2],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],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 (174): * Single equations (assignments): 171 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,2 7,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000982/0.5555, allocations: 474.2 kB / 401.1 MB, free: 45.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.5558, allocations: 138.2 kB / 401.2 MB, free: 45.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.5603, allocations: 1.51 MB / 402.7 MB, free: 43.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5604, allocations: 3.984 kB / 402.8 MB, free: 43.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.5604, allocations: 4 kB / 402.8 MB, free: 43.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/0.561, allocations: 231.2 kB / 403 MB, free: 43.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/0.5614, allocations: 28.86 kB / 403 MB, free: 43.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.5626, allocations: 78.09 kB / 403.1 MB, free: 43.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.5629, allocations: 84.83 kB / 403.2 MB, free: 43.45 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005023/0.568, allocations: 1.488 MB / 404.7 MB, free: 41.96 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004049/0.572, allocations: 1.856 MB / 406.5 MB, free: 40.09 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001122/0.5732, allocations: 0.5075 MB / 407 MB, free: 39.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001506/0.5747, allocations: 0.8013 MB / 407.8 MB, free: 38.78 MB / 314.7 MB Notification: Performance of Backend: time 6.01e-07/0.5748, allocations: 3.938 kB / 407.8 MB, free: 38.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008115/0.5829, allocations: 2.616 MB / 410.4 MB, free: 36.35 MB / 314.7 MB Notification: Performance of SimCode: time 0.007157/0.5901, allocations: 3.843 MB / 414.3 MB, free: 32.47 MB / 314.7 MB Notification: Performance of Templates: time 0.13/0.7201, allocations: 37.31 MB / 451.6 MB, free: 11.18 MB / 330.7 MB