Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008822/0.008822, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9547/0.9547, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004865, allocations: 12.66 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.000609/0.1637, allocations: 303 kB / 0.5883 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003769/0.1641, allocations: 111.7 kB / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.1642, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.1642, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-06/0.1642, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1645, allocations: 35.91 kB / 0.5884 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.1646, allocations: 59.92 kB / 0.5885 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.1646, allocations: 4 kB / 0.5885 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.1647, allocations: 19.98 kB / 0.5885 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1647, allocations: 27.95 kB / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1647, allocations: 4 kB / 0.5885 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1649, allocations: 47.89 kB / 0.5886 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1649, allocations: 19.97 kB / 0.5886 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.165, allocations: 49.62 kB / 0.5886 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1651, allocations: 71.83 kB / 0.5887 GB, free: 1.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1651, allocations: 0 / 0.5887 GB, free: 1.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1651, allocations: 4 kB / 0.5887 GB, free: 1.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1651, allocations: 0 / 0.5887 GB, free: 1.859 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004049/0.1656, allocations: 347.6 kB / 0.589 GB, free: 1.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1656, allocations: 12.03 kB / 0.589 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.1656, allocations: 16.72 kB / 0.5891 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.1657, allocations: 172.5 kB / 0.5892 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.166, allocations: 281.6 kB / 0.5895 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.166, allocations: 4.375 kB / 0.5895 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1662, allocations: 78.2 kB / 0.5896 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1663, allocations: 3.938 kB / 0.5896 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1663, allocations: 11.98 kB / 0.5896 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1663, allocations: 0 / 0.5896 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.1666, allocations: 131.8 kB / 0.5897 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1668, allocations: 173.7 kB / 0.5899 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1671, allocations: 102.2 kB / 0.59 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1673, allocations: 40.83 kB / 0.59 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1673, allocations: 8.312 kB / 0.59 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1673, allocations: 34.56 kB / 0.5901 GB, free: 256 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1673, allocations: 3.938 kB / 0.5901 GB, free: 252 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005509/0.1679, allocations: 149.5 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1679, allocations: 55.41 kB / 0.5903 GB, free: 28 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.168, allocations: 93.8 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.168, allocations: 29.69 kB / 0.5904 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.1681, allocations: 84.14 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1681, allocations: 27.56 kB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1682, allocations: 21.7 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.1683, allocations: 314.8 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1684, allocations: 31.97 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1685, allocations: 39.91 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1688, allocations: 64.83 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1688, allocations: 0 / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003367/0.1692, allocations: 121.5 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1692, allocations: 10.28 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1692, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1692, allocations: 3.938 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1694, allocations: 27.92 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1694, allocations: 0 / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1695, allocations: 15.92 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1695, allocations: 4 kB / 0.5911 GB, free: 15.11 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.788e-05/0.1696, allocations: 117.8 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.1696, allocations: 11.84 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1696, allocations: 7.969 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1696, allocations: 4 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1696, allocations: 3.938 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1697, allocations: 0 / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1698, allocations: 181.6 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1698, allocations: 0 / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.17, allocations: 31.91 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.17, allocations: 3.938 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.17, allocations: 4 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.17, allocations: 4 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.17, allocations: 0 / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.1703, allocations: 147.2 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.1704, allocations: 81.11 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1704, allocations: 3.938 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.1705, allocations: 4 kB / 0.5917 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.1705, allocations: 15.97 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1705, allocations: 8 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.1706, allocations: 76.94 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.523e-06/0.1706, allocations: 0 / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000218/0.1708, allocations: 23.94 kB / 0.5918 GB, free: 14.3 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001714/0.171, allocations: 115.2 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.1713, allocations: 87.88 kB / 0.592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1713, allocations: 0 / 0.592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1715, allocations: 55.89 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1716, allocations: 4 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.172, allocations: 169 kB / 0.5922 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1722, allocations: 0.6848 MB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.1724, allocations: 39.95 kB / 0.5929 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.1724, allocations: 15.44 kB / 0.5929 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1724, allocations: 0 / 0.5929 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.002888/0.1753, allocations: 0.972 MB / 0.5939 GB, free: 12.11 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)