Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2") Notification: Performance of loadModel(Modelica): time 1.632/1.632, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08051, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2): time 0.02941/0.11, allocations: 18.63 MB / 291.3 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.1281, allocations: 8.777 MB / 300 MB, free: 64 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.1294, allocations: 43.56 kB / 300.1 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.356/0.4854, allocations: 338.9 kB / 300.4 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.4925, allocations: 1.161 MB / 301.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.5038, allocations: 2.025 MB / 303.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005458/0.5093, allocations: 1.589 MB / 305.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.5113, allocations: 0.534 MB / 305.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.5147, allocations: 0.7932 MB / 306.5 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.5171, allocations: 0.6201 MB / 307.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.5175, allocations: 43.59 kB / 307.2 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007051/0.5246, allocations: 1.559 MB / 308.7 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.5257, allocations: 282.8 kB / 309 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.5264, allocations: 213.5 kB / 309.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.5311, allocations: 1.731 MB / 311 MB, free: 9.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5311, allocations: 0 / 311 MB, free: 9.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5312, allocations: 0 / 311 MB, free: 9.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.5312, allocations: 0 / 311 MB, free: 9.332 MB / 250.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.00406/0.5353, allocations: 1.319 MB / 312.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5353, allocations: 8.938 kB / 312.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.536, allocations: 113.4 kB / 312.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.5377, allocations: 0.6694 MB / 313.1 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.5378, allocations: 52.28 kB / 313.1 MB, free: 7.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.538, allocations: 61.48 kB / 313.2 MB, free: 7.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.5405, allocations: 1.047 MB / 314.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.5406, allocations: 5.5 kB / 314.2 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.5408, allocations: 27.52 kB / 314.3 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.5409, allocations: 78.28 kB / 314.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.5437, allocations: 1.021 MB / 315.3 MB, free: 7.391 MB / 250.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.009761/0.5535, allocations: 4.523 MB / 319.9 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.555, allocations: 0.5311 MB / 320.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003407/0.5584, allocations: 1.937 MB / 322.3 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.5585, allocations: 40.55 kB / 322.4 MB, free: 2.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 3.536e-06/0.5585, allocations: 0 / 322.4 MB, free: 2.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.006804/0.5653, allocations: 1.893 MB / 324.3 MB, free: 1.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.5654, allocations: 162.8 kB / 324.4 MB, free: 1.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.5669, allocations: 0.836 MB / 325.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.567, allocations: 37.8 kB / 325.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.5674, allocations: 498.5 kB / 325.8 MB, free: 1.102 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.5676, allocations: 167.6 kB / 326 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.5677, allocations: 19.38 kB / 326 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5678, allocations: 398.4 kB / 326.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.5686, allocations: 302.6 kB / 326.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.5697, allocations: 0.6713 MB / 327.3 MB, free: 72 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009584/0.5706, allocations: 399.9 kB / 327.7 MB, free: 20 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5707, allocations: 6.688 kB / 327.7 MB, free: 16 kB / 250.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003252/0.5739, allocations: 1.118 MB / 328.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004186/0.5744, allocations: 451.4 kB / 329.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.5744, allocations: 12.56 kB / 329.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/0.579, allocations: 381.7 kB / 329.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.5804, allocations: 196 kB / 329.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.5822, allocations: 1.318 MB / 331.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.5837, allocations: 65.56 kB / 331.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.5839, allocations: 47.17 kB / 331.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.5839, allocations: 4 kB / 331.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/0.5866, allocations: 1.001 MB / 332.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.5867, allocations: 12 kB / 332.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004186/0.5909, allocations: 354.9 kB / 332.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.5923, allocations: 192.8 kB / 332.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.5938, allocations: 1.288 MB / 334.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5951, allocations: 53.36 kB / 334.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.5952, allocations: 50.92 kB / 334.2 MB, free: 11.1 MB / 266.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.0007507/0.596, allocations: 376.9 kB / 334.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.5963, allocations: 90.83 kB / 334.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.599, allocations: 0.7866 MB / 335.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.5991, allocations: 6.516 kB / 335.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5991, allocations: 0 / 335.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.5996, allocations: 176.1 kB / 335.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.5998, allocations: 14.25 kB / 335.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.6007, allocations: 41.09 kB / 335.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.6008, allocations: 43.2 kB / 335.8 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002905/0.6037, allocations: 0.7829 MB / 336.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00241/0.6062, allocations: 1.041 MB / 337.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006294/0.6069, allocations: 252.4 kB / 337.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00118/0.6081, allocations: 0.5594 MB / 338.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of Backend: time 6.21e-07/0.6081, allocations: 0 / 338.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006066/0.6141, allocations: 1.664 MB / 340 MB, free: 6.617 MB / 266.7 MB Notification: Performance of SimCode: time 0.005416/0.6196, allocations: 2.614 MB / 342.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of Templates: time 0.0637/0.6833, allocations: 23.52 MB / 366.2 MB, free: 12.57 MB / 298.7 MB