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.0009299/0.00093, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7214/0.7214, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008765/0.0008766, allocations: 96.48 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.9e-05, allocations: 4 kB / 0.5535 GB, free: 9.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.523, allocations: 82.31 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.6779, allocations: 111.2 MB / 0.7425 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.6783, allocations: 71.95 kB / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004021/0.6823, allocations: 1.341 MB / 0.7438 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6823, allocations: 0 / 0.7438 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.6823, allocations: 3.938 kB / 0.7438 GB, free: 10.08 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.0003867/0.6827, allocations: 346.4 kB / 0.7442 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6828, allocations: 8.031 kB / 0.7442 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.6828, allocations: 8 kB / 0.7442 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.683, allocations: 171 kB / 0.7444 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.683, allocations: 4 kB / 0.7444 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.683, allocations: 0 / 0.7444 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.052e-05/0.6831, allocations: 16 kB / 0.7444 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.6832, allocations: 61.55 kB / 0.7444 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6832, allocations: 4 kB / 0.7444 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.6833, allocations: 0 / 0.7444 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6833, allocations: 0 / 0.7444 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.6836, allocations: 257.3 kB / 0.7447 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.6839, allocations: 46.59 kB / 0.7447 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.6839, allocations: 12.91 kB / 0.7447 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.6843, allocations: 409.5 kB / 0.7451 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.6844, allocations: 30.56 kB / 0.7452 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.6844, allocations: 4 kB / 0.7452 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000344/0.6847, allocations: 65.66 kB / 0.7452 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.6848, allocations: 51.41 kB / 0.7453 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.6848, allocations: 93 kB / 0.7454 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.6849, allocations: 25.7 kB / 0.7454 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.6849, allocations: 96.03 kB / 0.7455 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.6849, allocations: 3.906 kB / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.685, allocations: 0 / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6851, allocations: 322.7 kB / 0.7458 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.6851, allocations: 8 kB / 0.7458 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.6851, allocations: 12 kB / 0.7458 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.6853, allocations: 27.84 kB / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6853, allocations: 0 / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001934/0.6855, allocations: 57.67 kB / 0.7459 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6855, allocations: 4 kB / 0.7459 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6855, allocations: 0 / 0.7459 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6855, allocations: 4 kB / 0.7459 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.6857, allocations: 19.98 kB / 0.7459 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6857, allocations: 0 / 0.7459 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.6857, allocations: 11.98 kB / 0.7459 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.6858, allocations: 0 / 0.7459 GB, free: 7.652 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 () * 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.577e-05/0.6858, allocations: 104.9 kB / 0.746 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.6858, allocations: 7.906 kB / 0.746 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.6861, allocations: 73.72 kB / 0.7461 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.6861, allocations: 4 kB / 0.7461 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6861, allocations: 0 / 0.7461 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6861, allocations: 0 / 0.7461 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.6863, allocations: 146.2 kB / 0.7463 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6863, allocations: 0 / 0.7463 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.6864, allocations: 8 kB / 0.7463 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6864, allocations: 3.984 kB / 0.7463 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.6864, allocations: 0 / 0.7463 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6864, allocations: 4 kB / 0.7463 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6864, allocations: 0 / 0.7463 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.6867, allocations: 159.8 kB / 0.7464 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.6867, allocations: 85 kB / 0.7465 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.6867, allocations: 4 kB / 0.7465 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.6868, allocations: 15.92 kB / 0.7465 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.6869, allocations: 7.984 kB / 0.7465 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.6869, allocations: 0 / 0.7465 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.687, allocations: 87.28 kB / 0.7466 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.687, allocations: 3.938 kB / 0.7466 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002275/0.6872, allocations: 23.91 kB / 0.7466 GB, free: 6.84 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 () * 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.0002028/0.6874, allocations: 115.2 kB / 0.7467 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.6875, allocations: 23.98 kB / 0.7468 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6875, allocations: 0 / 0.7468 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.6876, allocations: 15.94 kB / 0.7468 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.6877, allocations: 11.94 kB / 0.7468 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.688, allocations: 71.86 kB / 0.7469 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.6882, allocations: 0.685 MB / 0.7475 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.6883, allocations: 7.953 kB / 0.7475 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.6883, allocations: 7.438 kB / 0.7476 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.6883, allocations: 0 / 0.7476 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of Templates: time 0.002992/0.6913, allocations: 0.7862 MB / 0.7483 GB, free: 5.07 MB / 0.5261 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)