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.TanksWithEmptyingPipe2.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.TanksWithEmptyingPipe2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.|tank2.aboveLevel.2.|tank2.aboveLevel.3.|tank3.aboveLevel.1.|tank3.aboveLevel.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09024, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2): time 0.04979/0.1401, allocations: 31.71 MB / 340.8 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02678/0.1669, allocations: 13.49 MB / 354.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.1688, allocations: 71.38 kB / 354.3 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.1711, allocations: 0.6023 MB / 354.9 MB, free: 2.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.1787, allocations: 2.064 MB / 357 MB, free: 292 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.1899, allocations: 2.927 MB / 359.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.1963, allocations: 2.882 MB / 362.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.1987, allocations: 1.047 MB / 363.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.2028, allocations: 1.367 MB / 365.2 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.206, allocations: 1.141 MB / 366.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005241/0.2065, allocations: 84 kB / 366.5 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006818/0.2133, allocations: 2.216 MB / 368.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.2145, allocations: 0.5064 MB / 369.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007523/0.2152, allocations: 356.8 kB / 369.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006815/0.2221, allocations: 2.888 MB / 372.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2221, allocations: 0 / 372.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2221, allocations: 0 / 372.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.348e-05/0.2222, allocations: 4 kB / 372.4 MB, free: 0.8164 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.2414/0.4636, allocations: 2.088 MB / 374.5 MB, free: 64.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4636, allocations: 11.34 kB / 374.5 MB, free: 64.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009581/0.4646, allocations: 205.8 kB / 374.7 MB, free: 64.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.4676, allocations: 1.045 MB / 375.8 MB, free: 63.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.4677, allocations: 102.8 kB / 375.9 MB, free: 63.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.4681, allocations: 124 kB / 376 MB, free: 63.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005012/0.4731, allocations: 1.927 MB / 377.9 MB, free: 63.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.4732, allocations: 7.062 kB / 377.9 MB, free: 63.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.4734, allocations: 53.89 kB / 378 MB, free: 63.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.4737, allocations: 114.8 kB / 378.1 MB, free: 62.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005621/0.4793, allocations: 1.977 MB / 380.1 MB, free: 62.32 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.01653/0.4959, allocations: 7.91 MB / 388 MB, free: 56.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.4988, allocations: 1.159 MB / 389.1 MB, free: 55.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006605/0.5054, allocations: 3.373 MB / 392.5 MB, free: 52.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.5055, allocations: 49.17 kB / 392.5 MB, free: 52.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=119): time 3.506e-06/0.5055, allocations: 0 / 392.5 MB, free: 52.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.01861/0.5241, allocations: 5.379 MB / 397.9 MB, free: 49.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.5242, allocations: 169.3 kB / 398.1 MB, free: 49.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.5263, allocations: 1.319 MB / 399.4 MB, free: 48.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.5265, allocations: 65.69 kB / 399.5 MB, free: 48.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/0.5271, allocations: 0.7271 MB / 400.2 MB, free: 47.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/0.5275, allocations: 475.4 kB / 400.7 MB, free: 46.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.5276, allocations: 32 kB / 400.7 MB, free: 46.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5278, allocations: 376.8 kB / 401.1 MB, free: 46.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.5297, allocations: 0.7534 MB / 401.8 MB, free: 45.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.5318, allocations: 1.228 MB / 403 MB, free: 44.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.5339, allocations: 0.8841 MB / 403.9 MB, free: 43.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.5339, allocations: 4 kB / 403.9 MB, free: 43.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.005674/0.5396, allocations: 2.43 MB / 406.4 MB, free: 40.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.5398, allocations: 0.5079 MB / 406.9 MB, free: 40.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5398, allocations: 12 kB / 406.9 MB, free: 40.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/0.552, allocations: 1.142 MB / 408 MB, free: 39.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/0.5544, allocations: 355.5 kB / 408.4 MB, free: 38.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.5575, allocations: 2.881 MB / 411.3 MB, free: 35.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.5598, allocations: 135.8 kB / 411.4 MB, free: 35.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.56, allocations: 79.97 kB / 411.5 MB, free: 35.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.5601, allocations: 7.953 kB / 411.5 MB, free: 35.54 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005036/0.5651, allocations: 2.155 MB / 413.6 MB, free: 33.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5651, allocations: 12 kB / 413.6 MB, free: 33.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.5762, allocations: 0.8636 MB / 414.5 MB, free: 32.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.5789, allocations: 379.4 kB / 414.9 MB, free: 32.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.5814, allocations: 2.626 MB / 417.5 MB, free: 29.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.5838, allocations: 139.8 kB / 417.6 MB, free: 29.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.5841, allocations: 79.97 kB / 417.7 MB, free: 29.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.tank3.aboveLevel[1],tank3.aboveLevel[1],$PRE.tank3.aboveLevel[2],tank3.aboveLevel[2],$PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[2],$PRE.tank2.aboveLevel[3],tank2.aboveLevel[3],tank2.ports_m_flow_out[3],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1],tank3.ports_m_flow_out[2],tank3.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 (210): * Single equations (assignments): 206 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,2 7,2 7,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.5853, allocations: 0.5217 MB / 418.2 MB, free: 28.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.5857, allocations: 162 kB / 418.4 MB, free: 28.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/0.5923, allocations: 2.354 MB / 420.8 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/0.5924, allocations: 7.969 kB / 420.8 MB, free: 26.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5924, allocations: 0 / 420.8 MB, free: 26.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.5931, allocations: 262.8 kB / 421 MB, free: 25.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/0.5937, allocations: 32 kB / 421 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.5954, allocations: 111.8 kB / 421.2 MB, free: 25.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/0.5957, allocations: 125.8 kB / 421.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007383/0.6031, allocations: 2.225 MB / 423.5 MB, free: 23.36 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006032/0.6092, allocations: 2.715 MB / 426.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001678/0.6109, allocations: 0.7885 MB / 427 MB, free: 19.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001639/0.6126, allocations: 0.8914 MB / 427.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of Backend: time 7.11e-07/0.6126, allocations: 0 / 427.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009711/0.6223, allocations: 3.218 MB / 431.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of SimCode: time 0.008729/0.6311, allocations: 4.719 MB / 435.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of Templates: time 0.1164/0.7475, allocations: 46.86 MB / 482.7 MB, free: 12.3 MB / 362.7 MB