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.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9186/0.9186, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 66.92 kB / 0.5053 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1848, allocations: 80.91 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003413/0.1882, allocations: 1.524 MB / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005873/0.1888, allocations: 181.9 kB / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.1889, allocations: 4 kB / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.189, allocations: 3.938 kB / 0.586 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.1891, allocations: 7.922 kB / 0.586 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.1895, allocations: 47.89 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1896, allocations: 43.84 kB / 0.5861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1898, allocations: 15.98 kB / 0.5861 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.1898, allocations: 11.98 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.1899, allocations: 19.92 kB / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1899, allocations: 4 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1901, allocations: 43.95 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.1901, allocations: 11.94 kB / 0.5862 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.1901, allocations: 15.92 kB / 0.5862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1903, allocations: 67.84 kB / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1903, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1903, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1904, allocations: 0 / 0.5863 GB, free: 2.527 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.0005475/0.1909, allocations: 355.6 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.191, allocations: 12.03 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.191, allocations: 4.844 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1912, allocations: 172.4 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.1912, allocations: 384 / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1912, allocations: 8.375 kB / 0.5868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1915, allocations: 66.16 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1915, allocations: 4.172 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1915, allocations: 3.938 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1915, allocations: 0 / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.1917, allocations: 43.95 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.1922, allocations: 284.7 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.1926, allocations: 62.47 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1927, allocations: 24.91 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.1929, allocations: 162.2 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.193, allocations: 42.55 kB / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.193, allocations: 0 / 0.5875 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004084/0.1934, allocations: 93.62 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1935, allocations: 55.34 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.1935, allocations: 109.8 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1936, allocations: 25.7 kB / 0.5878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.1936, allocations: 95.98 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1936, allocations: 7.984 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.1937, allocations: 13.72 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1938, allocations: 322.8 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.1939, allocations: 23.91 kB / 0.5882 GB, free: 328 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.194, allocations: 19.98 kB / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1942, allocations: 52.81 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1942, allocations: 0 / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002212/0.1944, allocations: 73.56 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1944, allocations: 7.938 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1945, allocations: 0 / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1945, allocations: 0 / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.1946, allocations: 19.98 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1946, allocations: 0 / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.1946, allocations: 11.98 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1947, allocations: 0 / 0.5884 GB, free: 132 kB / 494.1 MB 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.187e-05/0.1947, allocations: 113.8 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1948, allocations: 0 / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002931/0.1951, allocations: 85.55 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1951, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1951, allocations: 7.984 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1951, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1953, allocations: 173.6 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1953, allocations: 3.938 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.1954, allocations: 11.98 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1954, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1954, allocations: 4 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1954, allocations: 0 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1954, allocations: 320 / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1957, allocations: 171.5 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.1958, allocations: 81.52 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1958, allocations: 0 / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.1959, allocations: 4 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1959, allocations: 11.98 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.196, allocations: 0 / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.196, allocations: 99.23 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.196, allocations: 4 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002562/0.1963, allocations: 12 kB / 0.5891 GB, free: 15.26 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.0002259/0.1965, allocations: 127.1 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1968, allocations: 43.95 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1968, allocations: 4 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1969, allocations: 27.97 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1972, allocations: 19.81 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.1976, allocations: 132.3 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1978, allocations: 0.6807 MB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.1979, allocations: 4 kB / 0.5902 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.1979, allocations: 15.42 kB / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1979, allocations: 0 / 0.5902 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.003624/0.2015, allocations: 0.9599 MB / 0.5911 GB, free: 13.2 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)