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.001339/0.001339, allocations: 110.2 kB / 16.4 MB, free: 6.391 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.001384/0.001384, allocations: 191.9 kB / 17.34 MB, free: 5.832 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8534/0.8534, allocations: 135.2 MB / 426.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 68.8 kB / 0.5864 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001632/0.1633, allocations: 0.5721 MB / 0.6659 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.1637, allocations: 106.5 kB / 0.6661 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.1637, allocations: 0 / 0.6661 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1637, allocations: 0 / 0.6661 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.1638, allocations: 0 / 0.6661 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1641, allocations: 47.81 kB / 0.6661 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1642, allocations: 63.92 kB / 0.6662 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.1643, allocations: 8 kB / 0.6662 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.1643, allocations: 27.92 kB / 0.6662 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.1644, allocations: 27.95 kB / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1644, allocations: 4 kB / 0.6662 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1645, allocations: 47.95 kB / 0.6663 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.1645, allocations: 15.98 kB / 0.6663 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.1646, allocations: 19.91 kB / 0.6663 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1647, allocations: 75.7 kB / 0.6664 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1647, allocations: 0 / 0.6664 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1647, allocations: 0 / 0.6664 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1647, allocations: 0 / 0.6664 GB, free: 4.727 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005261/0.1652, allocations: 375.4 kB / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1653, allocations: 13.11 kB / 0.6667 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.1653, allocations: 8.891 kB / 0.6668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1654, allocations: 164.3 kB / 0.6669 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.1657, allocations: 281.6 kB / 0.6672 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1657, allocations: 4.375 kB / 0.6672 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.166, allocations: 82.12 kB / 0.6673 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.166, allocations: 3.938 kB / 0.6673 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.166, allocations: 8 kB / 0.6673 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.166, allocations: 3.984 kB / 0.6673 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.1664, allocations: 131.8 kB / 0.6674 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.1666, allocations: 177.6 kB / 0.6676 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.1669, allocations: 90.52 kB / 0.6677 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.167, allocations: 44.77 kB / 0.6677 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1671, allocations: 3.984 kB / 0.6677 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1671, allocations: 34.56 kB / 0.6677 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1671, allocations: 4 kB / 0.6677 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005734/0.1677, allocations: 153.8 kB / 0.6679 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1677, allocations: 51.41 kB / 0.6679 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.1678, allocations: 89.86 kB / 0.668 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1678, allocations: 33.64 kB / 0.6681 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1678, allocations: 84.14 kB / 0.6681 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.1679, allocations: 35.69 kB / 0.6682 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1679, allocations: 25.7 kB / 0.6682 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1681, allocations: 322.8 kB / 0.6685 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1682, allocations: 27.98 kB / 0.6685 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1683, allocations: 44.28 kB / 0.6686 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1686, allocations: 68.81 kB / 0.6686 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1686, allocations: 0 / 0.6686 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003451/0.169, allocations: 113.6 kB / 0.6687 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.169, allocations: 9.812 kB / 0.6688 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.169, allocations: 0 / 0.6688 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.169, allocations: 4 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1692, allocations: 35.91 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1692, allocations: 3.984 kB / 0.6688 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.1692, allocations: 11.89 kB / 0.6688 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1692, allocations: 7.984 kB / 0.6688 GB, free: 1.941 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 9.159e-05/0.1693, allocations: 113.8 kB / 0.6689 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1694, allocations: 3.938 kB / 0.6689 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1694, allocations: 11.97 kB / 0.6689 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1694, allocations: 8 kB / 0.6689 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1694, allocations: 0 / 0.6689 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1694, allocations: 3.984 kB / 0.6689 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1696, allocations: 181.6 kB / 0.6691 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1696, allocations: 0 / 0.6691 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1697, allocations: 19.98 kB / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1697, allocations: 3.938 kB / 0.6691 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1697, allocations: 15.92 kB / 0.6692 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1697, allocations: 0 / 0.6692 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1697, allocations: 0 / 0.6692 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.1701, allocations: 141 kB / 0.6693 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1701, allocations: 89.05 kB / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1701, allocations: 3.938 kB / 0.6694 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.1702, allocations: 8 kB / 0.6694 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1703, allocations: 7.984 kB / 0.6694 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1703, allocations: 7.984 kB / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.1703, allocations: 75.28 kB / 0.6695 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 0 / 0.6695 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002201/0.1705, allocations: 27.94 kB / 0.6695 GB, free: 1.137 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.0002025/0.1707, allocations: 123.1 kB / 0.6696 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.1711, allocations: 79.94 kB / 0.6697 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1711, allocations: 0 / 0.6697 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1712, allocations: 47.84 kB / 0.6697 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1714, allocations: 4 kB / 0.6697 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.1718, allocations: 199.3 kB / 0.6699 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1721, allocations: 0.6807 MB / 0.6706 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.1722, allocations: 27.41 kB / 0.6706 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1722, allocations: 0 / 0.6706 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of Templates: time 0.003092/0.1753, allocations: 1.318 MB / 0.6719 GB, free: 14.6 MB / 0.5137 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)