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.ThreeTanks.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.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09118, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03937/0.1306, allocations: 24.94 MB / 334 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02735/0.158, allocations: 13.31 MB / 347.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.1599, allocations: 55.5 kB / 347.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.1622, allocations: 0.5285 MB / 347.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.17, allocations: 1.873 MB / 349.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.1815, allocations: 2.908 MB / 352.7 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005986/0.1875, allocations: 2.588 MB / 355.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.1899, allocations: 0.9766 MB / 356.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.1936, allocations: 1.2 MB / 357.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.1967, allocations: 1.106 MB / 358.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006662/0.1974, allocations: 88 kB / 358.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007053/0.2044, allocations: 2.204 MB / 360.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.2058, allocations: 498.7 kB / 361.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007575/0.2066, allocations: 313 kB / 361.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.2135, allocations: 2.619 MB / 364.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2136, allocations: 0 / 364.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.2136, allocations: 0 / 364.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.85e-05/0.2136, allocations: 0 / 364.2 MB, free: 9.004 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.007763/0.2214, allocations: 1.9 MB / 366.1 MB, free: 7.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.2215, allocations: 15.95 kB / 366.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/0.2225, allocations: 170.1 kB / 366.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.2254, allocations: 0.9645 MB / 367.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.2256, allocations: 179 kB / 367.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.226, allocations: 95.97 kB / 367.6 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004945/0.231, allocations: 1.749 MB / 369.3 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.2311, allocations: 0 / 369.3 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.2313, allocations: 39.97 kB / 369.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002813/0.2316, allocations: 121.9 kB / 369.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/0.237, allocations: 1.776 MB / 371.2 MB, free: 1.824 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.2591/0.4961, allocations: 6.82 MB / 378.1 MB, free: 60.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.4994, allocations: 1.235 MB / 379.3 MB, free: 60.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009226/0.5087, allocations: 4.346 MB / 383.6 MB, free: 57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5088, allocations: 45.75 kB / 383.7 MB, free: 56.95 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001507/0.5103, allocations: 211.2 kB / 383.9 MB, free: 56.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 5.771e-06/0.5103, allocations: 0 / 383.9 MB, free: 56.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=112): time 0.03244/0.5428, allocations: 5.733 MB / 389.6 MB, free: 53.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5429, allocations: 141.3 kB / 389.8 MB, free: 53.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.545, allocations: 1.244 MB / 391 MB, free: 53.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.5453, allocations: 47.42 kB / 391 MB, free: 53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/0.5458, allocations: 0.6164 MB / 391.7 MB, free: 52.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.5462, allocations: 387.1 kB / 392 MB, free: 52.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.5464, allocations: 27.84 kB / 392.1 MB, free: 52.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5465, allocations: 367.4 kB / 392.4 MB, free: 51.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.5483, allocations: 0.7023 MB / 393.1 MB, free: 51.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.5502, allocations: 1.035 MB / 394.2 MB, free: 50.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.5522, allocations: 0.8198 MB / 395 MB, free: 50.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.5522, allocations: 0 / 395 MB, free: 50.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005641/0.5579, allocations: 2.252 MB / 397.2 MB, free: 49.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.5581, allocations: 382.4 kB / 397.6 MB, free: 48.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.5582, allocations: 11.53 kB / 397.6 MB, free: 48.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/0.5729, allocations: 1.275 MB / 398.9 MB, free: 47.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/0.5762, allocations: 302.9 kB / 399.2 MB, free: 47.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.5814, allocations: 1.599 MB / 400.8 MB, free: 46.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/0.5848, allocations: 91.8 kB / 400.9 MB, free: 46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.5851, allocations: 67.97 kB / 400.9 MB, free: 45.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5852, allocations: 4 kB / 401 MB, free: 45.93 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007007/0.5922, allocations: 1.925 MB / 402.9 MB, free: 44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.5923, allocations: 12 kB / 402.9 MB, free: 43.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0134/0.6057, allocations: 1.009 MB / 403.9 MB, free: 42.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.6081, allocations: 303.5 kB / 404.2 MB, free: 42.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.6105, allocations: 1.307 MB / 405.5 MB, free: 41.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.6126, allocations: 79.86 kB / 405.6 MB, free: 41.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.6128, allocations: 67.97 kB / 405.6 MB, free: 41.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 {8 18} Notification: Performance of prepare postOptimizeDAE: time 0.001022/0.6138, allocations: 469.6 kB / 406.1 MB, free: 40.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.6142, allocations: 146.2 kB / 406.2 MB, free: 40.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005874/0.6201, allocations: 2.09 MB / 408.3 MB, free: 38.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.6201, allocations: 7.969 kB / 408.3 MB, free: 38.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6202, allocations: 3.984 kB / 408.4 MB, free: 38.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.6214, allocations: 419 kB / 408.8 MB, free: 38.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/0.6218, allocations: 23.95 kB / 408.8 MB, free: 38.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.6236, allocations: 92.47 kB / 408.9 MB, free: 37.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.6239, allocations: 97.16 kB / 409 MB, free: 37.84 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007131/0.6311, allocations: 2.063 MB / 411 MB, free: 35.8 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005512/0.6366, allocations: 2.497 MB / 413.5 MB, free: 33.29 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00155/0.6382, allocations: 0.7168 MB / 414.2 MB, free: 32.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.6398, allocations: 0.8324 MB / 415.1 MB, free: 31.74 MB / 314.7 MB Notification: Performance of Backend: time 6.21e-07/0.6398, allocations: 0 / 415.1 MB, free: 31.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.6502, allocations: 2.949 MB / 418 MB, free: 28.96 MB / 314.7 MB Notification: Performance of SimCode: time 0.008378/0.6587, allocations: 4.189 MB / 422.2 MB, free: 24.73 MB / 314.7 MB Notification: Performance of Templates: time 0.1033/0.762, allocations: 43.84 MB / 466.1 MB, free: 12.89 MB / 346.7 MB