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.TanksWithEmptyingPipe1.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.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.1_Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005264, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1): time 0.05939/0.1674, allocations: 26.6 MB / 299.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2608/0.4282, allocations: 12.62 MB / 311.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.4307, allocations: 56.09 kB / 311.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.434, allocations: 0.5098 MB / 312.4 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0181/0.4521, allocations: 1.773 MB / 314.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03207/0.4842, allocations: 2.846 MB / 317 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007015/0.4913, allocations: 2.448 MB / 319.5 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.4939, allocations: 0.8274 MB / 320.3 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.4987, allocations: 1.182 MB / 321.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.5024, allocations: 0.9812 MB / 322.5 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007222/0.5032, allocations: 66.88 kB / 322.5 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009033/0.5122, allocations: 2.113 MB / 324.7 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.5137, allocations: 440.7 kB / 325.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.5149, allocations: 309 kB / 325.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.5218, allocations: 2.562 MB / 328 MB, free: 4.613 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5218, allocations: 0 / 328 MB, free: 4.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.5218, allocations: 2.5 kB / 328 MB, free: 4.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.953e-05/0.5219, allocations: 0 / 328 MB, free: 4.613 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.005944/0.5279, allocations: 1.829 MB / 329.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5279, allocations: 9.125 kB / 329.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.529, allocations: 172.9 kB / 330 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.5315, allocations: 0.9275 MB / 330.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.5317, allocations: 83.03 kB / 331 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.532, allocations: 93.55 kB / 331.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/0.5362, allocations: 1.614 MB / 332.7 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.5363, allocations: 0 / 332.7 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.5365, allocations: 46.88 kB / 332.7 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/0.5367, allocations: 105.9 kB / 332.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.5415, allocations: 1.632 MB / 334.5 MB, free: 15.44 MB / 266.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.01811/0.5597, allocations: 6.741 MB / 341.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.5625, allocations: 0.8949 MB / 342.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006871/0.5695, allocations: 2.761 MB / 344.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.5696, allocations: 47.22 kB / 344.9 MB, free: 4.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 7.574e-06/0.5696, allocations: 3.984 kB / 344.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=90): time 0.01513/0.5847, allocations: 3.645 MB / 348.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.5849, allocations: 188.9 kB / 348.7 MB, free: 476 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.5874, allocations: 1.188 MB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.5878, allocations: 49.7 kB / 350 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/0.5886, allocations: 0.6743 MB / 350.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000548/0.5891, allocations: 325.9 kB / 351 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.5893, allocations: 32 kB / 351 MB, free: 14.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.5895, allocations: 361.9 kB / 351.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.5913, allocations: 0.5504 MB / 351.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.5935, allocations: 1.04 MB / 352.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.5955, allocations: 0.6839 MB / 353.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.5956, allocations: 4 kB / 353.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005881/0.6015, allocations: 1.881 MB / 355.5 MB, free: 9.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005178/0.602, allocations: 0.5299 MB / 356 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/0.6021, allocations: 15.94 kB / 356 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008846/0.6109, allocations: 0.7814 MB / 356.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6132, allocations: 299.5 kB / 357.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.6164, allocations: 2.129 MB / 359.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.6187, allocations: 104 kB / 359.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.6189, allocations: 71.98 kB / 359.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.619, allocations: 4 kB / 359.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005125/0.6241, allocations: 1.686 MB / 361.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/0.6242, allocations: 16.88 kB / 361.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007621/0.6318, allocations: 0.6257 MB / 361.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.6341, allocations: 311.4 kB / 362.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.6368, allocations: 1.989 MB / 364 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.6388, allocations: 103.9 kB / 364.2 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.639, allocations: 71.97 kB / 364.2 MB, free: 372 kB / 282.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.001076/0.6401, allocations: 468.6 kB / 364.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.6405, allocations: 138.4 kB / 364.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006381/0.6469, allocations: 1.524 MB / 366.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.025e-05/0.647, allocations: 7.969 kB / 366.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.647, allocations: 0 / 366.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008817/0.6479, allocations: 231.2 kB / 366.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/0.6494, allocations: 31.95 kB / 366.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/0.6513, allocations: 59.95 kB / 366.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/0.6517, allocations: 92.86 kB / 366.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007308/0.659, allocations: 1.496 MB / 368.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005186/0.6642, allocations: 1.861 MB / 370.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001312/0.6656, allocations: 0.5075 MB / 370.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001742/0.6673, allocations: 0.7973 MB / 371.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of Backend: time 5.71e-07/0.6674, allocations: 0 / 371.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00922/0.6766, allocations: 2.626 MB / 374 MB, free: 6.547 MB / 298.7 MB Notification: Performance of SimCode: time 0.008557/0.6852, allocations: 3.833 MB / 377.9 MB, free: 2.66 MB / 298.7 MB Notification: Performance of Templates: time 0.09967/0.7849, allocations: 37.29 MB / 415.2 MB, free: 13.41 MB / 346.7 MB