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.001376/0.001376, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001509/0.001509, allocations: 187 kB / 17.34 MB, free: 5.762 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.35/1.35, 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.8044/0.8044, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 68.62 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1482, allocations: 80.93 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001809/0.15, allocations: 0.5631 MB / 0.6659 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004077/0.1505, allocations: 114.5 kB / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1505, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.1505, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.1506, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.151, allocations: 39.89 kB / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1511, allocations: 59.94 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1512, allocations: 8 kB / 0.6661 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.1512, allocations: 31.91 kB / 0.6661 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.1513, allocations: 23.97 kB / 0.6662 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1513, allocations: 4 kB / 0.6662 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1515, allocations: 47.94 kB / 0.6662 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1515, allocations: 19.97 kB / 0.6662 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1516, allocations: 23.92 kB / 0.6662 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1517, allocations: 71.81 kB / 0.6663 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.1517, allocations: 4 kB / 0.6663 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1517, allocations: 3.938 kB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1518, allocations: 0 / 0.6663 GB, free: 4.77 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.0005888/0.1523, allocations: 377.7 kB / 0.6667 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1524, allocations: 9.109 kB / 0.6667 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1524, allocations: 4.938 kB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1526, allocations: 172.3 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.1529, allocations: 281.6 kB / 0.6671 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.153, allocations: 8.359 kB / 0.6671 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.1534, allocations: 78.2 kB / 0.6672 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1534, allocations: 3.938 kB / 0.6672 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1534, allocations: 0 / 0.6672 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1534, allocations: 0 / 0.6672 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.154, allocations: 139.8 kB / 0.6674 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.1542, allocations: 181.5 kB / 0.6675 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.1547, allocations: 98.41 kB / 0.6676 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.1549, allocations: 40.83 kB / 0.6677 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1549, allocations: 4 kB / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.224e-05/0.155, allocations: 34.56 kB / 0.6677 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.155, allocations: 4 kB / 0.6677 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0008023/0.1558, allocations: 145.9 kB / 0.6678 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1559, allocations: 55.34 kB / 0.6679 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.156, allocations: 93.8 kB / 0.668 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.156, allocations: 29.7 kB / 0.668 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.156, allocations: 80.14 kB / 0.6681 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.1561, allocations: 43.44 kB / 0.6681 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.1562, allocations: 25.7 kB / 0.6681 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1563, allocations: 322.8 kB / 0.6685 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1565, allocations: 31.97 kB / 0.6685 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1567, allocations: 31.98 kB / 0.6685 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.157, allocations: 73.47 kB / 0.6686 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.157, allocations: 0 / 0.6686 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003383/0.1573, allocations: 113.5 kB / 0.6687 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1573, allocations: 11.88 kB / 0.6687 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1574, allocations: 3.984 kB / 0.6687 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1574, allocations: 4 kB / 0.6687 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1575, allocations: 27.98 kB / 0.6687 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1576, allocations: 0 / 0.6687 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1577, allocations: 11.84 kB / 0.6688 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1577, allocations: 3.984 kB / 0.6688 GB, free: 1.992 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 8.601e-05/0.1578, allocations: 117.8 kB / 0.6689 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.1578, allocations: 3.938 kB / 0.6689 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.1579, allocations: 19.95 kB / 0.6689 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1579, allocations: 8 kB / 0.6689 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1579, allocations: 0 / 0.6689 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1579, allocations: 0 / 0.6689 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1581, allocations: 173.6 kB / 0.6691 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1581, allocations: 0 / 0.6691 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1582, allocations: 27.92 kB / 0.6691 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1582, allocations: 7.922 kB / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1583, allocations: 0 / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1583, allocations: 4 kB / 0.6691 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1583, allocations: 0 / 0.6691 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1586, allocations: 145 kB / 0.6692 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.1587, allocations: 84.95 kB / 0.6693 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1587, allocations: 7.938 kB / 0.6693 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.1588, allocations: 4 kB / 0.6693 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1588, allocations: 19.91 kB / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.1589, allocations: 0 / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.1589, allocations: 83.22 kB / 0.6694 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1589, allocations: 0 / 0.6694 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002296/0.1591, allocations: 28 kB / 0.6695 GB, free: 1.176 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.000202/0.1593, allocations: 120.5 kB / 0.6696 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.1597, allocations: 83.88 kB / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1597, allocations: 0 / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1599, allocations: 55.89 kB / 0.6697 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.16, allocations: 4 kB / 0.6697 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.1604, allocations: 186.6 kB / 0.6699 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1608, allocations: 0.6846 MB / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.1608, allocations: 19.42 kB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1608, allocations: 0 / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.002964/0.1638, allocations: 1.315 MB / 0.6719 GB, free: 14.65 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)