Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01135/0.01135, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.011/1.011, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 403.2 MB, free: 6.793 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.0009767/0.0009767, allocations: 90.48 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 11.98 kB / 0.5641 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4037, allocations: 81.58 MB / 0.6437 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.5446, allocations: 111.7 MB / 0.7529 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5449, allocations: 71.95 kB / 0.7529 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004072/0.5489, allocations: 1.344 MB / 0.7542 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.903e-06/0.549, allocations: 0 / 0.7542 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.549, allocations: 0 / 0.7542 GB, free: 6.809 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.0004025/0.5494, allocations: 359.2 kB / 0.7546 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5494, allocations: 8.031 kB / 0.7546 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.5495, allocations: 8 kB / 0.7546 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.5496, allocations: 178.9 kB / 0.7548 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.5497, allocations: 7.938 kB / 0.7548 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.5497, allocations: 0 / 0.7548 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.5499, allocations: 65.67 kB / 0.7548 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.5499, allocations: 0 / 0.7548 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.5499, allocations: 0 / 0.7548 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5499, allocations: 0 / 0.7548 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.5501, allocations: 59.95 kB / 0.7549 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5505, allocations: 280.7 kB / 0.7552 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.5509, allocations: 70.59 kB / 0.7552 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/0.5513, allocations: 405.6 kB / 0.7556 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.5513, allocations: 30.56 kB / 0.7557 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5513, allocations: 7.938 kB / 0.7557 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003861/0.5517, allocations: 113.5 kB / 0.7558 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.5518, allocations: 55.36 kB / 0.7558 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.5518, allocations: 109 kB / 0.7559 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.5519, allocations: 25.7 kB / 0.7559 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.5519, allocations: 92.19 kB / 0.756 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.5519, allocations: 11.84 kB / 0.756 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.552, allocations: 0 / 0.756 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5521, allocations: 314.8 kB / 0.7563 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.5522, allocations: 27.97 kB / 0.7564 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.5523, allocations: 23.98 kB / 0.7564 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.5524, allocations: 24.27 kB / 0.7564 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5524, allocations: 0 / 0.7564 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000228/0.5526, allocations: 97.56 kB / 0.7565 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5526, allocations: 4 kB / 0.7565 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5526, allocations: 0 / 0.7565 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5527, allocations: 0 / 0.7565 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.5527, allocations: 15.98 kB / 0.7565 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5528, allocations: 0 / 0.7565 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.5528, allocations: 23.84 kB / 0.7566 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.5528, allocations: 4 kB / 0.7566 GB, free: 4.133 MB / 0.5261 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 7.08e-05/0.5529, allocations: 105.8 kB / 0.7567 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.5529, allocations: 4 kB / 0.7567 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.5532, allocations: 97.55 kB / 0.7568 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5532, allocations: 3.938 kB / 0.7568 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5533, allocations: 0 / 0.7568 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5533, allocations: 3.938 kB / 0.7568 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.5534, allocations: 165.6 kB / 0.7569 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5534, allocations: 0 / 0.7569 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.5535, allocations: 11.98 kB / 0.7569 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5535, allocations: 8 kB / 0.7569 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.5535, allocations: 4 kB / 0.7569 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5536, allocations: 0 / 0.7569 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5536, allocations: 0 / 0.7569 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.5538, allocations: 187.4 kB / 0.7571 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.5539, allocations: 81.11 kB / 0.7572 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.5539, allocations: 4 kB / 0.7572 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.554, allocations: 11.98 kB / 0.7572 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5541, allocations: 11.92 kB / 0.7572 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5541, allocations: 4 kB / 0.7572 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.5541, allocations: 87.22 kB / 0.7573 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5541, allocations: 0 / 0.7573 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002453/0.5544, allocations: 27.98 kB / 0.7573 GB, free: 3.227 MB / 0.5261 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.0001919/0.5546, allocations: 119.2 kB / 0.7575 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5548, allocations: 55.95 kB / 0.7575 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5549, allocations: 4 kB / 0.7575 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.612e-05/0.555, allocations: 27.98 kB / 0.7575 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.5552, allocations: 9.297 kB / 0.7575 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.5555, allocations: 132.6 kB / 0.7577 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.5558, allocations: 0.6848 MB / 0.7583 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.5558, allocations: 4 kB / 0.7583 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.5558, allocations: 15.42 kB / 0.7584 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.5558, allocations: 0 / 0.7584 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of Templates: time 0.002758/0.5586, allocations: 0.8098 MB / 0.7592 GB, free: 1.312 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)