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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.475/4.475, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.893e-05, allocations: 8 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6558, allocations: 98.71 MB / 0.6289 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.8511, allocations: 124.4 MB / 0.7504 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.8514, allocations: 75.89 kB / 0.7505 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005421/0.8569, allocations: 1.29 MB / 0.7517 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.213e-06/0.8569, allocations: 0 / 0.7517 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.8569, allocations: 4 kB / 0.7517 GB, free: 1.66 MB / 0.6198 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.0004797/0.8574, allocations: 354.4 kB / 0.7521 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.8575, allocations: 16.02 kB / 0.7521 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.8575, allocations: 3.906 kB / 0.7521 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.8577, allocations: 167 kB / 0.7523 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.8577, allocations: 3.984 kB / 0.7523 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.8577, allocations: 0 / 0.7523 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.674e-05/0.8578, allocations: 20 kB / 0.7523 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.858, allocations: 57.59 kB / 0.7523 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.53e-06/0.858, allocations: 4 kB / 0.7523 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.858, allocations: 0 / 0.7523 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-06/0.858, allocations: 0 / 0.7523 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.8585, allocations: 253.4 kB / 0.7526 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.8588, allocations: 42.5 kB / 0.7526 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.8588, allocations: 20.92 kB / 0.7526 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/0.8593, allocations: 405.6 kB / 0.753 GB, free: 112 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8594, allocations: 34.55 kB / 0.7531 GB, free: 68 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.179e-06/0.8594, allocations: 0 / 0.7531 GB, free: 68 kB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004117/0.8598, allocations: 61.59 kB / 0.7531 GB, free: 0 / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.8599, allocations: 59.34 kB / 0.7532 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.86, allocations: 93 kB / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.86, allocations: 33.7 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.8601, allocations: 80.14 kB / 0.7534 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.8601, allocations: 3.906 kB / 0.7534 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.8601, allocations: 0 / 0.7534 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8603, allocations: 322.8 kB / 0.7537 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.8603, allocations: 8 kB / 0.7537 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.8604, allocations: 4 kB / 0.7537 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.8606, allocations: 23.86 kB / 0.7537 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.411e-06/0.8606, allocations: 0 / 0.7537 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/0.8609, allocations: 69.58 kB / 0.7538 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.861, allocations: 8 kB / 0.7538 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.401e-06/0.861, allocations: 0 / 0.7538 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.861, allocations: 3.938 kB / 0.7538 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.8612, allocations: 11.98 kB / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.481e-06/0.8612, allocations: 4 kB / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.764e-05/0.8613, allocations: 12.19 kB / 0.7538 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-06/0.8613, allocations: 0 / 0.7538 GB, free: 15.23 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 8.981e-05/0.8614, allocations: 109 kB / 0.7539 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.8614, allocations: 0 / 0.7539 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.8618, allocations: 81.72 kB / 0.754 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-06/0.8618, allocations: 0 / 0.754 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.873e-06/0.8618, allocations: 0 / 0.754 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-06/0.8618, allocations: 0 / 0.754 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.8622, allocations: 150.2 kB / 0.7542 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-06/0.8622, allocations: 0 / 0.7542 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.8624, allocations: 16.22 kB / 0.7542 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8624, allocations: 4 kB / 0.7542 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8624, allocations: 0 / 0.7542 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-06/0.8624, allocations: 0 / 0.7542 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8624, allocations: 0 / 0.7542 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.863, allocations: 167.4 kB / 0.7543 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.863, allocations: 77.11 kB / 0.7544 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.8631, allocations: 4 kB / 0.7544 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.8632, allocations: 11.94 kB / 0.7544 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.8633, allocations: 11.98 kB / 0.7544 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-06/0.8633, allocations: 0 / 0.7544 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.8633, allocations: 83.27 kB / 0.7545 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.06e-07/0.8634, allocations: 0 / 0.7545 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000355/0.8637, allocations: 31.88 kB / 0.7545 GB, free: 14.42 MB / 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.0002354/0.864, allocations: 124.2 kB / 0.7547 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.8641, allocations: 16 kB / 0.7547 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.523e-06/0.8641, allocations: 0 / 0.7547 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.8642, allocations: 15.94 kB / 0.7547 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.8644, allocations: 7.938 kB / 0.7547 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.8646, allocations: 71.94 kB / 0.7548 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.865, allocations: 0.6807 MB / 0.7554 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.8651, allocations: 11.88 kB / 0.7554 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.8651, allocations: 15.42 kB / 0.7555 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of SimCode: time 1.279e-06/0.8651, allocations: 0 / 0.7555 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.003538/0.8687, allocations: 0.7705 MB / 0.7562 GB, free: 12.66 MB / 0.6355 GB