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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002932/0.002932, allocations: 181.7 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6762/0.6762, allocations: 130.6 MB / 138.5 MB, free: 2.328 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.436/1.436, allocations: 221.4 MB / 391.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009264, allocations: 94.09 kB / 473.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.076e-05, allocations: 2.562 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1547, allocations: 81.59 MB / 0.6276 GB, free: 18.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6548, allocations: 109.9 MB / 0.7349 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.655, allocations: 80.69 kB / 0.735 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.00347/0.6585, allocations: 0.9191 MB / 0.7359 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.6586, allocations: 0 / 0.7359 GB, free: 11.42 MB / 0.4948 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.0004668/0.659, allocations: 356.5 kB / 0.7362 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6591, allocations: 7.5 kB / 0.7362 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.6591, allocations: 11.47 kB / 0.7362 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.6592, allocations: 167.3 kB / 0.7364 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.6595, allocations: 278.2 kB / 0.7366 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.6596, allocations: 11.86 kB / 0.7367 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002418/0.6598, allocations: 119.3 kB / 0.7368 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.66, allocations: 68.67 kB / 0.7368 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.66, allocations: 0 / 0.7368 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.66, allocations: 0 / 0.7368 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.66, allocations: 0 / 0.7368 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.6602, allocations: 160.3 kB / 0.737 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.6603, allocations: 76.5 kB / 0.7371 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.6604, allocations: 38.56 kB / 0.7371 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.6604, allocations: 0 / 0.7371 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.6604, allocations: 35.95 kB / 0.7371 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 9.51e-07/0.6604, allocations: 336 / 0.7371 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0003645/0.6608, allocations: 99.53 kB / 0.7372 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.6608, allocations: 55.22 kB / 0.7373 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.6609, allocations: 85 kB / 0.7374 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.6609, allocations: 25.7 kB / 0.7374 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.661, allocations: 84.33 kB / 0.7375 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.661, allocations: 34.05 kB / 0.7375 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.661, allocations: 0 / 0.7375 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6612, allocations: 316.1 kB / 0.7378 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.6612, allocations: 25.16 kB / 0.7378 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.6612, allocations: 26.47 kB / 0.7379 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.6614, allocations: 32.06 kB / 0.7379 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.6614, allocations: 3.844 kB / 0.7379 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002716/0.6617, allocations: 93.81 kB / 0.738 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6617, allocations: 9.156 kB / 0.738 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6617, allocations: 0 / 0.738 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6617, allocations: 3.938 kB / 0.738 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.6619, allocations: 24.78 kB / 0.738 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6619, allocations: 0 / 0.738 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.662, allocations: 9.188 kB / 0.738 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.662, allocations: 2.719 kB / 0.738 GB, free: 25.57 MB / 0.5105 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.149e-05/0.6621, allocations: 108.8 kB / 0.7381 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.6621, allocations: 7.531 kB / 0.7381 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.6622, allocations: 11.09 kB / 0.7381 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6622, allocations: 4.938 kB / 0.7381 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6622, allocations: 0 / 0.7381 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6622, allocations: 0 / 0.7381 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6623, allocations: 159.1 kB / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6623, allocations: 0 / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.6625, allocations: 25.77 kB / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6625, allocations: 0 / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.6625, allocations: 5.25 kB / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6625, allocations: 0 / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6625, allocations: 4 kB / 0.7383 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002688/0.6628, allocations: 130.5 kB / 0.7385 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.6628, allocations: 89.41 kB / 0.7385 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.6629, allocations: 0.6562 kB / 0.7385 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.6629, allocations: 5.25 kB / 0.7386 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.663, allocations: 13.11 kB / 0.7386 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.663, allocations: 5.625 kB / 0.7386 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.17e-05/0.6631, allocations: 79.28 kB / 0.7386 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002284/0.6633, allocations: 24.77 kB / 0.7387 GB, free: 25.02 MB / 0.5105 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.0002313/0.6635, allocations: 122 kB / 0.7388 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.6637, allocations: 68.27 kB / 0.7388 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6637, allocations: 0 / 0.7388 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.6638, allocations: 47.47 kB / 0.7389 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.6639, allocations: 7.031 kB / 0.7389 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.6642, allocations: 107.6 kB / 0.739 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.6646, allocations: 0.707 MB / 0.7397 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.6646, allocations: 0 / 0.7397 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.00357/0.6682, allocations: 1.248 MB / 0.7409 GB, free: 24.02 MB / 0.5105 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)