Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadModel(Buildings): time 3.954/3.954, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.272e-05, allocations: 9.109 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.197, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.4086, allocations: 125.1 MB / 0.7569 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4089, allocations: 71.95 kB / 0.7569 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005652/0.4146, allocations: 1.305 MB / 0.7582 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.259e-06/0.4146, allocations: 3.938 kB / 0.7582 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.4146, allocations: 4 kB / 0.7582 GB, free: 3.285 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004649/0.4151, allocations: 346.4 kB / 0.7585 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.4152, allocations: 12.03 kB / 0.7586 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.4152, allocations: 4 kB / 0.7586 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4154, allocations: 174.9 kB / 0.7587 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4154, allocations: 4 kB / 0.7587 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.4155, allocations: 3.938 kB / 0.7587 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4156, allocations: 57.61 kB / 0.7588 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-06/0.4156, allocations: 0 / 0.7588 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4156, allocations: 4 kB / 0.7588 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-06/0.4157, allocations: 0 / 0.7588 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.4158, allocations: 20 kB / 0.7588 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.4163, allocations: 288.8 kB / 0.7591 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4166, allocations: 38.56 kB / 0.7591 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.4166, allocations: 16.92 kB / 0.7591 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.4171, allocations: 413.6 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4172, allocations: 30.56 kB / 0.7596 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.451e-06/0.4172, allocations: 0 / 0.7596 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.4174, allocations: 65.48 kB / 0.7596 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.4175, allocations: 51.41 kB / 0.7597 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4176, allocations: 101 kB / 0.7598 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4176, allocations: 25.7 kB / 0.7598 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.4177, allocations: 88.14 kB / 0.7599 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.4177, allocations: 11.84 kB / 0.7599 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-06/0.4177, allocations: 0 / 0.7599 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4179, allocations: 318.8 kB / 0.7602 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.418, allocations: 4 kB / 0.7602 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.418, allocations: 12 kB / 0.7602 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.453e-05/0.418, allocations: 4 kB / 0.7602 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4181, allocations: 0 / 0.7602 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001416/0.4182, allocations: 61.56 kB / 0.7603 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4182, allocations: 5.875 kB / 0.7603 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-06/0.4183, allocations: 4 kB / 0.7603 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4183, allocations: 0 / 0.7603 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4184, allocations: 15.98 kB / 0.7603 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4184, allocations: 3.953 kB / 0.7603 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.4185, allocations: 11.89 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4186, allocations: 7.938 kB / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.298e-05/0.4187, allocations: 105 kB / 0.7604 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.4187, allocations: 4 kB / 0.7604 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.4189, allocations: 61.7 kB / 0.7605 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-06/0.4189, allocations: 0 / 0.7605 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.4189, allocations: 0 / 0.7605 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.48e-06/0.419, allocations: 3.953 kB / 0.7605 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.4192, allocations: 165.6 kB / 0.7606 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-06/0.4192, allocations: 0 / 0.7606 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.4194, allocations: 23.98 kB / 0.7607 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4194, allocations: 4 kB / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.4194, allocations: 0 / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4194, allocations: 0 / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-06/0.4194, allocations: 0 / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.4196, allocations: 157.3 kB / 0.7608 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.4197, allocations: 81.11 kB / 0.7609 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4197, allocations: 0 / 0.7609 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4199, allocations: 11.98 kB / 0.7609 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.4199, allocations: 4 kB / 0.7609 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.42, allocations: 288 / 0.7609 GB, free: 124 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.42, allocations: 91.27 kB / 0.761 GB, free: 32 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.45e-07/0.4201, allocations: 3.938 kB / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003639/0.4204, allocations: 24 kB / 0.761 GB, free: 4 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.4207, allocations: 123.2 kB / 0.7611 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.4208, allocations: 27.98 kB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.618e-06/0.4208, allocations: 4 kB / 0.7612 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/0.4209, allocations: 11.98 kB / 0.7612 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.4211, allocations: 7.953 kB / 0.7612 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.4214, allocations: 76.8 kB / 0.7613 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4218, allocations: 0.6887 MB / 0.7619 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.4218, allocations: 8 kB / 0.7619 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.4219, allocations: 7.438 kB / 0.762 GB, free: 15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.737e-06/0.4219, allocations: 0 / 0.762 GB, free: 15 MB / 0.6511 GB Notification: Performance of Templates: time 0.003786/0.4257, allocations: 0.8238 MB / 0.7628 GB, free: 14.18 MB / 0.6511 GB