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.001774/0.001774, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8757/0.8757, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.518/1.518, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0009141/0.000914, allocations: 101.9 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.992e-05, allocations: 4 kB / 0.5535 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4239, allocations: 82.3 MB / 0.6338 GB, free: 40.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.5591, allocations: 111 MB / 0.7422 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.5593, allocations: 71.95 kB / 0.7423 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002965/0.5623, allocations: 1.048 MB / 0.7433 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5623, allocations: 0 / 0.7433 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.5623, allocations: 0 / 0.7433 GB, free: 10.68 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.0003515/0.5627, allocations: 354.3 kB / 0.7436 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5627, allocations: 16.02 kB / 0.7437 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.5628, allocations: 0 / 0.7437 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.5629, allocations: 171 kB / 0.7438 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.5629, allocations: 0 / 0.7438 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.5629, allocations: 4 kB / 0.7438 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.369e-05/0.563, allocations: 16 kB / 0.7438 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.747e-05/0.5631, allocations: 45.69 kB / 0.7439 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.5631, allocations: 0 / 0.7439 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5631, allocations: 4 kB / 0.7439 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.5631, allocations: 0 / 0.7439 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.5635, allocations: 265.2 kB / 0.7441 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.5637, allocations: 46.55 kB / 0.7442 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.5637, allocations: 16.92 kB / 0.7442 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.564, allocations: 397.6 kB / 0.7446 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.564, allocations: 30.56 kB / 0.7446 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5641, allocations: 0 / 0.7446 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001857/0.5642, allocations: 53.62 kB / 0.7447 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.5643, allocations: 51.41 kB / 0.7447 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.5643, allocations: 101 kB / 0.7448 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5644, allocations: 25.7 kB / 0.7448 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.5644, allocations: 88.05 kB / 0.7449 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.5644, allocations: 15.84 kB / 0.7449 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5645, allocations: 0 / 0.7449 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.5646, allocations: 318.8 kB / 0.7452 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.5646, allocations: 8 kB / 0.7452 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.5646, allocations: 4 kB / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.5646, allocations: 8 kB / 0.7453 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5646, allocations: 0 / 0.7453 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.881e-05/0.5648, allocations: 53.62 kB / 0.7453 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5648, allocations: 8 kB / 0.7453 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5648, allocations: 3.938 kB / 0.7453 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.5648, allocations: 0 / 0.7453 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.5649, allocations: 15.98 kB / 0.7453 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.5649, allocations: 0 / 0.7453 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.565, allocations: 7.984 kB / 0.7453 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.565, allocations: 4 kB / 0.7453 GB, free: 8.305 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 6.153e-05/0.5651, allocations: 108.9 kB / 0.7455 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.5651, allocations: 7.906 kB / 0.7455 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.5652, allocations: 57.8 kB / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5652, allocations: 0 / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5652, allocations: 0 / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5653, allocations: 0 / 0.7455 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.5654, allocations: 150.4 kB / 0.7457 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5654, allocations: 4 kB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.5655, allocations: 15.92 kB / 0.7457 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5655, allocations: 4 kB / 0.7457 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.5655, allocations: 4 kB / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5655, allocations: 0 / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5655, allocations: 0 / 0.7457 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.5657, allocations: 139.5 kB / 0.7458 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.5657, allocations: 89.28 kB / 0.7459 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5657, allocations: 3.984 kB / 0.7459 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.5658, allocations: 8 kB / 0.7459 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.5659, allocations: 11.97 kB / 0.7459 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.5659, allocations: 0 / 0.7459 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.5659, allocations: 83.28 kB / 0.746 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5659, allocations: 0 / 0.746 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000251/0.5662, allocations: 23.84 kB / 0.746 GB, free: 7.52 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.000156/0.5663, allocations: 111.2 kB / 0.7461 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.5664, allocations: 16 kB / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5664, allocations: 4 kB / 0.7462 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.5665, allocations: 19.98 kB / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.5666, allocations: 0 / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.5668, allocations: 71.92 kB / 0.7462 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.5671, allocations: 0.6884 MB / 0.7469 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.5671, allocations: 11.95 kB / 0.7469 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.5671, allocations: 7.438 kB / 0.7469 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/0.5672, allocations: 4 kB / 0.7469 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of Templates: time 0.002285/0.5694, allocations: 0.5877 MB / 0.7475 GB, free: 5.953 MB / 0.5261 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)