Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009585/0.0009586, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7571/0.7571, allocations: 130.7 MB / 138.7 MB, free: 3.625 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.365/1.365, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009005/0.0009005, allocations: 92.05 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.095e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4766, allocations: 81.56 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.6726, allocations: 110.8 MB / 0.7363 GB, free: 16 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.673, allocations: 72.03 kB / 0.7364 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004249/0.6773, allocations: 1.044 MB / 0.7374 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6773, allocations: 0 / 0.7374 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.6773, allocations: 4 kB / 0.7374 GB, free: 14.89 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.0005036/0.6778, allocations: 358.3 kB / 0.7378 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.6779, allocations: 8.031 kB / 0.7378 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.6779, allocations: 4 kB / 0.7378 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.6781, allocations: 167 kB / 0.7379 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.6782, allocations: 0 / 0.7379 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.6782, allocations: 4 kB / 0.7379 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/0.6784, allocations: 20 kB / 0.7379 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.6785, allocations: 42.62 kB / 0.738 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6785, allocations: 7.984 kB / 0.738 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.6786, allocations: 3.984 kB / 0.738 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.6786, allocations: 4 kB / 0.738 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.6791, allocations: 261.2 kB / 0.7383 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.6794, allocations: 42.56 kB / 0.7383 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.6795, allocations: 19.98 kB / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.6799, allocations: 397.6 kB / 0.7387 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.6799, allocations: 34.55 kB / 0.7387 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6799, allocations: 0 / 0.7387 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002484/0.6802, allocations: 49.64 kB / 0.7388 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.6802, allocations: 63.33 kB / 0.7388 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.6803, allocations: 93 kB / 0.7389 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.6804, allocations: 25.7 kB / 0.7389 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.6804, allocations: 88.05 kB / 0.739 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.6805, allocations: 11.91 kB / 0.739 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6805, allocations: 0 / 0.739 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6806, allocations: 318.8 kB / 0.7393 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.6807, allocations: 8 kB / 0.7394 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.6807, allocations: 4 kB / 0.7394 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.6808, allocations: 8 kB / 0.7394 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6808, allocations: 0 / 0.7394 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000145/0.6809, allocations: 49.69 kB / 0.7394 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.681, allocations: 9.562 kB / 0.7394 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.681, allocations: 0 / 0.7394 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.681, allocations: 0 / 0.7394 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.6811, allocations: 15.98 kB / 0.7394 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.6811, allocations: 0 / 0.7394 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.6813, allocations: 15.92 kB / 0.7395 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.6813, allocations: 3.938 kB / 0.7395 GB, free: 12.52 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 () * 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 8.735e-05/0.6814, allocations: 114.6 kB / 0.7396 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.6814, allocations: 7.906 kB / 0.7396 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.6816, allocations: 53.8 kB / 0.7396 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6816, allocations: 0 / 0.7396 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6816, allocations: 0 / 0.7396 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6816, allocations: 0 / 0.7396 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.6818, allocations: 150.2 kB / 0.7398 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6819, allocations: 0 / 0.7398 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.682, allocations: 15.98 kB / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.682, allocations: 4 kB / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.682, allocations: 0 / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.682, allocations: 0.875 kB / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.682, allocations: 0 / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.6822, allocations: 155.7 kB / 0.7399 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.6823, allocations: 81.09 kB / 0.74 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.6823, allocations: 0 / 0.74 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6825, allocations: 12 kB / 0.74 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.6825, allocations: 3.984 kB / 0.74 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.6826, allocations: 7.562 kB / 0.74 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.6826, allocations: 83.28 kB / 0.7401 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6826, allocations: 0 / 0.7401 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003584/0.683, allocations: 27.77 kB / 0.7401 GB, free: 11.73 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: 2 (falFac.y,falFac.k) * Number of discrete 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.0001919/0.6832, allocations: 107.2 kB / 0.7402 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6833, allocations: 23.94 kB / 0.7403 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6833, allocations: 4 kB / 0.7403 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.6834, allocations: 15.98 kB / 0.7403 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.6837, allocations: 3.953 kB / 0.7403 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.6839, allocations: 67.94 kB / 0.7404 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6843, allocations: 0.6846 MB / 0.741 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.836e-05/0.6843, allocations: 8 kB / 0.741 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.6844, allocations: 11.44 kB / 0.741 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6844, allocations: 0 / 0.741 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.003418/0.6878, allocations: 0.5789 MB / 0.7416 GB, free: 10.18 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)