Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 180.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008018/0.000802, allocations: 92.38 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.012e-05, allocations: 12 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.615, allocations: 116.3 MB / 0.9732 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.7811, allocations: 138.9 MB / 1.109 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.7813, allocations: 71.95 kB / 1.109 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003949/0.7853, allocations: 1.326 MB / 1.11 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7853, allocations: 0.5 kB / 1.11 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7853, allocations: 0.9062 kB / 1.11 GB, free: 9.977 MB / 0.7136 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.0004025/0.7858, allocations: 355.9 kB / 1.111 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.7858, allocations: 8.031 kB / 1.111 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.7858, allocations: 8.906 kB / 1.111 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.786, allocations: 167 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.786, allocations: 0 / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.786, allocations: 4.531 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.074e-05/0.7861, allocations: 21.06 kB / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.7862, allocations: 52.02 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7863, allocations: 0 / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7863, allocations: 2.469 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7863, allocations: 4 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.7866, allocations: 255.2 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.7869, allocations: 47.12 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.7869, allocations: 14.23 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.7872, allocations: 409.6 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.7873, allocations: 31.59 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7873, allocations: 0.5312 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003022/0.7876, allocations: 63.11 kB / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.7876, allocations: 55.41 kB / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.7877, allocations: 95.5 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.7877, allocations: 27.27 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.7878, allocations: 92.05 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.7878, allocations: 3.906 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.7878, allocations: 0 / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.7879, allocations: 320.2 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.7879, allocations: 13.62 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.788, allocations: 8 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.7881, allocations: 20.52 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7881, allocations: 0.5312 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002023/0.7883, allocations: 62.42 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7883, allocations: 5.094 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7884, allocations: 4.672 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7884, allocations: 3.938 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.7885, allocations: 13.47 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7885, allocations: 3.984 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.7886, allocations: 9.969 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.7886, allocations: 0 / 1.112 GB, free: 7.578 MB / 0.7136 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 6.507e-05/0.7886, allocations: 107.5 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.7887, allocations: 7 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.7889, allocations: 69.72 kB / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7889, allocations: 0 / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7889, allocations: 4 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.789, allocations: 0 / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.7891, allocations: 152.6 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7891, allocations: 0 / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.7892, allocations: 19.14 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7892, allocations: 0 / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.7892, allocations: 0.9375 kB / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7892, allocations: 0 / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7892, allocations: 0 / 1.113 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.7895, allocations: 167.5 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.7895, allocations: 85 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.7895, allocations: 0 / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.7896, allocations: 11.98 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.7897, allocations: 1.562 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.7897, allocations: 4 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.7897, allocations: 87.27 kB / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7897, allocations: 0 / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002429/0.79, allocations: 19.94 kB / 1.113 GB, free: 6.777 MB / 0.7136 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.0001895/0.7902, allocations: 131.3 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.7903, allocations: 16 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7903, allocations: 0 / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.7903, allocations: 19.92 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.7905, allocations: 4 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.7907, allocations: 66.56 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.791, allocations: 0.6846 MB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.791, allocations: 11.92 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.791, allocations: 9.312 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.791, allocations: 0 / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.002574/0.7936, allocations: 0.7742 MB / 1.115 GB, free: 5.043 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)