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.00103/0.00103, allocations: 106.5 kB / 16.41 MB, free: 6.512 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.001155/0.001155, allocations: 187 kB / 17.34 MB, free: 5.742 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8262/0.8262, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 74.2 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1492, allocations: 80.93 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001654/0.1509, allocations: 0.5623 MB / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003803/0.1513, allocations: 114.5 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1513, allocations: 0 / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.1513, allocations: 0 / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.1514, allocations: 4 kB / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.1517, allocations: 31.91 kB / 0.666 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1518, allocations: 63.92 kB / 0.6661 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1519, allocations: 12 kB / 0.6661 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.1519, allocations: 27.86 kB / 0.6661 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.152, allocations: 23.95 kB / 0.6662 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.152, allocations: 4 kB / 0.6662 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1522, allocations: 47.95 kB / 0.6662 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.1522, allocations: 19.97 kB / 0.6662 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.1522, allocations: 23.91 kB / 0.6663 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1524, allocations: 67.84 kB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1524, allocations: 7.938 kB / 0.6663 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.1524, allocations: 0 / 0.6663 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.1524, allocations: 0 / 0.6663 GB, free: 4.762 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.0004668/0.1529, allocations: 371.5 kB / 0.6667 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1529, allocations: 9.109 kB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.153, allocations: 12.94 kB / 0.6667 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.921e-05/0.1531, allocations: 168.3 kB / 0.6669 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.1533, allocations: 281.6 kB / 0.6671 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1533, allocations: 4.375 kB / 0.6671 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.1536, allocations: 82.2 kB / 0.6672 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1536, allocations: 3.938 kB / 0.6672 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1536, allocations: 0 / 0.6672 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1536, allocations: 4 kB / 0.6672 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.154, allocations: 135.8 kB / 0.6673 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1542, allocations: 181.5 kB / 0.6675 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1545, allocations: 94.47 kB / 0.6676 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1546, allocations: 48.83 kB / 0.6677 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1546, allocations: 0 / 0.6677 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1547, allocations: 34.56 kB / 0.6677 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.1547, allocations: 0 / 0.6677 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005382/0.1552, allocations: 149.8 kB / 0.6678 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1553, allocations: 55.34 kB / 0.6679 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.795e-05/0.1553, allocations: 89.86 kB / 0.668 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1554, allocations: 37.7 kB / 0.668 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.1554, allocations: 80.14 kB / 0.6681 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.1554, allocations: 35.45 kB / 0.6681 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1555, allocations: 25.7 kB / 0.6681 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1556, allocations: 318.8 kB / 0.6684 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1557, allocations: 31.97 kB / 0.6685 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1559, allocations: 32.42 kB / 0.6685 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1562, allocations: 76.97 kB / 0.6686 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1562, allocations: 4 kB / 0.6686 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003453/0.1565, allocations: 117.5 kB / 0.6687 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1565, allocations: 9.656 kB / 0.6687 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1566, allocations: 3.984 kB / 0.6687 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1566, allocations: 4 kB / 0.6687 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1567, allocations: 23.98 kB / 0.6687 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1567, allocations: 0 / 0.6687 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.1568, allocations: 11.84 kB / 0.6687 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1568, allocations: 7.984 kB / 0.6688 GB, free: 1.984 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.817e-05/0.1569, allocations: 117.8 kB / 0.6689 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.157, allocations: 3.938 kB / 0.6689 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.157, allocations: 19.95 kB / 0.6689 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.157, allocations: 3.984 kB / 0.6689 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.157, allocations: 0 / 0.6689 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.157, allocations: 0 / 0.6689 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1572, allocations: 185.5 kB / 0.6691 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1572, allocations: 0 / 0.6691 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1573, allocations: 19.98 kB / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1573, allocations: 11.92 kB / 0.6691 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1573, allocations: 4 kB / 0.6691 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1573, allocations: 0 / 0.6691 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1574, allocations: 4 kB / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.1577, allocations: 141 kB / 0.6692 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1578, allocations: 88.95 kB / 0.6693 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1578, allocations: 3.938 kB / 0.6693 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.1578, allocations: 8 kB / 0.6693 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.1579, allocations: 19.91 kB / 0.6694 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1579, allocations: 4 kB / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.158, allocations: 75.28 kB / 0.6694 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.158, allocations: 0 / 0.6694 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002194/0.1582, allocations: 24 kB / 0.6695 GB, free: 1.168 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.0001897/0.1584, allocations: 116.6 kB / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1587, allocations: 91.81 kB / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1587, allocations: 4 kB / 0.6697 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1589, allocations: 47.95 kB / 0.6697 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.159, allocations: 4 kB / 0.6697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1595, allocations: 186.6 kB / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1598, allocations: 0.6885 MB / 0.6706 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.1599, allocations: 19.36 kB / 0.6706 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of SimCode: time 5.72e-07/0.1599, allocations: 0 / 0.6706 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.003092/0.163, allocations: 1.327 MB / 0.6719 GB, free: 14.62 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)