Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001385/0.001385, allocations: 107.7 kB / 16.41 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.001688/0.001689, allocations: 187 kB / 17.34 MB, free: 5.734 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 66.17 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1475, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003537/0.1511, allocations: 1.526 MB / 0.6618 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.1517, allocations: 180.2 kB / 0.662 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.1518, allocations: 4 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.1519, allocations: 0 / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.1519, allocations: 3.938 kB / 0.662 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1523, allocations: 51.88 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.1524, allocations: 35.92 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1525, allocations: 11.98 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.856e-05/0.1526, allocations: 15.94 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.1527, allocations: 19.91 kB / 0.6621 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1527, allocations: 11.94 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1529, allocations: 47.95 kB / 0.6622 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.1529, allocations: 4 kB / 0.6622 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.1529, allocations: 27.78 kB / 0.6622 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1531, allocations: 63.84 kB / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1532, allocations: 4 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1532, allocations: 0 / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1532, allocations: 0 / 0.6623 GB, free: 8.234 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.0006068/0.1538, allocations: 355.4 kB / 0.6626 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1539, allocations: 8.031 kB / 0.6626 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1539, allocations: 4.922 kB / 0.6626 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1541, allocations: 172.3 kB / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.1541, allocations: 384 / 0.6628 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1541, allocations: 4.375 kB / 0.6628 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1544, allocations: 62.22 kB / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1544, allocations: 8.062 kB / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1545, allocations: 3.938 kB / 0.6629 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1545, allocations: 4 kB / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.1547, allocations: 47.95 kB / 0.6629 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.1553, allocations: 272.8 kB / 0.6632 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.1557, allocations: 62.47 kB / 0.6633 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1558, allocations: 28.91 kB / 0.6633 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.1561, allocations: 170.3 kB / 0.6634 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1562, allocations: 34.55 kB / 0.6635 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1562, allocations: 0 / 0.6635 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005126/0.1567, allocations: 93.55 kB / 0.6636 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1568, allocations: 59.41 kB / 0.6636 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1569, allocations: 105.8 kB / 0.6637 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1569, allocations: 29.64 kB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.157, allocations: 92.12 kB / 0.6638 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.157, allocations: 3.906 kB / 0.6638 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.1571, allocations: 17.72 kB / 0.6639 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1572, allocations: 314.8 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1573, allocations: 27.97 kB / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1575, allocations: 15.98 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.1577, allocations: 53.08 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1577, allocations: 0 / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002909/0.158, allocations: 73.66 kB / 0.6643 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.158, allocations: 4 kB / 0.6643 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1581, allocations: 4 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1581, allocations: 7.984 kB / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1582, allocations: 11.94 kB / 0.6643 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1582, allocations: 3.938 kB / 0.6644 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.1583, allocations: 11.89 kB / 0.6644 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1583, allocations: 4 kB / 0.6644 GB, free: 5.844 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 9.821e-05/0.1584, allocations: 109.8 kB / 0.6645 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1585, allocations: 4 kB / 0.6645 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.1588, allocations: 89.53 kB / 0.6646 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1588, allocations: 4 kB / 0.6646 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1588, allocations: 3.938 kB / 0.6646 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1589, allocations: 0 / 0.6646 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1591, allocations: 169.6 kB / 0.6647 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1591, allocations: 0 / 0.6647 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1592, allocations: 15.92 kB / 0.6647 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.1592, allocations: 0 / 0.6647 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1593, allocations: 4 kB / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1593, allocations: 0 / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1593, allocations: 0 / 0.6648 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.1596, allocations: 175.3 kB / 0.6649 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.1597, allocations: 85.05 kB / 0.665 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1597, allocations: 0 / 0.665 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1599, allocations: 11.98 kB / 0.665 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.1599, allocations: 4 kB / 0.665 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1599, allocations: 4 kB / 0.665 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.16, allocations: 87.27 kB / 0.6651 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.16, allocations: 0 / 0.6651 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003783/0.1604, allocations: 16 kB / 0.6651 GB, free: 4.965 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.0002354/0.1606, allocations: 115.2 kB / 0.6652 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.161, allocations: 51.89 kB / 0.6653 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.161, allocations: 0 / 0.6653 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1611, allocations: 23.97 kB / 0.6653 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1615, allocations: 11.31 kB / 0.6653 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1619, allocations: 145.7 kB / 0.6654 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1623, allocations: 0.6845 MB / 0.6661 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.1623, allocations: 11.44 kB / 0.6661 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of SimCode: time 1.944e-06/0.1623, allocations: 0 / 0.6661 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.002414/0.1648, allocations: 0.9942 MB / 0.6671 GB, free: 2.875 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)