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.001171/0.001171, allocations: 106.8 kB / 16.41 MB, free: 6.453 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.001245/0.001245, allocations: 187 kB / 17.34 MB, free: 5.719 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8084/0.8084, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.12 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002792/0.1496, allocations: 1.521 MB / 0.6668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.1501, allocations: 176.2 kB / 0.667 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.1502, allocations: 0 / 0.667 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.1502, allocations: 11.92 kB / 0.667 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.1503, allocations: 3.938 kB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1506, allocations: 51.88 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.1507, allocations: 31.92 kB / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.1508, allocations: 16 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.1509, allocations: 19.86 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.1509, allocations: 19.91 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.151, allocations: 4 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1511, allocations: 47.95 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.1511, allocations: 4 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1512, allocations: 27.84 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1513, allocations: 63.84 kB / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1513, allocations: 0 / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1513, allocations: 0 / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1513, allocations: 4 kB / 0.6673 GB, free: 3.793 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.0004822/0.1518, allocations: 359.3 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1519, allocations: 9.109 kB / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1519, allocations: 4.938 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.152, allocations: 164.4 kB / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1521, allocations: 4.375 kB / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1521, allocations: 8.297 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1523, allocations: 74.17 kB / 0.6679 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1523, allocations: 192 / 0.6679 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1523, allocations: 3.938 kB / 0.6679 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1523, allocations: 0 / 0.6679 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.1525, allocations: 43.95 kB / 0.6679 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.153, allocations: 284.7 kB / 0.6682 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.1533, allocations: 66.47 kB / 0.6682 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1534, allocations: 24.91 kB / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.1537, allocations: 166.3 kB / 0.6684 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1537, allocations: 38.56 kB / 0.6685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1537, allocations: 0 / 0.6685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000413/0.1541, allocations: 101.5 kB / 0.6685 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1542, allocations: 51.41 kB / 0.6686 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.1543, allocations: 109.8 kB / 0.6687 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1543, allocations: 29.7 kB / 0.6687 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.1544, allocations: 80.14 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1544, allocations: 11.89 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1544, allocations: 17.72 kB / 0.6688 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1545, allocations: 322.8 kB / 0.6691 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.1546, allocations: 15.97 kB / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/0.1547, allocations: 19.98 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1549, allocations: 44.81 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.155, allocations: 4 kB / 0.6692 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002225/0.1552, allocations: 77.59 kB / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1552, allocations: 8 kB / 0.6693 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1552, allocations: 0 / 0.6693 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1552, allocations: 3.938 kB / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.1553, allocations: 11.98 kB / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1553, allocations: 0 / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.1554, allocations: 7.984 kB / 0.6693 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1554, allocations: 0 / 0.6693 GB, free: 1.406 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 8.729e-05/0.1555, allocations: 121.8 kB / 0.6694 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1555, allocations: 3.906 kB / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1558, allocations: 85.81 kB / 0.6695 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1558, allocations: 3.938 kB / 0.6695 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1558, allocations: 0 / 0.6695 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1558, allocations: 8.016 kB / 0.6695 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.156, allocations: 169.6 kB / 0.6697 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.156, allocations: 4 kB / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.1561, allocations: 11.98 kB / 0.6697 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1561, allocations: 0 / 0.6697 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1561, allocations: 0 / 0.6697 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1562, allocations: 4 kB / 0.6697 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1562, allocations: 0 / 0.6697 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1564, allocations: 175.5 kB / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1565, allocations: 88.94 kB / 0.67 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1565, allocations: 0 / 0.67 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.1566, allocations: 8 kB / 0.67 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.1567, allocations: 11.92 kB / 0.67 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1567, allocations: 0 / 0.67 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.1567, allocations: 91.27 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 0 / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002562/0.157, allocations: 12 kB / 0.6701 GB, free: 0.5195 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.0002188/0.1572, allocations: 124.6 kB / 0.6702 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1575, allocations: 39.95 kB / 0.6702 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1575, allocations: 0 / 0.6702 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.1576, allocations: 23.98 kB / 0.6703 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1579, allocations: 15.92 kB / 0.6703 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.1582, allocations: 151.1 kB / 0.6704 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1585, allocations: 0.6768 MB / 0.6711 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.1586, allocations: 15.44 kB / 0.6711 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1586, allocations: 0 / 0.6711 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.002483/0.1611, allocations: 0.9846 MB / 0.6721 GB, free: 14.43 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)