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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001101/0.0011, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.00111/0.00111, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8419/0.8419, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3588, allocations: 80.2 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001778/0.3606, allocations: 0.5789 MB / 0.5821 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.361, allocations: 103.3 kB / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.361, allocations: 3.469 kB / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.3611, allocations: 0 / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.96e-06/0.3611, allocations: 0 / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3614, allocations: 46.41 kB / 0.5822 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3616, allocations: 58.56 kB / 0.5823 GB, free: 27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.3616, allocations: 2.781 kB / 0.5823 GB, free: 27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.3617, allocations: 24.5 kB / 0.5823 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.3617, allocations: 26.41 kB / 0.5823 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3617, allocations: 2.688 kB / 0.5823 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3618, allocations: 54.88 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.3619, allocations: 16.55 kB / 0.5824 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.3619, allocations: 18.42 kB / 0.5824 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.362, allocations: 74.72 kB / 0.5825 GB, free: 26.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3621, allocations: 0.6875 kB / 0.5825 GB, free: 26.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3621, allocations: 1.125 kB / 0.5825 GB, free: 26.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3621, allocations: 1.719 kB / 0.5825 GB, free: 26.87 MB / 446.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.0004246/0.3625, allocations: 375.7 kB / 0.5828 GB, free: 26.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3625, allocations: 9.25 kB / 0.5828 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3626, allocations: 14.56 kB / 0.5829 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.468e-05/0.3627, allocations: 167.3 kB / 0.583 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.3629, allocations: 284.4 kB / 0.5833 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3629, allocations: 7.594 kB / 0.5833 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3631, allocations: 79.09 kB / 0.5834 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3631, allocations: 3.938 kB / 0.5834 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3631, allocations: 1.25 kB / 0.5834 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3632, allocations: 2.094 kB / 0.5834 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.3635, allocations: 131.9 kB / 0.5835 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.3636, allocations: 184.5 kB / 0.5837 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.3639, allocations: 96.11 kB / 0.5838 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.364, allocations: 46.27 kB / 0.5838 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.364, allocations: 7.875 kB / 0.5838 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3641, allocations: 32.19 kB / 0.5839 GB, free: 25.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3641, allocations: 3.938 kB / 0.5839 GB, free: 25.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004548/0.3645, allocations: 147.9 kB / 0.584 GB, free: 25.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3646, allocations: 53.97 kB / 0.5841 GB, free: 25.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.956e-05/0.3646, allocations: 93.86 kB / 0.5841 GB, free: 25.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.3646, allocations: 27.11 kB / 0.5842 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.3646, allocations: 81.7 kB / 0.5842 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.3647, allocations: 35.92 kB / 0.5843 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3647, allocations: 29.92 kB / 0.5843 GB, free: 25.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.3648, allocations: 318.8 kB / 0.5846 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3649, allocations: 30.05 kB / 0.5846 GB, free: 24.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.365, allocations: 35.53 kB / 0.5847 GB, free: 24.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3653, allocations: 78.38 kB / 0.5848 GB, free: 24.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3653, allocations: 0 / 0.5848 GB, free: 24.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002912/0.3656, allocations: 115.8 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3656, allocations: 9.031 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3656, allocations: 3.938 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3656, allocations: 1.156 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3658, allocations: 26.66 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3658, allocations: 1.062 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.3658, allocations: 8.406 kB / 0.5849 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3659, allocations: 6.734 kB / 0.5849 GB, free: 24.6 MB / 446.1 MB 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 5.621e-05/0.3659, allocations: 114.8 kB / 0.585 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.3659, allocations: 7.281 kB / 0.585 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.366, allocations: 12.84 kB / 0.585 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.366, allocations: 1.312 kB / 0.585 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.366, allocations: 0 / 0.585 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.366, allocations: 10.39 kB / 0.5851 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.3661, allocations: 178.5 kB / 0.5852 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3661, allocations: 1.969 kB / 0.5852 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3662, allocations: 20.73 kB / 0.5852 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3662, allocations: 7.594 kB / 0.5853 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3663, allocations: 9.422 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3663, allocations: 1.375 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3663, allocations: 3.984 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.3666, allocations: 150.2 kB / 0.5854 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.3666, allocations: 81.09 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3666, allocations: 7.938 kB / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.3667, allocations: 9.719 kB / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3667, allocations: 11.08 kB / 0.5855 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.3667, allocations: 7.984 kB / 0.5855 GB, free: 24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.212e-05/0.3667, allocations: 81.72 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3668, allocations: 0 / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.367, allocations: 14.25 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB 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.0001644/0.3671, allocations: 120.2 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.3675, allocations: 89.78 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3675, allocations: 0.5 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.3676, allocations: 46.5 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3678, allocations: 6.562 kB / 0.5859 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.3681, allocations: 162.8 kB / 0.586 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3683, allocations: 0.6874 MB / 0.5867 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.3684, allocations: 42.02 kB / 0.5867 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3685, allocations: 17.64 kB / 0.5868 GB, free: 22.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3685, allocations: 0 / 0.5868 GB, free: 22.9 MB / 446.1 MB Notification: Performance of Templates: time 0.003716/0.3722, allocations: 1.01 MB / 0.5877 GB, free: 22.43 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)