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.006134/0.006134, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001558/0.001558, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9022/0.9022, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.25 kB / 0.5814 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1772, allocations: 80.21 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002581/0.1798, allocations: 1.518 MB / 0.6612 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.1803, allocations: 180.3 kB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.1804, allocations: 4 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.1804, allocations: 3.938 kB / 0.6613 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.1805, allocations: 7.938 kB / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1808, allocations: 47.88 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.1809, allocations: 31.92 kB / 0.6614 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1811, allocations: 23.97 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.1811, allocations: 11.94 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.1811, allocations: 15.92 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1812, allocations: 8 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1813, allocations: 51.94 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1813, allocations: 7.984 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.1814, allocations: 15.88 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1815, allocations: 71.78 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1815, allocations: 0 / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1815, allocations: 0 / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1816, allocations: 0 / 0.6616 GB, free: 8.215 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.0005407/0.1821, allocations: 355.4 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1821, allocations: 12.03 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.1822, allocations: 4.938 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1823, allocations: 172.2 kB / 0.6621 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1824, allocations: 8.375 kB / 0.6622 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1824, allocations: 384 / 0.6622 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1826, allocations: 70.16 kB / 0.6622 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1826, allocations: 192 / 0.6622 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1826, allocations: 3.938 kB / 0.6622 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1826, allocations: 0 / 0.6622 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.1828, allocations: 51.89 kB / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1832, allocations: 280.8 kB / 0.6625 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.1836, allocations: 58.59 kB / 0.6626 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1837, allocations: 24.84 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.1839, allocations: 174.1 kB / 0.6628 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.184, allocations: 30.56 kB / 0.6628 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.184, allocations: 0 / 0.6628 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004045/0.1844, allocations: 97.55 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.1844, allocations: 55.41 kB / 0.663 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.1845, allocations: 106.1 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1845, allocations: 25.7 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1846, allocations: 92.12 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.1846, allocations: 3.906 kB / 0.6632 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1846, allocations: 17.72 kB / 0.6632 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1848, allocations: 318.8 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.1849, allocations: 19.98 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.1849, allocations: 27.92 kB / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1851, allocations: 40.81 kB / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1851, allocations: 0 / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002158/0.1854, allocations: 73.66 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1854, allocations: 11.98 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1854, allocations: 4 kB / 0.6637 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1854, allocations: 4 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1855, allocations: 11.98 kB / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1855, allocations: 4.062 kB / 0.6637 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1856, allocations: 7.906 kB / 0.6637 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1856, allocations: 0 / 0.6637 GB, free: 5.828 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 8.894e-05/0.1857, allocations: 121.7 kB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1857, allocations: 3.984 kB / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.186, allocations: 93.86 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.186, allocations: 3.938 kB / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.186, allocations: 0 / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.186, allocations: 0 / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1862, allocations: 165.6 kB / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1862, allocations: 0 / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.1863, allocations: 15.92 kB / 0.6641 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1863, allocations: 0 / 0.6641 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1863, allocations: 0 / 0.6641 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1863, allocations: 4 kB / 0.6641 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1863, allocations: 4 kB / 0.6641 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.1866, allocations: 183.3 kB / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.1866, allocations: 81.05 kB / 0.6643 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.1867, allocations: 0 / 0.6643 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.1867, allocations: 7.984 kB / 0.6644 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1868, allocations: 12 kB / 0.6644 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.1868, allocations: 0 / 0.6644 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.1869, allocations: 91.27 kB / 0.6645 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1869, allocations: 0 / 0.6645 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002571/0.1871, allocations: 12 kB / 0.6645 GB, free: 4.934 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.000183/0.1873, allocations: 119.3 kB / 0.6646 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1876, allocations: 51.89 kB / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1876, allocations: 0 / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1877, allocations: 27.97 kB / 0.6647 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.188, allocations: 3.938 kB / 0.6647 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1883, allocations: 117.5 kB / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1886, allocations: 0.6845 MB / 0.6654 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.1886, allocations: 11.98 kB / 0.6655 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.1886, allocations: 11.44 kB / 0.6655 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.1887, allocations: 0 / 0.6655 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.003199/0.1919, allocations: 0.9817 MB / 0.6664 GB, free: 2.875 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)