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.005375/0.005375, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001135/0.001136, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8351/0.8351, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.28 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 80.94 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001755/0.1701, allocations: 0.5565 MB / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004/0.1705, allocations: 110.6 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.1706, allocations: 0 / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.1706, allocations: 3.938 kB / 0.6653 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.1706, allocations: 0 / 0.6653 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.171, allocations: 43.81 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1711, allocations: 67.92 kB / 0.6654 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1712, allocations: 8 kB / 0.6655 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.1712, allocations: 23.92 kB / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1713, allocations: 27.95 kB / 0.6655 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1713, allocations: 0 / 0.6655 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1714, allocations: 51.95 kB / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.1715, allocations: 15.98 kB / 0.6656 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.1715, allocations: 27.89 kB / 0.6656 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1717, allocations: 67.84 kB / 0.6657 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1717, allocations: 0 / 0.6657 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1717, allocations: 3.938 kB / 0.6657 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1717, allocations: 4 kB / 0.6657 GB, free: 4.773 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.0005246/0.1722, allocations: 371.5 kB / 0.666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1723, allocations: 9.109 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1723, allocations: 4.938 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.1724, allocations: 168.3 kB / 0.6662 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.1727, allocations: 289.5 kB / 0.6665 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1727, allocations: 8.359 kB / 0.6665 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.173, allocations: 78.2 kB / 0.6666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.173, allocations: 3.938 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.173, allocations: 0 / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.173, allocations: 0 / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1733, allocations: 135.8 kB / 0.6667 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1735, allocations: 185.5 kB / 0.6669 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1738, allocations: 94.47 kB / 0.667 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.174, allocations: 40.83 kB / 0.667 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.174, allocations: 7.984 kB / 0.667 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.174, allocations: 34.56 kB / 0.667 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.174, allocations: 0 / 0.667 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005082/0.1745, allocations: 141.9 kB / 0.6672 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.1746, allocations: 59.41 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.1746, allocations: 93.8 kB / 0.6673 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1747, allocations: 29.7 kB / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.1747, allocations: 84.08 kB / 0.6674 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.1747, allocations: 35.45 kB / 0.6675 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.1748, allocations: 29.7 kB / 0.6675 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1749, allocations: 318.8 kB / 0.6678 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1751, allocations: 31.98 kB / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1752, allocations: 35.91 kB / 0.6679 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.1754, allocations: 77.41 kB / 0.6679 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1755, allocations: 0 / 0.6679 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000318/0.1758, allocations: 109.6 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1758, allocations: 11.94 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1758, allocations: 0 / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1758, allocations: 0 / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.176, allocations: 27.91 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.176, allocations: 4 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.1761, allocations: 19.84 kB / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1761, allocations: 3.984 kB / 0.6681 GB, free: 1.996 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.704e-05/0.1762, allocations: 113.8 kB / 0.6682 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.1762, allocations: 11.94 kB / 0.6682 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1762, allocations: 7.969 kB / 0.6682 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1762, allocations: 3.984 kB / 0.6682 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1763, allocations: 4 kB / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1763, allocations: 0 / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1764, allocations: 185.5 kB / 0.6684 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1764, allocations: 0 / 0.6684 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.1765, allocations: 27.92 kB / 0.6684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1765, allocations: 3.938 kB / 0.6684 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1766, allocations: 3.984 kB / 0.6684 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1766, allocations: 0 / 0.6684 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1766, allocations: 4 kB / 0.6684 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1769, allocations: 141 kB / 0.6686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.177, allocations: 88.95 kB / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.177, allocations: 3.938 kB / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.177, allocations: 8 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.1771, allocations: 11.98 kB / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1771, allocations: 3.984 kB / 0.6687 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.275e-05/0.1771, allocations: 75.28 kB / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002167/0.1774, allocations: 28 kB / 0.6688 GB, free: 1.188 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.0001862/0.1776, allocations: 124.5 kB / 0.6689 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1779, allocations: 83.88 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1779, allocations: 0 / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1781, allocations: 47.91 kB / 0.669 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1782, allocations: 7.984 kB / 0.669 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.1786, allocations: 156.9 kB / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1788, allocations: 0.6846 MB / 0.6699 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.179, allocations: 43.89 kB / 0.6699 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.179, allocations: 23.42 kB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1791, allocations: 0 / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.00313/0.1822, allocations: 1.026 MB / 0.6709 GB, free: 14.94 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)