Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008585/0.0008585, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.0008736/0.0008736, allocations: 177.3 kB / 15.95 MB, free: 208 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.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8326/0.8326, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002877, allocations: 15.94 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0005807/0.1493, allocations: 299.1 kB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.1496, allocations: 95.77 kB / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.1496, allocations: 0 / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1496, allocations: 0 / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.1497, allocations: 4 kB / 0.5876 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1499, allocations: 35.83 kB / 0.5876 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.551e-05/0.15, allocations: 43.95 kB / 0.5877 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.15, allocations: 3.938 kB / 0.5877 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.15, allocations: 27.97 kB / 0.5877 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.1501, allocations: 23.97 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1501, allocations: 0 / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.1502, allocations: 39.95 kB / 0.5878 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.1502, allocations: 23.91 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1503, allocations: 29.7 kB / 0.5878 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.089e-05/0.1504, allocations: 47.92 kB / 0.5879 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1504, allocations: 0 / 0.5879 GB, free: 2.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1504, allocations: 0 / 0.5879 GB, free: 2.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.1504, allocations: 3.938 kB / 0.5879 GB, free: 2.477 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.0003837/0.1508, allocations: 359.3 kB / 0.5882 GB, free: 2.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1508, allocations: 8.031 kB / 0.5882 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1509, allocations: 8 kB / 0.5882 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.1509, allocations: 167.2 kB / 0.5884 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.1512, allocations: 281 kB / 0.5886 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1512, allocations: 4 kB / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1514, allocations: 81.58 kB / 0.5887 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.1514, allocations: 0 / 0.5887 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1514, allocations: 0 / 0.5887 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1514, allocations: 8 kB / 0.5887 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.1518, allocations: 135.8 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1519, allocations: 173.6 kB / 0.589 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1522, allocations: 106.5 kB / 0.5891 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1522, allocations: 0 / 0.5891 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1523, allocations: 38.56 kB / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.1523, allocations: 0 / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.000469/0.1527, allocations: 148 kB / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1528, allocations: 51.41 kB / 0.5894 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.766e-05/0.1528, allocations: 89.86 kB / 0.5894 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1528, allocations: 29.7 kB / 0.5895 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.543e-05/0.1529, allocations: 84.55 kB / 0.5896 GB, free: 492 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.1529, allocations: 39.44 kB / 0.5896 GB, free: 452 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1529, allocations: 3.938 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.153, allocations: 314.8 kB / 0.5899 GB, free: 124 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1532, allocations: 35.97 kB / 0.5899 GB, free: 88 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1533, allocations: 31.92 kB / 0.59 GB, free: 56 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1534, allocations: 35.97 kB / 0.59 GB, free: 20 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1534, allocations: 0 / 0.59 GB, free: 20 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000307/0.1537, allocations: 114.2 kB / 0.5901 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1538, allocations: 7.938 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1538, allocations: 4 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1538, allocations: 0 / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1539, allocations: 23.97 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1539, allocations: 4 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.154, allocations: 7.938 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.154, allocations: 15.92 kB / 0.5902 GB, free: 15.84 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.687e-05/0.1541, allocations: 113.8 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.1541, allocations: 11.86 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.1541, allocations: 7.969 kB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1541, allocations: 0 / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1542, allocations: 0 / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1542, allocations: 11.98 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1543, allocations: 173.7 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1543, allocations: 0 / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1544, allocations: 19.98 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1544, allocations: 7.953 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1545, allocations: 7.984 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1545, allocations: 0 / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1545, allocations: 0 / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1548, allocations: 152.6 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.1548, allocations: 85.09 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1548, allocations: 3.953 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.1549, allocations: 4 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.155, allocations: 15.97 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.155, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.06e-05/0.155, allocations: 75.28 kB / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.155, allocations: 0 / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000209/0.1552, allocations: 20 kB / 0.5908 GB, free: 15.04 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.0001711/0.1554, allocations: 123.2 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.1557, allocations: 87.81 kB / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1557, allocations: 4 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1559, allocations: 51.89 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.212e-05/0.1559, allocations: 4 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.1563, allocations: 162.7 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1565, allocations: 0.6887 MB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.1566, allocations: 39.95 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1567, allocations: 15.42 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1567, allocations: 0 / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002584/0.1593, allocations: 0.9363 MB / 0.5929 GB, free: 12.89 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: