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.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001423/0.001424, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9333/0.9333, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 72.27 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1719, allocations: 80.93 MB / 0.5837 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003688/0.1757, allocations: 1.581 MB / 0.5853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005821/0.1763, allocations: 188.3 kB / 0.5854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.1763, allocations: 0 / 0.5854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.1764, allocations: 3.938 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.1765, allocations: 0 / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1768, allocations: 43.89 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.1769, allocations: 31.86 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.177, allocations: 19.98 kB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.177, allocations: 11.98 kB / 0.5855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.1771, allocations: 19.92 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1771, allocations: 3.938 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1772, allocations: 43.95 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.1773, allocations: 7.984 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.1773, allocations: 15.92 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1775, allocations: 59.86 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1775, allocations: 0 / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1775, allocations: 3.938 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1775, allocations: 4 kB / 0.5857 GB, free: 2.961 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.0005568/0.1781, allocations: 355.7 kB / 0.586 GB, free: 2.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1781, allocations: 12.03 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1782, allocations: 4.844 kB / 0.586 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1783, allocations: 164.4 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1784, allocations: 4.375 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1784, allocations: 8.359 kB / 0.5862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1786, allocations: 66.17 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1786, allocations: 192 / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1786, allocations: 3.938 kB / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1786, allocations: 3.984 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.1789, allocations: 43.95 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1793, allocations: 288.7 kB / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.1797, allocations: 62.48 kB / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1798, allocations: 28.89 kB / 0.5867 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.1801, allocations: 166.2 kB / 0.5868 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1801, allocations: 30.56 kB / 0.5869 GB, free: 1.543 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1801, allocations: 0 / 0.5869 GB, free: 1.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004084/0.1805, allocations: 97.62 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1806, allocations: 55.34 kB / 0.587 GB, free: 1.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.1807, allocations: 109.8 kB / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1807, allocations: 25.7 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.1807, allocations: 88.05 kB / 0.5872 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1808, allocations: 4 kB / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1808, allocations: 25.64 kB / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1809, allocations: 322.7 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.181, allocations: 15.98 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.1811, allocations: 23.97 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1813, allocations: 44.81 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.1813, allocations: 0 / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002335/0.1816, allocations: 85.5 kB / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1816, allocations: 4 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1816, allocations: 0 / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1816, allocations: 0 / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.1817, allocations: 15.98 kB / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1817, allocations: 0 / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.1818, allocations: 7.984 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1818, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 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 0.0001125/0.182, allocations: 121.8 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.182, allocations: 4 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.1823, allocations: 81.55 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1823, allocations: 0 / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1823, allocations: 0 / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1823, allocations: 0 / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1825, allocations: 173.4 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1825, allocations: 4 kB / 0.5881 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.1826, allocations: 12.36 kB / 0.5881 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1826, allocations: 4 kB / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1826, allocations: 3.984 kB / 0.5881 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1826, allocations: 0 / 0.5881 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1826, allocations: 320 / 0.5881 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1829, allocations: 179.4 kB / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.183, allocations: 77.11 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.183, allocations: 3.984 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.1831, allocations: 4 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.1831, allocations: 11.98 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1832, allocations: 0 / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.1832, allocations: 91.25 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 0 / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002584/0.1835, allocations: 19.94 kB / 0.5885 GB, free: 15.7 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.0002156/0.1837, allocations: 127.2 kB / 0.5886 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.184, allocations: 43.95 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.184, allocations: 4 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1841, allocations: 19.98 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1844, allocations: 11.88 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.1848, allocations: 145.6 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.185, allocations: 0.6848 MB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.1851, allocations: 4 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.1851, allocations: 7.438 kB / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1851, allocations: 0 / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.003464/0.1886, allocations: 0.8854 MB / 0.5904 GB, free: 13.72 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)