Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 168.8 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.8169/0.8169, allocations: 130.7 MB / 138.7 MB, free: 3.602 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.54/1.54, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.001004/0.001004, allocations: 95.48 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.231e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4525, allocations: 81.58 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5913, allocations: 111 MB / 0.7366 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5916, allocations: 75.89 kB / 0.7366 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004027/0.5957, allocations: 1.34 MB / 0.7379 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5957, allocations: 0 / 0.7379 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5957, allocations: 0 / 0.7379 GB, free: 14.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003823/0.5961, allocations: 358.3 kB / 0.7383 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5961, allocations: 8.031 kB / 0.7383 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.5962, allocations: 7.938 kB / 0.7383 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.5963, allocations: 163 kB / 0.7385 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.5964, allocations: 4 kB / 0.7385 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.5964, allocations: 3.984 kB / 0.7385 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.117e-05/0.5965, allocations: 20 kB / 0.7385 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.5966, allocations: 45.69 kB / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.5966, allocations: 0 / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5966, allocations: 0 / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5966, allocations: 4 kB / 0.7385 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.597, allocations: 257.3 kB / 0.7388 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.5972, allocations: 38.56 kB / 0.7388 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.5973, allocations: 17 kB / 0.7388 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/0.5977, allocations: 417.6 kB / 0.7392 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5978, allocations: 30.56 kB / 0.7393 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 5.25e-06/0.5978, allocations: 3.984 kB / 0.7393 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000351/0.5981, allocations: 69.55 kB / 0.7393 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5982, allocations: 51.41 kB / 0.7394 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.5983, allocations: 97 kB / 0.7395 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5983, allocations: 26.73 kB / 0.7395 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.5984, allocations: 96.03 kB / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5984, allocations: 7.906 kB / 0.7396 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.5984, allocations: 0 / 0.7396 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5986, allocations: 314.8 kB / 0.7399 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.5986, allocations: 8 kB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.5986, allocations: 8 kB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.5988, allocations: 19.97 kB / 0.7399 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5988, allocations: 0 / 0.7399 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002133/0.599, allocations: 61.67 kB / 0.74 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.599, allocations: 4 kB / 0.74 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5991, allocations: 15.88 kB / 0.74 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5991, allocations: 0 / 0.74 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.5992, allocations: 11.98 kB / 0.74 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5992, allocations: 0 / 0.74 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.5993, allocations: 11.98 kB / 0.74 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5993, allocations: 0 / 0.74 GB, free: 11.91 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.909e-05/0.5994, allocations: 109.6 kB / 0.7401 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.5994, allocations: 7.906 kB / 0.7401 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.5997, allocations: 73.78 kB / 0.7402 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5997, allocations: 3.938 kB / 0.7402 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5997, allocations: 0 / 0.7402 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5997, allocations: 0 / 0.7402 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.5999, allocations: 146.2 kB / 0.7404 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5999, allocations: 0 / 0.7404 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.6, allocations: 11.94 kB / 0.7404 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6, allocations: 7.984 kB / 0.7404 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6, allocations: 4 kB / 0.7404 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6, allocations: 0 / 0.7404 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.6, allocations: 0 / 0.7404 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.6003, allocations: 155.5 kB / 0.7405 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.6003, allocations: 85.05 kB / 0.7406 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.6003, allocations: 0 / 0.7406 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.6004, allocations: 15.98 kB / 0.7406 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.6005, allocations: 7.984 kB / 0.7406 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.6005, allocations: 256 / 0.7406 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.442e-05/0.6005, allocations: 87.28 kB / 0.7407 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-07/0.6005, allocations: 0 / 0.7407 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002436/0.6008, allocations: 23.91 kB / 0.7407 GB, free: 11.1 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000195/0.601, allocations: 123.1 kB / 0.7409 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.839e-05/0.6011, allocations: 23.98 kB / 0.7409 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6011, allocations: 4 kB / 0.7409 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.6011, allocations: 8 kB / 0.7409 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.6013, allocations: 7.953 kB / 0.7409 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.6016, allocations: 68.41 kB / 0.741 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.6018, allocations: 0.6846 MB / 0.7416 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.6019, allocations: 4 kB / 0.7416 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.6019, allocations: 11.44 kB / 0.7416 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6019, allocations: 0 / 0.7416 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.002829/0.6047, allocations: 0.7776 MB / 0.7424 GB, free: 9.332 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)