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.00489/0.00489, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001087/0.001087, allocations: 191.8 kB / 16.67 MB, free: 6.367 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 68.17 kB / 0.5814 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 80.19 MB / 0.6597 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001584/0.1666, allocations: 0.5797 MB / 0.6603 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003684/0.167, allocations: 107.9 kB / 0.6604 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.975e-05/0.1671, allocations: 0 / 0.6604 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.1671, allocations: 0 / 0.6604 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.1671, allocations: 0 / 0.6604 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1675, allocations: 43.89 kB / 0.6604 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1676, allocations: 59.94 kB / 0.6605 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.1677, allocations: 11.92 kB / 0.6605 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.1677, allocations: 19.98 kB / 0.6605 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.1677, allocations: 31.95 kB / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1678, allocations: 0 / 0.6605 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1679, allocations: 43.97 kB / 0.6606 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.168, allocations: 23.95 kB / 0.6606 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.168, allocations: 23.92 kB / 0.6606 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1682, allocations: 71.7 kB / 0.6607 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1682, allocations: 0 / 0.6607 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1682, allocations: 0 / 0.6607 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.1682, allocations: 4 kB / 0.6607 GB, free: 12.56 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.0004926/0.1687, allocations: 375.4 kB / 0.6611 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1687, allocations: 11.97 kB / 0.6611 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1688, allocations: 12.89 kB / 0.6611 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.835e-05/0.1689, allocations: 168.3 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.1691, allocations: 281.6 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.1692, allocations: 4.375 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1694, allocations: 82.19 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1694, allocations: 3.938 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1694, allocations: 0 / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1695, allocations: 0 / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.1698, allocations: 139.8 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.17, allocations: 177.6 kB / 0.6619 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1703, allocations: 96.8 kB / 0.662 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1705, allocations: 44.81 kB / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1705, allocations: 4 kB / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1705, allocations: 34.56 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1705, allocations: 7.938 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005478/0.1711, allocations: 160.9 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1711, allocations: 51.41 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.706e-05/0.1712, allocations: 89.86 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1712, allocations: 29.7 kB / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.1712, allocations: 80.14 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.1713, allocations: 35.69 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.1713, allocations: 29.7 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1714, allocations: 318.8 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1716, allocations: 31.97 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1717, allocations: 31.97 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.172, allocations: 72.81 kB / 0.663 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.172, allocations: 0 / 0.663 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003545/0.1724, allocations: 115.2 kB / 0.6631 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1724, allocations: 13.34 kB / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1724, allocations: 0 / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1725, allocations: 4 kB / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1726, allocations: 19.98 kB / 0.6631 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1726, allocations: 7.984 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.1727, allocations: 19.88 kB / 0.6631 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1727, allocations: 0 / 0.6631 GB, free: 9.781 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.956e-05/0.1728, allocations: 121.8 kB / 0.6633 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1728, allocations: 7.938 kB / 0.6633 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.1729, allocations: 11.97 kB / 0.6633 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1729, allocations: 0 / 0.6633 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1729, allocations: 8 kB / 0.6633 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1729, allocations: 0 / 0.6633 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.173, allocations: 177.6 kB / 0.6635 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1731, allocations: 0 / 0.6635 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.1732, allocations: 27.97 kB / 0.6635 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1732, allocations: 3.938 kB / 0.6635 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1732, allocations: 0 / 0.6635 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1732, allocations: 0 / 0.6635 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1732, allocations: 4 kB / 0.6635 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.1736, allocations: 152.9 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1736, allocations: 81.06 kB / 0.6637 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1737, allocations: 7.938 kB / 0.6637 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.1737, allocations: 7.984 kB / 0.6637 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1738, allocations: 11.98 kB / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.1738, allocations: 0 / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.1738, allocations: 75.28 kB / 0.6638 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1738, allocations: 0 / 0.6638 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.1741, allocations: 39.86 kB / 0.6638 GB, free: 8.949 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.0001999/0.1743, allocations: 115.2 kB / 0.664 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.1746, allocations: 87.86 kB / 0.664 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1746, allocations: 0 / 0.664 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1748, allocations: 47.69 kB / 0.6641 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.175, allocations: 4 kB / 0.6641 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.1754, allocations: 164.8 kB / 0.6642 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1758, allocations: 0.6846 MB / 0.6649 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002188/0.176, allocations: 39.95 kB / 0.665 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.1761, allocations: 15.42 kB / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1761, allocations: 0 / 0.665 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of Templates: time 0.003581/0.1797, allocations: 1.029 MB / 0.666 GB, free: 6.719 MB / 0.4981 GB 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)