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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.774/0.774, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.601/1.601, allocations: 221.5 MB / 395.5 MB, free: 10.72 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.00109/0.00109, allocations: 93.02 kB / 478.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.206e-05, allocations: 8 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.5295, allocations: 82.3 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.6819, allocations: 110.2 MB / 0.7415 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.6823, allocations: 75.94 kB / 0.7415 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003599/0.6859, allocations: 1.212 MB / 0.7427 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6859, allocations: 0 / 0.7427 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6859, allocations: 7.938 kB / 0.7427 GB, free: 11.23 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.0004639/0.6864, allocations: 354.4 kB / 0.7431 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.6865, allocations: 12.03 kB / 0.7431 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.6865, allocations: 11.91 kB / 0.7431 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.6867, allocations: 163 kB / 0.7432 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.687, allocations: 277 kB / 0.7435 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.687, allocations: 4 kB / 0.7435 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002219/0.6872, allocations: 119.8 kB / 0.7436 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.6874, allocations: 65.58 kB / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6874, allocations: 0 / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.6874, allocations: 0 / 0.7437 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6874, allocations: 4 kB / 0.7437 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.6876, allocations: 158.1 kB / 0.7438 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.6878, allocations: 78.52 kB / 0.7439 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.6878, allocations: 32.84 kB / 0.7439 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.6879, allocations: 0 / 0.7439 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.6879, allocations: 34.56 kB / 0.744 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.6879, allocations: 0 / 0.744 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001433/0.6893, allocations: 217.5 kB / 0.7442 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.6894, allocations: 55.41 kB / 0.7442 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.447e-05/0.6894, allocations: 85 kB / 0.7443 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.6894, allocations: 25.7 kB / 0.7443 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.6895, allocations: 80.33 kB / 0.7444 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.6895, allocations: 31.55 kB / 0.7445 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6896, allocations: 0 / 0.7445 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6897, allocations: 318.8 kB / 0.7448 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.6897, allocations: 19.98 kB / 0.7448 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.6897, allocations: 27.98 kB / 0.7448 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.6909, allocations: 139.8 kB / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6909, allocations: 0 / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001257/0.6922, allocations: 205.4 kB / 0.7451 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6922, allocations: 11.95 kB / 0.7451 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6922, allocations: 0 / 0.7451 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6923, allocations: 0 / 0.7451 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6924, allocations: 23.92 kB / 0.7452 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6924, allocations: 4 kB / 0.7452 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.6925, allocations: 7.984 kB / 0.7452 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.6925, allocations: 4 kB / 0.7452 GB, free: 8.453 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 8.703e-05/0.6926, allocations: 105 kB / 0.7453 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.6927, allocations: 7.891 kB / 0.7453 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.6927, allocations: 20.3 kB / 0.7453 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6927, allocations: 4 kB / 0.7453 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6927, allocations: 0 / 0.7453 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.6927, allocations: 3.984 kB / 0.7453 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.6929, allocations: 154.2 kB / 0.7455 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6929, allocations: 0 / 0.7455 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.693, allocations: 31.91 kB / 0.7455 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.693, allocations: 0 / 0.7455 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6931, allocations: 4 kB / 0.7455 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6931, allocations: 0 / 0.7455 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-05/0.6931, allocations: 11.92 kB / 0.7455 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.6944, allocations: 232.8 kB / 0.7457 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.6944, allocations: 81.05 kB / 0.7458 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.6944, allocations: 0 / 0.7458 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.6945, allocations: 8 kB / 0.7458 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.6946, allocations: 15.92 kB / 0.7458 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.6946, allocations: 11.94 kB / 0.7458 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.6946, allocations: 75.28 kB / 0.7459 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6946, allocations: 0 / 0.7459 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002276/0.6949, allocations: 27.98 kB / 0.7459 GB, free: 7.594 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.0002139/0.6951, allocations: 119.2 kB / 0.7461 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.6952, allocations: 63.91 kB / 0.7461 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6952, allocations: 4 kB / 0.7461 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.6953, allocations: 39.92 kB / 0.7462 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.446e-05/0.6954, allocations: 5.875 kB / 0.7462 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.6957, allocations: 100.9 kB / 0.7463 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.696, allocations: 0.6852 MB / 0.7469 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.6961, allocations: 39.95 kB / 0.747 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.6961, allocations: 19.42 kB / 0.747 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6961, allocations: 0 / 0.747 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of Templates: time 0.002903/0.6991, allocations: 0.9041 MB / 0.7479 GB, free: 5.566 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (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)