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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 170.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8202/0.8202, allocations: 130.7 MB / 138.7 MB, free: 3.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009689, allocations: 96.62 kB / 473.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.201e-05, allocations: 8 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4309, allocations: 81.58 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.5676, allocations: 110 MB / 0.7356 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5679, allocations: 75.95 kB / 0.7356 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003572/0.5715, allocations: 1.219 MB / 0.7368 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5715, allocations: 4 kB / 0.7368 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.5715, allocations: 0 / 0.7368 GB, free: 15.5 MB / 0.5261 GB 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.0003727/0.5719, allocations: 346.5 kB / 0.7372 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5719, allocations: 8.031 kB / 0.7372 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.572, allocations: 11.91 kB / 0.7372 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.5721, allocations: 171 kB / 0.7373 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.5723, allocations: 281 kB / 0.7376 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.5724, allocations: 4 kB / 0.7376 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001816/0.5726, allocations: 119.8 kB / 0.7377 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.5727, allocations: 62.97 kB / 0.7378 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5727, allocations: 3.984 kB / 0.7378 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5727, allocations: 3.938 kB / 0.7378 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5727, allocations: 4 kB / 0.7378 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.5729, allocations: 154.1 kB / 0.7379 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.573, allocations: 74.48 kB / 0.738 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.5731, allocations: 36.84 kB / 0.7381 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5731, allocations: 4 kB / 0.7381 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.5731, allocations: 34.56 kB / 0.7381 GB, free: 14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.5732, allocations: 0 / 0.7381 GB, free: 14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001332/0.5745, allocations: 205.7 kB / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.5745, allocations: 55.34 kB / 0.7383 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.892e-05/0.5746, allocations: 85 kB / 0.7384 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.5746, allocations: 29.7 kB / 0.7385 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.5746, allocations: 80.33 kB / 0.7385 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.5747, allocations: 31.55 kB / 0.7386 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5747, allocations: 3.938 kB / 0.7386 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.5748, allocations: 314.8 kB / 0.7389 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.5748, allocations: 23.98 kB / 0.7389 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.5749, allocations: 25.95 kB / 0.7389 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.576, allocations: 135.8 kB / 0.739 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.576, allocations: 0 / 0.739 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001243/0.5773, allocations: 213.3 kB / 0.7392 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5773, allocations: 4 kB / 0.7392 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5773, allocations: 0.5469 kB / 0.7392 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5774, allocations: 3.984 kB / 0.7392 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.5776, allocations: 27.98 kB / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5776, allocations: 0 / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.5776, allocations: 7.938 kB / 0.7393 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.5777, allocations: 3.984 kB / 0.7393 GB, free: 12.72 MB / 0.5261 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 () * 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.355e-05/0.5777, allocations: 106.6 kB / 0.7394 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.5778, allocations: 11.86 kB / 0.7394 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.5778, allocations: 8.406 kB / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5778, allocations: 4 kB / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5778, allocations: 0 / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.5778, allocations: 0 / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.578, allocations: 154.7 kB / 0.7396 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.578, allocations: 0 / 0.7396 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.5781, allocations: 23.97 kB / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.5781, allocations: 10.62 kB / 0.7396 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5781, allocations: 0 / 0.7396 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.5781, allocations: 3.953 kB / 0.7396 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5781, allocations: 4 kB / 0.7396 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.5794, allocations: 245.1 kB / 0.7398 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.5794, allocations: 85.03 kB / 0.7399 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5795, allocations: 0 / 0.7399 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.5795, allocations: 4 kB / 0.7399 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.5796, allocations: 15.92 kB / 0.7399 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5796, allocations: 4 kB / 0.7399 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.5797, allocations: 79.28 kB / 0.74 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5797, allocations: 0 / 0.74 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002226/0.5799, allocations: 24 kB / 0.74 GB, free: 11.88 MB / 0.5261 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 () * 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.0002199/0.5801, allocations: 127.1 kB / 0.7402 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.5803, allocations: 59.97 kB / 0.7402 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5803, allocations: 0 / 0.7402 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.5803, allocations: 43.91 kB / 0.7403 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.5805, allocations: 13.39 kB / 0.7403 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.5807, allocations: 91.92 kB / 0.7404 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.581, allocations: 0.6924 MB / 0.741 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.5811, allocations: 39.95 kB / 0.7411 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.5812, allocations: 15.42 kB / 0.7411 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5812, allocations: 0 / 0.7411 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.00305/0.5842, allocations: 0.8946 MB / 0.742 GB, free: 9.852 MB / 0.5261 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)