Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.9 kB / 16.41 MB, free: 6.527 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.001324/0.001324, allocations: 189.7 kB / 17.34 MB, free: 5.73 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8463/0.8463, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 60 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 80.93 MB / 0.6654 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00279/0.1664, allocations: 1.533 MB / 0.6669 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.1669, allocations: 172.3 kB / 0.667 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.1669, allocations: 7.938 kB / 0.667 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.167, allocations: 3.984 kB / 0.667 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.167, allocations: 7.938 kB / 0.667 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1673, allocations: 51.88 kB / 0.6671 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.329e-05/0.1674, allocations: 31.92 kB / 0.6671 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1675, allocations: 15.97 kB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.1676, allocations: 15.94 kB / 0.6672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.1676, allocations: 19.86 kB / 0.6672 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1676, allocations: 4 kB / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1678, allocations: 51.94 kB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.1678, allocations: 4 kB / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.1678, allocations: 19.86 kB / 0.6673 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.168, allocations: 75.72 kB / 0.6673 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.168, allocations: 4 kB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.168, allocations: 0 / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.168, allocations: 0 / 0.6673 GB, free: 3.812 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000564/0.1686, allocations: 351.3 kB / 0.6677 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1686, allocations: 9.109 kB / 0.6677 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1686, allocations: 8.891 kB / 0.6677 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1688, allocations: 168.4 kB / 0.6678 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1688, allocations: 384 / 0.6678 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1688, allocations: 8.375 kB / 0.6678 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.169, allocations: 62.22 kB / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.169, allocations: 192 / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1691, allocations: 7.875 kB / 0.6679 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1691, allocations: 7.938 kB / 0.6679 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1693, allocations: 43.95 kB / 0.668 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.1697, allocations: 284.7 kB / 0.6682 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.1701, allocations: 62.47 kB / 0.6683 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1702, allocations: 24.91 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.1704, allocations: 166.2 kB / 0.6685 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.1705, allocations: 34.56 kB / 0.6685 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1705, allocations: 0 / 0.6685 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004199/0.1709, allocations: 93.62 kB / 0.6686 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1709, allocations: 51.41 kB / 0.6686 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1711, allocations: 109.8 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1711, allocations: 25.7 kB / 0.6688 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.1712, allocations: 96.03 kB / 0.6689 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1712, allocations: 11.94 kB / 0.6689 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1712, allocations: 13.72 kB / 0.6689 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1714, allocations: 318.8 kB / 0.6692 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1715, allocations: 19.97 kB / 0.6692 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.1716, allocations: 19.98 kB / 0.6692 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1718, allocations: 52.81 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1718, allocations: 4 kB / 0.6693 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002334/0.172, allocations: 73.97 kB / 0.6694 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.172, allocations: 4 kB / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.172, allocations: 320 / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.172, allocations: 0 / 0.6694 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.1721, allocations: 19.86 kB / 0.6694 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1721, allocations: 0 / 0.6694 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.1722, allocations: 15.98 kB / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1722, allocations: 3.984 kB / 0.6694 GB, free: 1.422 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001056/0.1723, allocations: 113.8 kB / 0.6695 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1723, allocations: 7.953 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.1726, allocations: 81.55 kB / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1726, allocations: 0 / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1726, allocations: 7.984 kB / 0.6696 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1726, allocations: 0 / 0.6696 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1728, allocations: 169.5 kB / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1728, allocations: 0 / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.1729, allocations: 19.92 kB / 0.6698 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1729, allocations: 4 kB / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1729, allocations: 0 / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1729, allocations: 0 / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1729, allocations: 0 / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1732, allocations: 171.5 kB / 0.67 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.1733, allocations: 85.05 kB / 0.67 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1733, allocations: 0 / 0.67 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.1734, allocations: 4 kB / 0.67 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.1735, allocations: 11.98 kB / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1735, allocations: 0 / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.1735, allocations: 91.27 kB / 0.6701 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1735, allocations: 4 kB / 0.6701 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002506/0.1738, allocations: 15.94 kB / 0.6702 GB, free: 0.5469 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002068/0.174, allocations: 115.3 kB / 0.6703 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1742, allocations: 47.89 kB / 0.6703 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1742, allocations: 0 / 0.6703 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.1743, allocations: 23.98 kB / 0.6703 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1746, allocations: 15.92 kB / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.175, allocations: 151 kB / 0.6705 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.1754, allocations: 0.6768 MB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1755, allocations: 11.44 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.1755, allocations: 0 / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.002784/0.1782, allocations: 0.9899 MB / 0.6721 GB, free: 14.45 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)