Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01539/0.01539, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001899/0.001898, allocations: 180.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.038/2.038, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2723/0.2723, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.0005009, allocations: 8 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1179, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.02405/0.142, allocations: 14.22 MB / 430.2 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.1554, allocations: 6.101 MB / 436.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.1565, allocations: 31.69 kB / 436.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.158, allocations: 326.5 kB / 436.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.1615, allocations: 0.8257 MB / 437.5 MB, free: 13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006596/0.1681, allocations: 1.508 MB / 439 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.1711, allocations: 1.239 MB / 440.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.1726, allocations: 0.5415 MB / 440.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.1747, allocations: 0.6738 MB / 441.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.1762, allocations: 0.5451 MB / 442 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.1765, allocations: 40 kB / 442.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.18, allocations: 1.151 MB / 443.2 MB, free: 7.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.1807, allocations: 267.2 kB / 443.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.1811, allocations: 189.3 kB / 443.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.1848, allocations: 1.364 MB / 445 MB, free: 5.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1848, allocations: 0 / 445 MB, free: 5.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1849, allocations: 0 / 445 MB, free: 5.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.435e-05/0.1849, allocations: 0 / 445 MB, free: 5.461 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00439/0.1893, allocations: 1.217 MB / 446.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/0.1894, allocations: 12.03 kB / 446.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004771/0.1899, allocations: 106.5 kB / 446.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005924/0.1905, allocations: 110.8 kB / 446.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1922, allocations: 0.6089 MB / 447.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1924, allocations: 104.7 kB / 447.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1926, allocations: 59.98 kB / 447.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.1954, allocations: 0.9949 MB / 448.2 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.1955, allocations: 7.953 kB / 448.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.1956, allocations: 24 kB / 448.3 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.1958, allocations: 53.28 kB / 448.3 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.1985, allocations: 0.9067 MB / 449.2 MB, free: 1.094 MB / 378.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.3465/0.545, allocations: 4.106 MB / 453.3 MB, free: 58.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5471, allocations: 0.6165 MB / 453.9 MB, free: 58.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00633/0.5535, allocations: 2.326 MB / 456.3 MB, free: 56.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.5549, allocations: 430.3 kB / 456.7 MB, free: 56.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 4.809e-06/0.555, allocations: 3.125 kB / 456.7 MB, free: 56.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.01144/0.5664, allocations: 2.541 MB / 459.2 MB, free: 55.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.5666, allocations: 163.6 kB / 459.4 MB, free: 55.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.5684, allocations: 0.7745 MB / 460.2 MB, free: 55.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.5687, allocations: 34.52 kB / 460.2 MB, free: 55.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.5692, allocations: 437.1 kB / 460.6 MB, free: 55.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.5695, allocations: 175.8 kB / 460.8 MB, free: 55.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5696, allocations: 17.88 kB / 460.8 MB, free: 55.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5698, allocations: 398.9 kB / 461.2 MB, free: 54.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.5711, allocations: 350.2 kB / 461.6 MB, free: 54.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.5726, allocations: 0.6325 MB / 462.2 MB, free: 54.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.574, allocations: 454.5 kB / 462.6 MB, free: 53.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.5741, allocations: 1.203 kB / 462.6 MB, free: 53.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004407/0.5785, allocations: 1.224 MB / 463.9 MB, free: 53.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009664/0.5795, allocations: 3.519 MB / 467.4 MB, free: 49.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.5796, allocations: 13.84 kB / 467.4 MB, free: 49.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.5816, allocations: 354.6 kB / 467.7 MB, free: 49.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.5832, allocations: 170.6 kB / 467.9 MB, free: 49.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.5857, allocations: 1.443 MB / 469.3 MB, free: 48.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5875, allocations: 49.34 kB / 469.4 MB, free: 48.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.5877, allocations: 40.62 kB / 469.4 MB, free: 48.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5877, allocations: 6.969 kB / 469.4 MB, free: 48.36 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003344/0.5911, allocations: 1.063 MB / 470.5 MB, free: 47.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.5912, allocations: 10.08 kB / 470.5 MB, free: 47.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.5923, allocations: 274 kB / 470.8 MB, free: 47.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5935, allocations: 160 kB / 470.9 MB, free: 47.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.5962, allocations: 2.381 MB / 473.3 MB, free: 45.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5974, allocations: 46.77 kB / 473.4 MB, free: 45.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.5975, allocations: 46.55 kB / 473.4 MB, free: 45.74 MB / 378.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: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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.0007168/0.5982, allocations: 403.5 kB / 473.8 MB, free: 45.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.5985, allocations: 87.31 kB / 473.9 MB, free: 45.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/0.6015, allocations: 1.015 MB / 474.9 MB, free: 44.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6015, allocations: 3.062 kB / 474.9 MB, free: 44.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6015, allocations: 0 / 474.9 MB, free: 44.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6015, allocations: 6.766 kB / 474.9 MB, free: 44.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.6059, allocations: 1.835 MB / 476.7 MB, free: 44.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6059, allocations: 1.125 kB / 476.7 MB, free: 44.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.6067, allocations: 80.2 kB / 476.8 MB, free: 44.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.6081, allocations: 346.3 kB / 477.2 MB, free: 44.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.6083, allocations: 17.44 kB / 477.2 MB, free: 44.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.61, allocations: 1.439 MB / 478.6 MB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6101, allocations: 0 / 478.6 MB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.6135, allocations: 1.474 MB / 480.1 MB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/0.6142, allocations: 252.4 kB / 480.3 MB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.6144, allocations: 11 kB / 480.3 MB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.6154, allocations: 37.72 kB / 480.4 MB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.6156, allocations: 51.3 kB / 480.4 MB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.503e-05/0.6157, allocations: 26.7 kB / 480.5 MB, free: 41.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000929/0.6167, allocations: 0.522 MB / 481 MB, free: 41.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6167, allocations: 0 / 481 MB, free: 41.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00246/0.6191, allocations: 0.5986 MB / 481.6 MB, free: 41.68 MB / 378.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: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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.005275/0.6245, allocations: 2.386 MB / 484 MB, free: 40.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004967/0.6295, allocations: 1.641 MB / 485.6 MB, free: 39.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6295, allocations: 0 / 485.6 MB, free: 39.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.6313, allocations: 494.7 kB / 486.1 MB, free: 39.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.6338, allocations: 277.2 kB / 486.4 MB, free: 39.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.642, allocations: 8.763 MB / 495.1 MB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.6428, allocations: 1.026 MB / 496.2 MB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002028/0.6448, allocations: 310.6 kB / 496.5 MB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007088/0.6456, allocations: 293.8 kB / 496.7 MB, free: 30.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6456, allocations: 0 / 496.7 MB, free: 30.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08782/0.7334, allocations: 26.28 MB / 0.5108 GB, free: 18.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/0.7338, allocations: 273.8 kB / 0.511 GB, free: 18.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.918/4.652, allocations: 4.062 kB / 0.511 GB, free: 18.23 MB / 378.7 MB