Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001459/0.001459, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9051/0.9051, allocations: 130.7 MB / 138.7 MB, free: 3.648 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.497/1.497, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.0009314/0.0009316, allocations: 98.02 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.076e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5214, allocations: 81.57 MB / 0.6282 GB, free: 42.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.6634, allocations: 109.7 MB / 0.7353 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.6637, allocations: 75.95 kB / 0.7353 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001822/0.6655, allocations: 0.8247 MB / 0.7361 GB, free: 216 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6655, allocations: 0 / 0.7361 GB, free: 216 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.6655, allocations: 0 / 0.7361 GB, free: 216 kB / 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.0002579/0.6658, allocations: 324.6 kB / 0.7365 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6658, allocations: 12.03 kB / 0.7365 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.6659, allocations: 3.906 kB / 0.7365 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.666, allocations: 166.3 kB / 0.7366 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.666, allocations: 6.562 kB / 0.7366 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.666, allocations: 4 kB / 0.7366 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001581/0.6662, allocations: 99.81 kB / 0.7367 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.6663, allocations: 61.66 kB / 0.7368 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.6663, allocations: 0 / 0.7368 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.6663, allocations: 0 / 0.7368 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6663, allocations: 4 kB / 0.7368 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.6664, allocations: 150.1 kB / 0.7369 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.6665, allocations: 62.56 kB / 0.737 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.6666, allocations: 29.78 kB / 0.737 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.6669, allocations: 409.5 kB / 0.7374 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.6669, allocations: 34.5 kB / 0.7374 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.6669, allocations: 0 / 0.7374 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0003032/0.6672, allocations: 99.69 kB / 0.7375 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.6673, allocations: 51.41 kB / 0.7376 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.788e-05/0.6673, allocations: 89 kB / 0.7377 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.6674, allocations: 25.7 kB / 0.7377 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.6674, allocations: 80.33 kB / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.6674, allocations: 23.72 kB / 0.7378 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.6674, allocations: 3.938 kB / 0.7378 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6676, allocations: 318.8 kB / 0.7381 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.6676, allocations: 15.94 kB / 0.7381 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.6676, allocations: 19.98 kB / 0.7381 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.6678, allocations: 27.97 kB / 0.7382 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6678, allocations: 0 / 0.7382 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/0.668, allocations: 95.42 kB / 0.7383 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.668, allocations: 4 kB / 0.7383 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.668, allocations: 0 / 0.7383 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6681, allocations: 8 kB / 0.7383 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.6682, allocations: 15.98 kB / 0.7383 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6682, allocations: 3.938 kB / 0.7383 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.6682, allocations: 7.906 kB / 0.7383 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6682, allocations: 0 / 0.7383 GB, free: 13.72 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: 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.489e-05/0.6683, allocations: 115.7 kB / 0.7384 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.6683, allocations: 3.953 kB / 0.7384 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.6686, allocations: 122.8 kB / 0.7385 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6686, allocations: 4 kB / 0.7385 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6687, allocations: 3.938 kB / 0.7385 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6687, allocations: 3.984 kB / 0.7385 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.6688, allocations: 142.2 kB / 0.7387 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6688, allocations: 4 kB / 0.7387 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.6689, allocations: 19.98 kB / 0.7387 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6689, allocations: 0 / 0.7387 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6689, allocations: 4 kB / 0.7387 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6689, allocations: 7.953 kB / 0.7387 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6689, allocations: 0 / 0.7387 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.6691, allocations: 125.2 kB / 0.7388 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.6692, allocations: 77.11 kB / 0.7389 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.6692, allocations: 0 / 0.7389 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.6692, allocations: 4 kB / 0.7389 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.6693, allocations: 11.94 kB / 0.7389 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.6693, allocations: 0 / 0.7389 GB, free: 13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.6693, allocations: 79.28 kB / 0.739 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6693, allocations: 0 / 0.739 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001925/0.6695, allocations: 19.94 kB / 0.739 GB, free: 12.9 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: 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.0002137/0.6698, allocations: 119.2 kB / 0.7391 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.6699, allocations: 56.52 kB / 0.7392 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6699, allocations: 0 / 0.7392 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.67, allocations: 31.92 kB / 0.7392 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.6701, allocations: 13.94 kB / 0.7392 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.6703, allocations: 87.97 kB / 0.7393 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.6707, allocations: 0.6846 MB / 0.74 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.6707, allocations: 39.92 kB / 0.74 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.6708, allocations: 11.44 kB / 0.74 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of SimCode: time 2.885e-06/0.6708, allocations: 0 / 0.74 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of Templates: time 0.002438/0.6732, allocations: 0.5553 MB / 0.7406 GB, free: 11.25 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)