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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005154/0.005154, allocations: 97.58 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 201.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7881/0.7881, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 68.22 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1803, allocations: 80.2 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00269/0.183, allocations: 1.529 MB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004668/0.1835, allocations: 176.3 kB / 0.6613 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.1835, allocations: 3.938 kB / 0.6613 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.1836, allocations: 7.875 kB / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.819e-05/0.1836, allocations: 7.938 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.184, allocations: 51.88 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.184, allocations: 35.91 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1842, allocations: 19.98 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.1842, allocations: 15.92 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.1842, allocations: 15.92 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1843, allocations: 4 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1844, allocations: 51.94 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.1844, allocations: 4 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1844, allocations: 15.88 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1846, allocations: 71.78 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1846, allocations: 4 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1846, allocations: 0 / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1846, allocations: 0 / 0.6616 GB, free: 11.47 MB / 0.4981 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.0004553/0.1851, allocations: 355.3 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1851, allocations: 8.031 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1851, allocations: 12.89 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1853, allocations: 164.4 kB / 0.6622 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1853, allocations: 4.375 kB / 0.6622 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1853, allocations: 384 / 0.6622 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1855, allocations: 74.16 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1855, allocations: 192 / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1855, allocations: 3.938 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1855, allocations: 3.938 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1857, allocations: 43.95 kB / 0.6623 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1861, allocations: 292.7 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1864, allocations: 58.48 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.1865, allocations: 28.89 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.1868, allocations: 162.2 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1868, allocations: 30.56 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1868, allocations: 8 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003833/0.1872, allocations: 97.56 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1872, allocations: 51.41 kB / 0.663 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.1873, allocations: 105.8 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1873, allocations: 29.7 kB / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1874, allocations: 88.09 kB / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.1874, allocations: 7.953 kB / 0.6632 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1875, allocations: 21.7 kB / 0.6632 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.1876, allocations: 314.8 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.1877, allocations: 19.98 kB / 0.6635 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.164e-05/0.1878, allocations: 23.97 kB / 0.6636 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1879, allocations: 48.75 kB / 0.6636 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1879, allocations: 4 kB / 0.6636 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002025/0.1881, allocations: 73.59 kB / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1882, allocations: 8 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1882, allocations: 0 / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1882, allocations: 336 / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.1883, allocations: 15.98 kB / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1883, allocations: 0 / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.1883, allocations: 7.984 kB / 0.6637 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.1884, allocations: 4 kB / 0.6637 GB, free: 9.078 MB / 0.4981 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,rea2Int.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.1884, allocations: 113.8 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.1885, allocations: 7.938 kB / 0.6638 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1887, allocations: 89.48 kB / 0.6639 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1887, allocations: 0 / 0.6639 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1887, allocations: 0 / 0.6639 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1888, allocations: 0 / 0.6639 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1889, allocations: 177.5 kB / 0.6641 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1889, allocations: 0 / 0.6641 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.189, allocations: 15.98 kB / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.189, allocations: 0 / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.189, allocations: 0 / 0.6641 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.189, allocations: 7.984 kB / 0.6641 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.189, allocations: 0 / 0.6641 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1893, allocations: 171.5 kB / 0.6643 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.1893, allocations: 81.06 kB / 0.6644 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1894, allocations: 0 / 0.6644 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.1895, allocations: 7.984 kB / 0.6644 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1895, allocations: 15.92 kB / 0.6644 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1895, allocations: 0 / 0.6644 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.1896, allocations: 87.28 kB / 0.6645 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1896, allocations: 0 / 0.6645 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.1898, allocations: 23.92 kB / 0.6645 GB, free: 8.184 MB / 0.4981 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 (rea2Int.y,bin.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.19, allocations: 111.3 kB / 0.6646 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.1902, allocations: 47.94 kB / 0.6646 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1902, allocations: 0 / 0.6646 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.1903, allocations: 23.98 kB / 0.6647 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.1906, allocations: 3.938 kB / 0.6647 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.1909, allocations: 133.3 kB / 0.6648 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1912, allocations: 0.6806 MB / 0.6654 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.1912, allocations: 4 kB / 0.6655 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1912, allocations: 11.44 kB / 0.6655 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1912, allocations: 0 / 0.6655 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of Templates: time 0.003314/0.1946, allocations: 0.982 MB / 0.6664 GB, free: 6.141 MB / 0.4981 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)