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.008167/0.008167, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.002133/0.002133, allocations: 192 kB / 16.67 MB, free: 5.953 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 / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8638/0.8638, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 71.62 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1556, allocations: 80.93 MB / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002626/0.1582, allocations: 1.514 MB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005086/0.1588, allocations: 180.2 kB / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.1588, allocations: 0 / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.1589, allocations: 0 / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.233e-05/0.1589, allocations: 7.938 kB / 0.6663 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1593, allocations: 51.81 kB / 0.6664 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.1594, allocations: 35.97 kB / 0.6664 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.1595, allocations: 16 kB / 0.6664 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.1596, allocations: 19.91 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.1596, allocations: 15.92 kB / 0.6664 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1596, allocations: 7.938 kB / 0.6665 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1597, allocations: 47.95 kB / 0.6665 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1598, allocations: 7.984 kB / 0.6665 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1598, allocations: 15.88 kB / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.16, allocations: 71.78 kB / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.16, allocations: 0 / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.16, allocations: 4 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.16, allocations: 0 / 0.6666 GB, free: 3.758 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.0004336/0.1604, allocations: 355.3 kB / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1605, allocations: 9.109 kB / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1605, allocations: 12.89 kB / 0.667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1606, allocations: 164.3 kB / 0.6671 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1606, allocations: 4.375 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.1606, allocations: 4.312 kB / 0.6671 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1608, allocations: 74.16 kB / 0.6672 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.1609, allocations: 192 / 0.6672 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1609, allocations: 3.938 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1609, allocations: 0 / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1611, allocations: 47.94 kB / 0.6672 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1615, allocations: 288.7 kB / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.1619, allocations: 62.55 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.162, allocations: 24.83 kB / 0.6676 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.1622, allocations: 166.2 kB / 0.6678 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1622, allocations: 34.56 kB / 0.6678 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1622, allocations: 0 / 0.6678 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004027/0.1626, allocations: 101.6 kB / 0.6679 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1627, allocations: 51.41 kB / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1628, allocations: 109.8 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1629, allocations: 29.7 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.1629, allocations: 88.09 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.1629, allocations: 3.953 kB / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.163, allocations: 25.7 kB / 0.6682 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1631, allocations: 318.8 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.1632, allocations: 15.98 kB / 0.6685 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.1633, allocations: 24.16 kB / 0.6685 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1634, allocations: 48.89 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1635, allocations: 0 / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/0.1637, allocations: 77.66 kB / 0.6686 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1637, allocations: 9.875 kB / 0.6687 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1637, allocations: 3.938 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1637, allocations: 0 / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.1638, allocations: 11.98 kB / 0.6687 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1638, allocations: 0 / 0.6687 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.1639, allocations: 7.984 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1639, allocations: 0 / 0.6687 GB, free: 1.363 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 6.938e-05/0.164, allocations: 117.8 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.164, allocations: 3.953 kB / 0.6688 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.1643, allocations: 89.48 kB / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1643, allocations: 0 / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1643, allocations: 0 / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1643, allocations: 0 / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.1645, allocations: 169.6 kB / 0.669 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1645, allocations: 4 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.1645, allocations: 19.86 kB / 0.6691 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1646, allocations: 0 / 0.6691 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1646, allocations: 3.984 kB / 0.6691 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1646, allocations: 0 / 0.6691 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1646, allocations: 4 kB / 0.6691 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1648, allocations: 171.5 kB / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.1649, allocations: 81.06 kB / 0.6693 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.1649, allocations: 0 / 0.6693 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.165, allocations: 7.984 kB / 0.6693 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.165, allocations: 11.98 kB / 0.6693 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1651, allocations: 4 kB / 0.6693 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.1651, allocations: 87.28 kB / 0.6694 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1651, allocations: 0 / 0.6694 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.1654, allocations: 19.92 kB / 0.6694 GB, free: 492 kB / 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.0001854/0.1655, allocations: 124.6 kB / 0.6696 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1658, allocations: 43.94 kB / 0.6696 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.1658, allocations: 0 / 0.6696 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1659, allocations: 23.98 kB / 0.6696 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1662, allocations: 11.94 kB / 0.6696 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.1666, allocations: 132.2 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1668, allocations: 0.6848 MB / 0.6704 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.1669, allocations: 0 / 0.6704 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.1669, allocations: 15.44 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1669, allocations: 3.938 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.003383/0.1703, allocations: 0.9773 MB / 0.6714 GB, free: 14.42 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)