Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01135/0.01135, allocations: 105.2 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001169/0.001169, allocations: 170 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.804/1.804, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2577/0.2577, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004731, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09642, allocations: 48.71 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.02369/0.1202, allocations: 14.19 MB / 386.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.1336, allocations: 6.076 MB / 392.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1347, allocations: 27.75 kB / 392.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.1361, allocations: 326.5 kB / 392.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.1395, allocations: 0.8374 MB / 393.7 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00653/0.1461, allocations: 1.504 MB / 395.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.1491, allocations: 1.223 MB / 396.5 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.1504, allocations: 0.5415 MB / 397 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.1524, allocations: 0.6738 MB / 397.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.1538, allocations: 0.549 MB / 398.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.1541, allocations: 40 kB / 398.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.1575, allocations: 1.143 MB / 399.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006292/0.1582, allocations: 263.3 kB / 399.7 MB, free: 1.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.1586, allocations: 189.2 kB / 399.9 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.1621, allocations: 1.364 MB / 401.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1621, allocations: 7.938 kB / 401.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.1621, allocations: 0 / 401.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1621, allocations: 0 / 401.2 MB, free: 15.83 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004076/0.1662, allocations: 1.198 MB / 402.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1663, allocations: 8.031 kB / 402.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003558/0.1667, allocations: 110.4 kB / 402.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.1672, allocations: 110.9 kB / 402.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.169, allocations: 0.6012 MB / 403.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.1692, allocations: 116.6 kB / 403.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.1693, allocations: 55.98 kB / 403.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.1719, allocations: 0.9833 MB / 404.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.172, allocations: 11.92 kB / 404.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1722, allocations: 24 kB / 404.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.1723, allocations: 49.28 kB / 404.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.1748, allocations: 0.8989 MB / 405.4 MB, free: 11.51 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.01095/0.1858, allocations: 4.097 MB / 409.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.1877, allocations: 0.6138 MB / 410.1 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005517/0.1933, allocations: 2.318 MB / 412.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.1944, allocations: 430.8 kB / 412.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 3.096e-06/0.1945, allocations: 0 / 412.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.00911/0.2036, allocations: 2.554 MB / 415.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2037, allocations: 158.2 kB / 415.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.2053, allocations: 0.7818 MB / 416.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.2055, allocations: 33.7 kB / 416.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/0.206, allocations: 439.1 kB / 416.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.2063, allocations: 161.8 kB / 416.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.2063, allocations: 16 kB / 417 MB, free: 15.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.2066, allocations: 398.7 kB / 417.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.2076, allocations: 349.7 kB / 417.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.2089, allocations: 0.6242 MB / 418.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.2101, allocations: 451.6 kB / 418.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.2101, allocations: 4 kB / 418.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003678/0.2138, allocations: 1.239 MB / 420 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001555/0.2154, allocations: 3.516 MB / 423.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.2155, allocations: 15.89 kB / 423.5 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.2172, allocations: 357.4 kB / 423.9 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.2184, allocations: 159.7 kB / 424 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.2207, allocations: 1.456 MB / 425.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.222, allocations: 55.98 kB / 425.6 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.2221, allocations: 43.98 kB / 425.6 MB, free: 6.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2221, allocations: 4 kB / 425.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003173/0.2253, allocations: 1.082 MB / 426.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.2254, allocations: 8 kB / 426.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.2265, allocations: 277.8 kB / 427 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.2278, allocations: 163.7 kB / 427.1 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.231, allocations: 2.37 MB / 429.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.2322, allocations: 48.08 kB / 429.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.2324, allocations: 39.98 kB / 429.6 MB, free: 1.957 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000845/0.2332, allocations: 394.1 kB / 430 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.2335, allocations: 83.02 kB / 430 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.2368, allocations: 1.045 MB / 431.1 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.2369, allocations: 4 kB / 431.1 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2369, allocations: 4.062 kB / 431.1 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2369, allocations: 12.06 kB / 431.1 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2801/0.517, allocations: 1.835 MB / 432.9 MB, free: 61.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.5171, allocations: 0 / 432.9 MB, free: 61.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/0.5179, allocations: 74.03 kB / 433 MB, free: 61.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.5194, allocations: 351.9 kB / 433.4 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.5196, allocations: 12.92 kB / 433.4 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.5218, allocations: 1.442 MB / 434.8 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5218, allocations: 0 / 434.8 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.5262, allocations: 1.475 MB / 436.3 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.527, allocations: 240 kB / 436.5 MB, free: 59.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.5272, allocations: 14.3 kB / 436.5 MB, free: 59.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009861/0.5282, allocations: 45.12 kB / 436.6 MB, free: 59.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.5285, allocations: 45.61 kB / 436.6 MB, free: 59.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.5286, allocations: 26.7 kB / 436.6 MB, free: 59.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.5297, allocations: 0.5208 MB / 437.2 MB, free: 59.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5297, allocations: 0 / 437.2 MB, free: 59.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002924/0.5327, allocations: 0.5858 MB / 437.8 MB, free: 59.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 1,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006029/0.5387, allocations: 2.394 MB / 440.2 MB, free: 58.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005554/0.5443, allocations: 1.586 MB / 441.7 MB, free: 57.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.5444, allocations: 2.75 kB / 441.7 MB, free: 57.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.5464, allocations: 466.3 kB / 442.2 MB, free: 57.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.549, allocations: 273.7 kB / 442.5 MB, free: 57.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/0.558, allocations: 8.745 MB / 451.2 MB, free: 49.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.5588, allocations: 1.021 MB / 452.2 MB, free: 49.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001942/0.5607, allocations: 312.2 kB / 452.5 MB, free: 49.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.5614, allocations: 291.7 kB / 452.8 MB, free: 48.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5614, allocations: 0 / 452.8 MB, free: 48.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09765/0.6591, allocations: 26.05 MB / 478.9 MB, free: 26.54 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.6594, allocations: 265.9 kB / 479.1 MB, free: 26.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/4.759, allocations: 0 / 479.1 MB, free: 26.18 MB / 330.7 MB