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.008835/0.008835, allocations: 171.2 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7988/0.7988, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.0008395/0.0008393, allocations: 102.9 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4043, allocations: 82.32 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.5368, allocations: 110.9 MB / 0.7578 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.537, allocations: 83.94 kB / 0.7579 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003489/0.5405, allocations: 1.219 MB / 0.7591 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.356e-06/0.5406, allocations: 0 / 0.7591 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5406, allocations: 0 / 0.7591 GB, free: 3.758 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.0005054/0.5411, allocations: 359.3 kB / 0.7594 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.5412, allocations: 12.03 kB / 0.7594 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.5412, allocations: 7.906 kB / 0.7594 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.5414, allocations: 178.9 kB / 0.7596 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.5417, allocations: 281 kB / 0.7599 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5417, allocations: 0 / 0.7599 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.542, allocations: 77.62 kB / 0.76 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.542, allocations: 0 / 0.76 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.542, allocations: 4 kB / 0.76 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.542, allocations: 4 kB / 0.76 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.5424, allocations: 131.8 kB / 0.7601 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.5426, allocations: 185.5 kB / 0.7603 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.5429, allocations: 98.45 kB / 0.7604 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.5429, allocations: 4 kB / 0.7604 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.543, allocations: 30.56 kB / 0.7604 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.543, allocations: 0 / 0.7604 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0005219/0.5435, allocations: 149.8 kB / 0.7605 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5436, allocations: 59.34 kB / 0.7606 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.5436, allocations: 92.94 kB / 0.7607 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5437, allocations: 25.7 kB / 0.7607 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.5437, allocations: 80.33 kB / 0.7608 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.5438, allocations: 31.55 kB / 0.7608 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.5438, allocations: 4 kB / 0.7608 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.544, allocations: 314.8 kB / 0.7611 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.5441, allocations: 31.97 kB / 0.7611 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.5442, allocations: 32.41 kB / 0.7612 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.5444, allocations: 40.14 kB / 0.7612 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5444, allocations: 0 / 0.7612 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003197/0.5447, allocations: 117.4 kB / 0.7613 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.5447, allocations: 11.98 kB / 0.7613 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5448, allocations: 0 / 0.7613 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5448, allocations: 0 / 0.7613 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.545, allocations: 23.92 kB / 0.7614 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.545, allocations: 7.984 kB / 0.7614 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.545, allocations: 7.984 kB / 0.7614 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.5451, allocations: 0 / 0.7614 GB, free: 1.129 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 0.0001199/0.5452, allocations: 117.8 kB / 0.7615 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.5452, allocations: 15.84 kB / 0.7615 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.5453, allocations: 11.97 kB / 0.7615 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5453, allocations: 0 / 0.7615 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5453, allocations: 0 / 0.7615 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5453, allocations: 4 kB / 0.7615 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.5455, allocations: 173.6 kB / 0.7617 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5455, allocations: 0 / 0.7617 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.5456, allocations: 31.91 kB / 0.7617 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5457, allocations: 7.953 kB / 0.7617 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5457, allocations: 4 kB / 0.7617 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5457, allocations: 4 kB / 0.7617 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5457, allocations: 0 / 0.7617 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.5461, allocations: 144.9 kB / 0.7619 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.5461, allocations: 81.05 kB / 0.7619 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.5461, allocations: 7.953 kB / 0.762 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.5462, allocations: 8 kB / 0.762 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.5463, allocations: 11.97 kB / 0.762 GB, free: 428 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5463, allocations: 4 kB / 0.762 GB, free: 424 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.5463, allocations: 79.28 kB / 0.7621 GB, free: 344 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5463, allocations: 0 / 0.7621 GB, free: 344 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002546/0.5466, allocations: 27.98 kB / 0.7621 GB, free: 316 kB / 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.000288/0.5469, allocations: 131 kB / 0.7622 GB, free: 176 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.5472, allocations: 79.94 kB / 0.7623 GB, free: 96 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5472, allocations: 4 kB / 0.7623 GB, free: 92 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.5474, allocations: 47.91 kB / 0.7623 GB, free: 44 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.5475, allocations: 11.94 kB / 0.7623 GB, free: 32 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.548, allocations: 158.7 kB / 0.7625 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5484, allocations: 0.6887 MB / 0.7632 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.5485, allocations: 35.97 kB / 0.7632 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.5486, allocations: 19.42 kB / 0.7632 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of SimCode: time 8.82e-07/0.5486, allocations: 4 kB / 0.7632 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.00358/0.5522, allocations: 0.9137 MB / 0.7641 GB, free: 14.16 MB / 0.5417 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)