Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.167/5.167, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002449/0.002449, allocations: 358.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.226/4.226, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001823/0.001822, allocations: 187.2 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005179, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7537, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2786/1.032, allocations: 137.5 MB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.033, allocations: 85.56 kB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.005945/1.039, allocations: 1.206 MB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.795e-06/1.039, allocations: 0 / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.621e-06/1.039, allocations: 1.25 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004761/1.039, allocations: 363.3 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/1.039, allocations: 14.06 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/1.039, allocations: 7.906 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.81e-05/1.04, allocations: 171 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/1.04, allocations: 277 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.04, allocations: 4 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/1.04, allocations: 87.88 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.04, allocations: 0.8438 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.04, allocations: 1.781 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.04, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/1.041, allocations: 131.8 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/1.041, allocations: 189.5 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/1.042, allocations: 91.73 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/1.042, allocations: 42.05 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/1.042, allocations: 8.594 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.042, allocations: 39.25 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/1.042, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0008994/1.043, allocations: 144.2 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/1.043, allocations: 55.34 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.066e-05/1.043, allocations: 98.39 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/1.043, allocations: 31.48 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/1.043, allocations: 80.33 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/1.043, allocations: 31.55 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.043, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/1.043, allocations: 316.5 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.043, allocations: 31.97 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/1.044, allocations: 35.97 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/1.044, allocations: 41.88 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.044, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005804/1.045, allocations: 110.5 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.045, allocations: 8 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.045, allocations: 0.5 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.045, allocations: 0.625 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/1.045, allocations: 27.97 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.045, allocations: 4.688 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/1.045, allocations: 6.484 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/1.045, allocations: 7.984 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.865e-05/1.045, allocations: 125.2 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/1.045, allocations: 4 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/1.045, allocations: 14.72 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.045, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.045, allocations: 3.984 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.045, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/1.046, allocations: 181.5 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.046, allocations: 3.953 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/1.046, allocations: 19.98 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.046, allocations: 5.469 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/1.046, allocations: 3.984 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.046, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.046, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/1.046, allocations: 148.6 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/1.046, allocations: 93.47 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/1.047, allocations: 0.8438 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/1.047, allocations: 8 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/1.047, allocations: 12.62 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.047, allocations: 5.25 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.822e-05/1.047, allocations: 75.28 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/1.047, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003173/1.047, allocations: 33.38 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002237/1.047, allocations: 119.2 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005693/1.048, allocations: 90.28 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.048, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.048, allocations: 59.83 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.048, allocations: 4 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/1.049, allocations: 164.2 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/1.049, allocations: 0.6854 MB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001992/1.049, allocations: 40.17 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/1.049, allocations: 20.11 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/1.049, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004026/1.054, allocations: 0.9442 MB / 1.602 GB, free: 139.9 MB / 0.8542 GB