Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7124/0.7124, allocations: 133.4 MB / 146.7 MB, free: 10.76 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.488/1.488, allocations: 221.3 MB / 400.4 MB, free: 5.871 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.0008681/0.0008682, allocations: 101.2 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.406e-05, allocations: 9.078 kB / 0.56 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1867, allocations: 82.31 MB / 0.6404 GB, free: 7.805 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6931/0.8799, allocations: 110.6 MB / 0.7484 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.8801, allocations: 76.89 kB / 0.7485 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002045/0.8822, allocations: 0.8206 MB / 0.7493 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8822, allocations: 0 / 0.7493 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.8822, allocations: 0 / 0.7493 GB, free: 27.79 MB / 0.5105 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.0002477/0.8824, allocations: 335.8 kB / 0.7496 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8825, allocations: 7.75 kB / 0.7496 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.8825, allocations: 7.719 kB / 0.7496 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.8826, allocations: 168.8 kB / 0.7498 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.8826, allocations: 0 / 0.7498 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.8827, allocations: 11.86 kB / 0.7498 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.8828, allocations: 68.05 kB / 0.7498 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8828, allocations: 0 / 0.7498 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8828, allocations: 0 / 0.7498 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.8828, allocations: 0 / 0.7498 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.883, allocations: 103.9 kB / 0.7499 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.8831, allocations: 171.6 kB / 0.7501 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.8833, allocations: 74.27 kB / 0.7502 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.8833, allocations: 37.75 kB / 0.7502 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.8836, allocations: 405.9 kB / 0.7506 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.8837, allocations: 36.5 kB / 0.7506 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.8837, allocations: 0 / 0.7506 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0001855/0.8839, allocations: 92.28 kB / 0.7507 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.8839, allocations: 51.41 kB / 0.7508 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.816e-05/0.8839, allocations: 94.97 kB / 0.7509 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.884, allocations: 25.7 kB / 0.7509 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.884, allocations: 84.33 kB / 0.751 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.884, allocations: 23 kB / 0.751 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.884, allocations: 0 / 0.751 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8842, allocations: 316.4 kB / 0.7513 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.8842, allocations: 21.64 kB / 0.7513 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.8842, allocations: 14.38 kB / 0.7513 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.8843, allocations: 32.17 kB / 0.7514 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-05/0.8843, allocations: 0 / 0.7514 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001261/0.8845, allocations: 98.02 kB / 0.7514 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.8845, allocations: 9.281 kB / 0.7515 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8845, allocations: 0 / 0.7515 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.8845, allocations: 0 / 0.7515 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.8846, allocations: 17.98 kB / 0.7515 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8846, allocations: 0 / 0.7515 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.8846, allocations: 11.12 kB / 0.7515 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.8846, allocations: 2.766 kB / 0.7515 GB, free: 25.76 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.208e-05/0.8847, allocations: 112.6 kB / 0.7516 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.8848, allocations: 11.89 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.885, allocations: 123.8 kB / 0.7517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.885, allocations: 3.844 kB / 0.7517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.885, allocations: 0 / 0.7517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.885, allocations: 2.625 kB / 0.7517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.8851, allocations: 169 kB / 0.7519 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8851, allocations: 3.938 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.8852, allocations: 17.69 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8852, allocations: 11.83 kB / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.8852, allocations: 6.516 kB / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8852, allocations: 2.125 kB / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8852, allocations: 0 / 0.7519 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.8853, allocations: 120.1 kB / 0.752 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.8854, allocations: 84.86 kB / 0.7521 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.8854, allocations: 3.953 kB / 0.7521 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.8854, allocations: 3.938 kB / 0.7521 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.8855, allocations: 16.41 kB / 0.7521 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.8855, allocations: 3.812 kB / 0.7522 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.8855, allocations: 75.28 kB / 0.7522 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8855, allocations: 0 / 0.7522 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001902/0.8857, allocations: 26.94 kB / 0.7522 GB, free: 25.13 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0001701/0.8859, allocations: 114.8 kB / 0.7524 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.886, allocations: 60.97 kB / 0.7524 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.886, allocations: 4 kB / 0.7524 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.8861, allocations: 37.78 kB / 0.7525 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.015e-05/0.8862, allocations: 6.734 kB / 0.7525 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.8864, allocations: 102 kB / 0.7526 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.8867, allocations: 0.6797 MB / 0.7532 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.8867, allocations: 35.31 kB / 0.7533 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.8868, allocations: 22.27 kB / 0.7533 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.8868, allocations: 0 / 0.7533 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.00229/0.8891, allocations: 0.5659 MB / 0.7538 GB, free: 24.18 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)