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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007873/0.0007874, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005307/0.005307, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.034/1.034, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 82.31 MB / 0.588 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001812/0.1831, allocations: 1.249 MB / 0.5892 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005171/0.1836, allocations: 172.4 kB / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1836, allocations: 8 kB / 0.5894 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.1837, allocations: 3.938 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.1837, allocations: 0 / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.184, allocations: 39.89 kB / 0.5894 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.184, allocations: 39.86 kB / 0.5894 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.1841, allocations: 11.98 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.1842, allocations: 8 kB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.1842, allocations: 19.86 kB / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1842, allocations: 4 kB / 0.5895 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1844, allocations: 39.95 kB / 0.5895 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1844, allocations: 11.98 kB / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.1844, allocations: 37.64 kB / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1846, allocations: 55.84 kB / 0.5896 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1846, allocations: 3.938 kB / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1846, allocations: 0 / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1846, allocations: 0 / 0.5896 GB, free: 0.875 MB / 494.1 MB 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.0004476/0.1851, allocations: 363.7 kB / 0.59 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1851, allocations: 8.031 kB / 0.59 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.1851, allocations: 0.9375 kB / 0.59 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1853, allocations: 172.3 kB / 0.5901 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1853, allocations: 384 / 0.5901 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1853, allocations: 12.36 kB / 0.5902 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1855, allocations: 74.16 kB / 0.5902 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1855, allocations: 192 / 0.5902 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1855, allocations: 7.938 kB / 0.5902 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1855, allocations: 0 / 0.5902 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1857, allocations: 51.95 kB / 0.5903 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.1862, allocations: 288.7 kB / 0.5906 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.1865, allocations: 62.48 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1866, allocations: 36.89 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.1868, allocations: 170.1 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1869, allocations: 30.56 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1869, allocations: 4 kB / 0.5909 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000433/0.1873, allocations: 113.6 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1874, allocations: 55.41 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.1875, allocations: 106.1 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1875, allocations: 25.7 kB / 0.5911 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.1875, allocations: 88.14 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.1876, allocations: 11.84 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1876, allocations: 9.719 kB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1877, allocations: 326.8 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.1878, allocations: 19.98 kB / 0.5916 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.1879, allocations: 19.98 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1881, allocations: 60.81 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1881, allocations: 0 / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002611/0.1884, allocations: 101.5 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1884, allocations: 4 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1884, allocations: 0 / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1884, allocations: 0 / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.1885, allocations: 15.98 kB / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1886, allocations: 4.062 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.1886, allocations: 8 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1886, allocations: 4 kB / 0.5918 GB, free: 14.4 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 0.0001078/0.1887, allocations: 117.8 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1888, allocations: 4 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.1891, allocations: 93.88 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1891, allocations: 3.938 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1891, allocations: 0 / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1891, allocations: 48 / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1893, allocations: 177.6 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1893, allocations: 0 / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.1894, allocations: 15.98 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1894, allocations: 0 / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1894, allocations: 0 / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1894, allocations: 8 kB / 0.5922 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1894, allocations: 0 / 0.5922 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.1897, allocations: 187.3 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1898, allocations: 85.11 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1898, allocations: 0 / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.1899, allocations: 11.98 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.19, allocations: 0 / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.19, allocations: 7.984 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.19, allocations: 91.16 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.734e-06/0.19, allocations: 0 / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002443/0.1903, allocations: 19.94 kB / 0.5926 GB, free: 13.49 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.0001959/0.1905, allocations: 119.2 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1908, allocations: 51.95 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1908, allocations: 0 / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1909, allocations: 35.97 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1912, allocations: 19.53 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.1915, allocations: 132.5 kB / 0.5929 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1917, allocations: 0.6809 MB / 0.5936 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.1918, allocations: 8 kB / 0.5936 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1918, allocations: 11.42 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1918, allocations: 0 / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.003154/0.195, allocations: 0.8677 MB / 0.5944 GB, free: 11.52 MB / 0.4981 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)