Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00144/0.00144, allocations: 108 kB / 15.61 MB, free: 152 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.001667/0.001667, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.72/0.72, allocations: 132.2 MB / 422.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.5 kB / 0.5018 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1636, allocations: 80.21 MB / 0.5801 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002051/0.1657, allocations: 0.5846 MB / 0.5807 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003617/0.1661, allocations: 107.6 kB / 0.5808 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1661, allocations: 0 / 0.5808 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.1662, allocations: 0 / 0.5808 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1662, allocations: 0 / 0.5808 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1666, allocations: 35.89 kB / 0.5808 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1667, allocations: 63.94 kB / 0.5809 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1668, allocations: 12 kB / 0.5809 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.1668, allocations: 23.97 kB / 0.5809 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.1669, allocations: 23.91 kB / 0.5809 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1669, allocations: 4 kB / 0.5809 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1671, allocations: 51.94 kB / 0.581 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.1671, allocations: 15.98 kB / 0.581 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1671, allocations: 15.92 kB / 0.581 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1673, allocations: 75.81 kB / 0.5811 GB, free: 7.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1673, allocations: 0 / 0.5811 GB, free: 7.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1673, allocations: 0 / 0.5811 GB, free: 7.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1673, allocations: 0 / 0.5811 GB, free: 7.695 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.0004913/0.1678, allocations: 371.5 kB / 0.5814 GB, free: 7.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1679, allocations: 8.031 kB / 0.5814 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1679, allocations: 16.83 kB / 0.5815 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.168, allocations: 168.5 kB / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/0.1683, allocations: 277.6 kB / 0.5819 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1683, allocations: 8.375 kB / 0.5819 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1685, allocations: 78.19 kB / 0.582 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1686, allocations: 7.922 kB / 0.582 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1686, allocations: 11.94 kB / 0.582 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1686, allocations: 4 kB / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1689, allocations: 127.8 kB / 0.5821 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.1691, allocations: 173.7 kB / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.1694, allocations: 98.45 kB / 0.5824 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1696, allocations: 45.16 kB / 0.5824 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1696, allocations: 0 / 0.5824 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1696, allocations: 38.5 kB / 0.5825 GB, free: 6.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1696, allocations: 0 / 0.5825 GB, free: 6.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005352/0.1702, allocations: 159.7 kB / 0.5826 GB, free: 5.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1702, allocations: 51.41 kB / 0.5827 GB, free: 5.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.1703, allocations: 89.86 kB / 0.5827 GB, free: 5.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1703, allocations: 29.7 kB / 0.5828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.1703, allocations: 80.14 kB / 0.5828 GB, free: 5.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.1704, allocations: 35.53 kB / 0.5829 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.1705, allocations: 33.7 kB / 0.5829 GB, free: 5.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1706, allocations: 310.8 kB / 0.5832 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1708, allocations: 39.91 kB / 0.5832 GB, free: 5.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1709, allocations: 31.97 kB / 0.5833 GB, free: 5.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1712, allocations: 76.42 kB / 0.5834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1712, allocations: 0 / 0.5834 GB, free: 5.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003388/0.1715, allocations: 121.4 kB / 0.5835 GB, free: 4.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1715, allocations: 11.94 kB / 0.5835 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1716, allocations: 0 / 0.5835 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1716, allocations: 4 kB / 0.5835 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1717, allocations: 23.97 kB / 0.5835 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1718, allocations: 0 / 0.5835 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.1718, allocations: 7.938 kB / 0.5835 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.1718, allocations: 8 kB / 0.5835 GB, free: 4.918 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: 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 0.0001053/0.172, allocations: 113.8 kB / 0.5836 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.172, allocations: 7.844 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.172, allocations: 19.97 kB / 0.5837 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.172, allocations: 3.938 kB / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1721, allocations: 0 / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1721, allocations: 0 / 0.5837 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1722, allocations: 177.6 kB / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1722, allocations: 0 / 0.5838 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.1724, allocations: 19.98 kB / 0.5838 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1724, allocations: 3.938 kB / 0.5839 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1724, allocations: 15.92 kB / 0.5839 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1724, allocations: 4 kB / 0.5839 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1724, allocations: 4 kB / 0.5839 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.1728, allocations: 136.9 kB / 0.584 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.1729, allocations: 85.05 kB / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1729, allocations: 11.92 kB / 0.5841 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.1729, allocations: 4 kB / 0.5841 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.173, allocations: 7.984 kB / 0.5841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.173, allocations: 11.98 kB / 0.5841 GB, free: 4.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.1731, allocations: 79.28 kB / 0.5842 GB, free: 4.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1731, allocations: 0 / 0.5842 GB, free: 4.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1734, allocations: 24 kB / 0.5842 GB, free: 4.105 MB / 494.1 MB 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.000276/0.1736, allocations: 119.2 kB / 0.5843 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.174, allocations: 103.8 kB / 0.5844 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.174, allocations: 0 / 0.5844 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1742, allocations: 47.91 kB / 0.5845 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.1744, allocations: 8 kB / 0.5845 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.1749, allocations: 156.9 kB / 0.5846 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1752, allocations: 0.6846 MB / 0.5853 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.1754, allocations: 39.95 kB / 0.5853 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1755, allocations: 19.42 kB / 0.5854 GB, free: 2.871 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1755, allocations: 0 / 0.5854 GB, free: 2.871 MB / 494.1 MB Notification: Performance of Templates: time 0.003608/0.1791, allocations: 1.011 MB / 0.5863 GB, free: 1.867 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)