Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.201/2.201, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 174.9 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001168, allocations: 95.86 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006442/0.0006442, allocations: 12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2395, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.4676, allocations: 132.2 MB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/0.4681, allocations: 71.97 kB / 1.028 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009454/0.4776, allocations: 1.332 MB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4776, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.4776, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 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.0007287/0.4784, allocations: 363.2 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.4785, allocations: 8.031 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.4785, allocations: 7.844 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.4788, allocations: 175 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.4788, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4789, allocations: 8 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.4793, allocations: 61.67 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4794, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.4794, allocations: 8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4794, allocations: 3.938 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.48, allocations: 59.94 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/0.4807, allocations: 280.8 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.4814, allocations: 66.47 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.4822, allocations: 405.7 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4822, allocations: 34.56 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 3.917e-06/0.4822, allocations: 0 / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0009308/0.4832, allocations: 113.6 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.4833, allocations: 55.36 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.4834, allocations: 101 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.4835, allocations: 25.7 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.4836, allocations: 88.2 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.4836, allocations: 15.83 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.4837, allocations: 4 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4838, allocations: 314.8 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.4841, allocations: 27.97 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.4844, allocations: 23.92 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.4847, allocations: 27.98 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4847, allocations: 0 / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006026/0.4853, allocations: 89.55 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4854, allocations: 10.34 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4854, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4854, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4857, allocations: 11.98 kB / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4857, allocations: 0 / 1.032 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4859, allocations: 19.88 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.4859, allocations: 0 / 1.032 GB, free: 9.102 MB / 0.6823 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 () * Number of clocked 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 0.0001605/0.4861, allocations: 121.8 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.4861, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.4868, allocations: 89.55 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4868, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4868, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4868, allocations: 8 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.4871, allocations: 165.6 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4871, allocations: 4 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.4873, allocations: 15.92 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4873, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4873, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4873, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4873, allocations: 4 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.4878, allocations: 192.5 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.4878, allocations: 81.11 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.4879, allocations: 4 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.488, allocations: 11.98 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.4881, allocations: 11.97 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4881, allocations: 3.984 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.4882, allocations: 87.28 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4882, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003514/0.4886, allocations: 27.98 kB / 1.032 GB, free: 8.184 MB / 0.6823 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 () * Number of clocked 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.0002439/0.4888, allocations: 115.2 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.4892, allocations: 59.89 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4892, allocations: 4 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4894, allocations: 23.98 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.4897, allocations: 15.89 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.4901, allocations: 128.5 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4905, allocations: 0.6809 MB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.175e-05/0.4905, allocations: 4 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.4906, allocations: 19.42 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/0.4906, allocations: 0 / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of Templates: time 0.004296/0.4949, allocations: 0.8271 MB / 1.034 GB, free: 6.254 MB / 0.6823 GB