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.0008288/0.0008289, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008313/0.0008314, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8234/0.8234, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 12 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 82.32 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0006344/0.1384, allocations: 303.1 kB / 0.5875 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002745/0.1386, allocations: 91.73 kB / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.1387, allocations: 0 / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.1387, allocations: 0 / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.178e-06/0.1387, allocations: 4 kB / 0.5876 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.139, allocations: 31.89 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.1391, allocations: 47.94 kB / 0.5877 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.1391, allocations: 3.984 kB / 0.5877 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.1391, allocations: 23.92 kB / 0.5877 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.1392, allocations: 23.97 kB / 0.5877 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1392, allocations: 4 kB / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.1393, allocations: 39.95 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.1394, allocations: 19.92 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.1394, allocations: 33.69 kB / 0.5878 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.246e-05/0.1395, allocations: 43.94 kB / 0.5879 GB, free: 2.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.1395, allocations: 0 / 0.5879 GB, free: 2.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1395, allocations: 0 / 0.5879 GB, free: 2.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.1395, allocations: 0 / 0.5879 GB, free: 2.461 MB / 494.1 MB 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.0004359/0.1399, allocations: 359.2 kB / 0.5882 GB, free: 2.062 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.14, allocations: 12.03 kB / 0.5882 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.14, allocations: 12 kB / 0.5882 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.1401, allocations: 175.2 kB / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.1404, allocations: 277 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.1404, allocations: 4 kB / 0.5887 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1406, allocations: 81.62 kB / 0.5887 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1406, allocations: 0 / 0.5887 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1406, allocations: 0 / 0.5887 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1406, allocations: 4 kB / 0.5887 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.141, allocations: 135.8 kB / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.1411, allocations: 173.6 kB / 0.589 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.1414, allocations: 106.5 kB / 0.5891 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1414, allocations: 3.984 kB / 0.5891 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1414, allocations: 38.56 kB / 0.5892 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1415, allocations: 0 / 0.5892 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004741/0.1419, allocations: 142.5 kB / 0.5893 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.142, allocations: 55.41 kB / 0.5894 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.388e-05/0.142, allocations: 93.8 kB / 0.5895 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.142, allocations: 29.7 kB / 0.5895 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.1421, allocations: 80.33 kB / 0.5896 GB, free: 464 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1421, allocations: 39.45 kB / 0.5896 GB, free: 424 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1421, allocations: 0 / 0.5896 GB, free: 424 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.1422, allocations: 315.1 kB / 0.5899 GB, free: 100 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1423, allocations: 35.91 kB / 0.5899 GB, free: 64 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1425, allocations: 39.8 kB / 0.59 GB, free: 28 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1426, allocations: 32.03 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1426, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002891/0.1429, allocations: 109.5 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1429, allocations: 7.938 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.143, allocations: 7.984 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.143, allocations: 0 / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1431, allocations: 27.86 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1431, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.1432, allocations: 11.94 kB / 0.5902 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1432, allocations: 11.98 kB / 0.5902 GB, free: 15.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.1433, allocations: 113.8 kB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1433, allocations: 11.86 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.1434, allocations: 11.95 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1434, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1434, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1434, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1435, allocations: 177.6 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1435, allocations: 4 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1436, allocations: 23.92 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1436, allocations: 11.94 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1437, allocations: 4 kB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1437, allocations: 0 / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1437, allocations: 0 / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.144, allocations: 140.9 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.144, allocations: 89.09 kB / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1441, allocations: 7.953 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.1441, allocations: 4 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.1442, allocations: 19.97 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1442, allocations: 4 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.226e-05/0.1442, allocations: 75.28 kB / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1442, allocations: 0 / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002119/0.1444, allocations: 20 kB / 0.5909 GB, free: 15.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.1446, allocations: 119.1 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.145, allocations: 87.88 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.145, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1451, allocations: 55.89 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.714e-05/0.1452, allocations: 4 kB / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.1455, allocations: 166.4 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.1457, allocations: 0.6888 MB / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.1459, allocations: 39.95 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.1459, allocations: 15.42 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1459, allocations: 0 / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.002579/0.1485, allocations: 0.9363 MB / 0.5929 GB, free: 12.86 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: