Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007434/0.007434, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7465/0.7465, 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.401/1.401, 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.000875/0.0008751, allocations: 88.73 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4123, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5553, allocations: 111.7 MB / 0.7586 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.5556, allocations: 71.95 kB / 0.7586 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002998/0.5586, allocations: 1.06 MB / 0.7597 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5586, allocations: 0 / 0.7597 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.5586, allocations: 4 kB / 0.7597 GB, free: 3.137 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.0003841/0.559, allocations: 356.2 kB / 0.76 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5591, allocations: 8.031 kB / 0.76 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.5591, allocations: 4 kB / 0.76 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5592, allocations: 170.9 kB / 0.7602 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.5592, allocations: 11.94 kB / 0.7602 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.5593, allocations: 0 / 0.7602 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.5595, allocations: 69.67 kB / 0.7603 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5595, allocations: 3.984 kB / 0.7603 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5595, allocations: 0 / 0.7603 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5595, allocations: 0 / 0.7603 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.5597, allocations: 63.94 kB / 0.7603 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.5601, allocations: 272.8 kB / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.5604, allocations: 70.59 kB / 0.7607 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.5607, allocations: 397.6 kB / 0.761 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.5607, allocations: 34.56 kB / 0.7611 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5607, allocations: 0 / 0.7611 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003805/0.5611, allocations: 117.5 kB / 0.7612 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.5611, allocations: 55.41 kB / 0.7612 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.5612, allocations: 101 kB / 0.7613 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.5612, allocations: 29.64 kB / 0.7614 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.5613, allocations: 84.14 kB / 0.7614 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.5613, allocations: 7.906 kB / 0.7615 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.5613, allocations: 4 kB / 0.7615 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.5614, allocations: 318.8 kB / 0.7618 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.321e-05/0.5615, allocations: 23.97 kB / 0.7618 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.5616, allocations: 23.98 kB / 0.7618 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.5617, allocations: 31.97 kB / 0.7618 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5617, allocations: 0 / 0.7618 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002175/0.5619, allocations: 85.59 kB / 0.7619 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.562, allocations: 4 kB / 0.7619 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.562, allocations: 4 kB / 0.7619 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.562, allocations: 0 / 0.7619 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.5621, allocations: 15.98 kB / 0.7619 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5621, allocations: 0 / 0.7619 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.5622, allocations: 15.89 kB / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.5622, allocations: 0 / 0.762 GB, free: 0.5 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 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked 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.144e-05/0.5623, allocations: 125.7 kB / 0.7621 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.5623, allocations: 0 / 0.7621 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.5626, allocations: 89.55 kB / 0.7622 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5626, allocations: 0 / 0.7622 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5626, allocations: 3.938 kB / 0.7622 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5626, allocations: 8 kB / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.5627, allocations: 173.5 kB / 0.7623 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5628, allocations: 7.922 kB / 0.7623 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.5628, allocations: 12 kB / 0.7624 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5629, allocations: 0 / 0.7624 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5629, allocations: 3.984 kB / 0.7624 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5629, allocations: 0 / 0.7624 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5629, allocations: 4 kB / 0.7624 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.5631, allocations: 183.4 kB / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.5632, allocations: 77.11 kB / 0.7626 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5632, allocations: 7.984 kB / 0.7626 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.5633, allocations: 12.42 kB / 0.7626 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.5634, allocations: 7.984 kB / 0.7626 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.5634, allocations: 0 / 0.7626 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.5634, allocations: 91.27 kB / 0.7627 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5634, allocations: 3.938 kB / 0.7627 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002128/0.5636, allocations: 12 kB / 0.7627 GB, free: 15.59 MB / 0.5417 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 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked 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.0001747/0.5638, allocations: 115.3 kB / 0.7629 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.5641, allocations: 55.95 kB / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5641, allocations: 0 / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.5642, allocations: 31.97 kB / 0.7629 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.5644, allocations: 11.89 kB / 0.763 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.5648, allocations: 132.6 kB / 0.7631 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5651, allocations: 0.6848 MB / 0.7637 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.5651, allocations: 4 kB / 0.7637 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.5651, allocations: 7.438 kB / 0.7638 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.5651, allocations: 4 kB / 0.7638 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.002918/0.5681, allocations: 0.6262 MB / 0.7644 GB, free: 13.86 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)