Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006115/0.006115, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8995/0.8995, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 94.77 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4105, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.564, allocations: 112 MB / 0.7588 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5643, allocations: 79.95 kB / 0.7589 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00429/0.5686, allocations: 1.337 MB / 0.7602 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5686, allocations: 0 / 0.7602 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.5687, allocations: 4 kB / 0.7602 GB, free: 2.609 MB / 0.5261 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.0004444/0.5691, allocations: 359.2 kB / 0.7606 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5692, allocations: 12.03 kB / 0.7606 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.5692, allocations: 0 / 0.7606 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.5694, allocations: 174.9 kB / 0.7607 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.5694, allocations: 4 kB / 0.7607 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.5694, allocations: 12 kB / 0.7607 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.5696, allocations: 65.66 kB / 0.7608 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5697, allocations: 0 / 0.7608 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5697, allocations: 0 / 0.7608 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5697, allocations: 0 / 0.7608 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.5699, allocations: 59.95 kB / 0.7609 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.5703, allocations: 284.8 kB / 0.7611 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.5707, allocations: 62.55 kB / 0.7612 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/0.5711, allocations: 401.7 kB / 0.7616 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.5711, allocations: 34.55 kB / 0.7616 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5712, allocations: 0 / 0.7616 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004485/0.5716, allocations: 117.5 kB / 0.7617 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.5717, allocations: 51.41 kB / 0.7618 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5718, allocations: 108.9 kB / 0.7619 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5718, allocations: 25.7 kB / 0.7619 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.5719, allocations: 88.14 kB / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.572, allocations: 11.83 kB / 0.762 GB, free: 500 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.572, allocations: 3.938 kB / 0.762 GB, free: 496 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5722, allocations: 322.8 kB / 0.7623 GB, free: 164 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.5723, allocations: 23.98 kB / 0.7623 GB, free: 140 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.5724, allocations: 28.16 kB / 0.7624 GB, free: 112 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.5726, allocations: 24.06 kB / 0.7624 GB, free: 88 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5726, allocations: 4 kB / 0.7624 GB, free: 84 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003878/0.573, allocations: 89.64 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.573, allocations: 9.344 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.573, allocations: 0 / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.5731, allocations: 0 / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5732, allocations: 15.98 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5732, allocations: 0 / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.5733, allocations: 7.906 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5734, allocations: 8 kB / 0.7625 GB, free: 15.95 MB / 0.5417 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.0001245/0.5735, allocations: 117.8 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.5735, allocations: 4 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.5739, allocations: 97.48 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5739, allocations: 0 / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5739, allocations: 0 / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5739, allocations: 0 / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.5741, allocations: 173.5 kB / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5741, allocations: 0 / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.5742, allocations: 15.98 kB / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5743, allocations: 0 / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5743, allocations: 0 / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5743, allocations: 0 / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5743, allocations: 4 kB / 0.7629 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.5746, allocations: 191.4 kB / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.5747, allocations: 77.11 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.5747, allocations: 4 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.5748, allocations: 11.98 kB / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.5749, allocations: 3.938 kB / 0.7632 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.5749, allocations: 11.98 kB / 0.7632 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001107/0.575, allocations: 83.28 kB / 0.7633 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5751, allocations: 0 / 0.7633 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003167/0.5754, allocations: 24 kB / 0.7633 GB, free: 15.04 MB / 0.5417 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.0003032/0.5757, allocations: 127.2 kB / 0.7634 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.576, allocations: 55.95 kB / 0.7635 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.576, allocations: 0 / 0.7635 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.5761, allocations: 35.97 kB / 0.7635 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.5764, allocations: 14.14 kB / 0.7635 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.5768, allocations: 124.6 kB / 0.7636 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.5772, allocations: 0.6848 MB / 0.7643 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.5773, allocations: 8 kB / 0.7643 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.5773, allocations: 7.438 kB / 0.7643 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.5773, allocations: 0 / 0.7643 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.003457/0.5808, allocations: 0.8209 MB / 0.7651 GB, free: 13.11 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)