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.TankWithEmptyingPipe1.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.TankWithEmptyingPipe1,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.TankWithEmptyingPipe1") Notification: Performance of loadModel(Modelica): time 1.617/1.617, allocations: 171.1 MB / 186.7 MB, free: 1.148 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003394, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08144, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1): time 0.03044/0.1119, allocations: 17.55 MB / 290.2 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.1253, allocations: 6.188 MB / 296.4 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.1264, allocations: 31.75 kB / 296.4 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.1278, allocations: 322.3 kB / 296.7 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003759/0.1316, allocations: 0.9074 MB / 297.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.1375, allocations: 1.426 MB / 299.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2422/0.3797, allocations: 1.292 MB / 300.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.3815, allocations: 482.2 kB / 300.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.3842, allocations: 0.6504 MB / 301.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.386, allocations: 0.491 MB / 302 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.3863, allocations: 39.88 kB / 302 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.391, allocations: 1.105 MB / 303.1 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.3918, allocations: 220.9 kB / 303.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.3924, allocations: 180.3 kB / 303.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004764/0.3971, allocations: 1.33 MB / 304.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3972, allocations: 4 kB / 304.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3972, allocations: 1.594 kB / 304.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.3973, allocations: 0 / 304.8 MB, free: 9.891 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.004703/0.402, allocations: 1.112 MB / 305.9 MB, free: 9.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.4021, allocations: 8.719 kB / 306 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/0.403, allocations: 104.7 kB / 306.1 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.405, allocations: 0.5808 MB / 306.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/0.4051, allocations: 45.41 kB / 306.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.4054, allocations: 59.05 kB / 306.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.4084, allocations: 0.8788 MB / 307.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.4085, allocations: 1.094 kB / 307.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.4087, allocations: 29.03 kB / 307.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.4088, allocations: 48.05 kB / 307.7 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.412, allocations: 0.8023 MB / 308.5 MB, free: 8.699 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.01025/0.4222, allocations: 3.91 MB / 312.4 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.424, allocations: 0.501 MB / 312.9 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004772/0.4288, allocations: 1.7 MB / 314.6 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.4289, allocations: 49.89 kB / 314.7 MB, free: 5.457 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 4.098e-06/0.4289, allocations: 1.469 kB / 314.7 MB, free: 5.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.007309/0.4362, allocations: 1.787 MB / 316.4 MB, free: 4.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.4363, allocations: 137.2 kB / 316.6 MB, free: 4.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.4376, allocations: 0.6783 MB / 317.3 MB, free: 4.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.4377, allocations: 39.05 kB / 317.3 MB, free: 4.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.4381, allocations: 420.4 kB / 317.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.4383, allocations: 163.3 kB / 317.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.4383, allocations: 17.12 kB / 317.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4385, allocations: 388.9 kB / 318.3 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.4392, allocations: 259.2 kB / 318.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.4401, allocations: 0.5657 MB / 319.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.4409, allocations: 342.4 kB / 319.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4409, allocations: 2.812 kB / 319.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002399/0.4433, allocations: 0.9543 MB / 320.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.4435, allocations: 365.4 kB / 320.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.4436, allocations: 7.406 kB / 320.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.4464, allocations: 284.6 kB / 321 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4476, allocations: 171.7 kB / 321.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.4489, allocations: 1.251 MB / 322.4 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4502, allocations: 64.97 kB / 322.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.4504, allocations: 42.33 kB / 322.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4504, allocations: 4 kB / 322.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002187/0.4526, allocations: 0.8124 MB / 323.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4526, allocations: 8.656 kB / 323.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.4545, allocations: 141.6 kB / 323.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.4563, allocations: 216.9 kB / 323.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004824/0.4568, allocations: 0.6048 MB / 324.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4579, allocations: 52.06 kB / 324.4 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.4581, allocations: 43.23 kB / 324.4 MB, free: 0.6641 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (95): * Single equations (assignments): 93 * 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 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006482/0.4587, allocations: 335.4 kB / 324.7 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.459, allocations: 76.64 kB / 324.8 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.4615, allocations: 0.8692 MB / 325.7 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4616, allocations: 3.984 kB / 325.7 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4616, allocations: 64 / 325.7 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.4619, allocations: 157.1 kB / 325.8 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.4621, allocations: 19.58 kB / 325.9 MB, free: 0 / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.4629, allocations: 40.38 kB / 325.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.4631, allocations: 57.61 kB / 326 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002568/0.4657, allocations: 0.7829 MB / 326.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002433/0.4682, allocations: 1.081 MB / 327.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006307/0.4688, allocations: 265.5 kB / 328.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008965/0.4698, allocations: 469.7 kB / 328.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Backend: time 8.92e-07/0.4698, allocations: 4 kB / 328.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005022/0.4748, allocations: 1.329 MB / 329.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of SimCode: time 0.005182/0.48, allocations: 2.401 MB / 332.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Templates: time 0.05542/0.5355, allocations: 20.05 MB / 352.3 MB, free: 8.359 MB / 282.7 MB