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.005226/0.005226, allocations: 170.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7608/0.7608, allocations: 132.3 MB / 148.1 MB, free: 204 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 403.2 MB, free: 6.738 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.0008962/0.0008963, allocations: 92.23 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003319, allocations: 8 kB / 0.5641 GB, free: 2.109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4033, allocations: 81.58 MB / 0.6438 GB, free: 39.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.5516, allocations: 110.7 MB / 0.7519 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5518, allocations: 83.94 kB / 0.7519 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00362/0.5555, allocations: 1.215 MB / 0.7531 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5555, allocations: 0 / 0.7531 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5555, allocations: 4 kB / 0.7531 GB, free: 7.977 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.0004177/0.556, allocations: 363.3 kB / 0.7535 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.556, allocations: 11.97 kB / 0.7535 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.5561, allocations: 7.906 kB / 0.7535 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.5562, allocations: 171 kB / 0.7537 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.5564, allocations: 281 kB / 0.7539 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.5565, allocations: 4 kB / 0.7539 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.5567, allocations: 77.64 kB / 0.754 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5567, allocations: 0 / 0.754 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.5568, allocations: 3.984 kB / 0.754 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5568, allocations: 4 kB / 0.754 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.5571, allocations: 139.7 kB / 0.7541 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.5573, allocations: 181.5 kB / 0.7543 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.5576, allocations: 94.47 kB / 0.7544 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.5576, allocations: 3.984 kB / 0.7544 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5577, allocations: 30.56 kB / 0.7544 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.5577, allocations: 4 kB / 0.7544 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004962/0.5582, allocations: 153.8 kB / 0.7546 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5582, allocations: 55.34 kB / 0.7546 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.275e-05/0.5583, allocations: 85 kB / 0.7547 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.5583, allocations: 29.69 kB / 0.7548 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.5583, allocations: 80.33 kB / 0.7548 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.5584, allocations: 31.56 kB / 0.7549 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5584, allocations: 4 kB / 0.7549 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5585, allocations: 318.8 kB / 0.7552 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5587, allocations: 31.98 kB / 0.7552 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.5588, allocations: 27.97 kB / 0.7552 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5589, allocations: 35.97 kB / 0.7553 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5589, allocations: 3.953 kB / 0.7553 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003136/0.5592, allocations: 117.5 kB / 0.7554 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5593, allocations: 5.875 kB / 0.7554 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5593, allocations: 0 / 0.7554 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5593, allocations: 4 kB / 0.7554 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5595, allocations: 27.91 kB / 0.7554 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5595, allocations: 4 kB / 0.7554 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.5596, allocations: 4 kB / 0.7554 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.5596, allocations: 4 kB / 0.7554 GB, free: 5.352 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/0.5597, allocations: 117.8 kB / 0.7555 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.5597, allocations: 7.859 kB / 0.7555 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.5597, allocations: 15.97 kB / 0.7556 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5597, allocations: 0 / 0.7556 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5598, allocations: 3.938 kB / 0.7556 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.5598, allocations: 4 kB / 0.7556 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5599, allocations: 181.6 kB / 0.7557 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5599, allocations: 3.984 kB / 0.7557 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.56, allocations: 27.88 kB / 0.7558 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5601, allocations: 0 / 0.7558 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5601, allocations: 11.98 kB / 0.7558 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5601, allocations: 0 / 0.7558 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5601, allocations: 0 / 0.7558 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.5604, allocations: 145.6 kB / 0.7559 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.5605, allocations: 85.05 kB / 0.756 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.5605, allocations: 7.953 kB / 0.756 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.5605, allocations: 7.984 kB / 0.756 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.5606, allocations: 7.984 kB / 0.756 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.5606, allocations: 11.98 kB / 0.756 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.5607, allocations: 75.28 kB / 0.7561 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5607, allocations: 0 / 0.7561 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000226/0.5609, allocations: 27.94 kB / 0.7561 GB, free: 4.523 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 () * 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 (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.0002336/0.5612, allocations: 127.2 kB / 0.7563 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.5615, allocations: 75.94 kB / 0.7563 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5615, allocations: 4 kB / 0.7563 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.5616, allocations: 51.84 kB / 0.7564 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.546e-05/0.5617, allocations: 7.984 kB / 0.7564 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.5621, allocations: 158.7 kB / 0.7565 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.5624, allocations: 0.6887 MB / 0.7572 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.5625, allocations: 39.95 kB / 0.7573 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.5626, allocations: 19.42 kB / 0.7573 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.5626, allocations: 0 / 0.7573 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of Templates: time 0.003077/0.5656, allocations: 0.9069 MB / 0.7582 GB, free: 2.391 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)