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.001099/0.001099, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7133/0.7133, allocations: 133.3 MB / 150.1 MB, free: 11.18 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.548/1.548, allocations: 222.9 MB / 404.7 MB, free: 6.113 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.001177/0.001177, allocations: 107.7 kB / 485.9 MB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001009, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1518, allocations: 80.42 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0021/0.1539, allocations: 0.6348 MB / 0.6428 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000358/0.1543, allocations: 63.72 kB / 0.6428 GB, free: 4.738 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.1544, allocations: 0 / 0.6428 GB, free: 4.738 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.1544, allocations: 4 kB / 0.6428 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1544, allocations: 0 / 0.6428 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1547, allocations: 11.98 kB / 0.6428 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.1548, allocations: 31.97 kB / 0.6429 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1549, allocations: 0 / 0.6429 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.1549, allocations: 12 kB / 0.6429 GB, free: 4.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.1549, allocations: 11.97 kB / 0.6429 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.155, allocations: 0 / 0.6429 GB, free: 4.668 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.1551, allocations: 19.92 kB / 0.6429 GB, free: 4.648 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.1551, allocations: 12 kB / 0.6429 GB, free: 4.637 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.1551, allocations: 15.92 kB / 0.6429 GB, free: 4.621 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1553, allocations: 39.88 kB / 0.643 GB, free: 4.582 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1553, allocations: 0 / 0.643 GB, free: 4.582 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1553, allocations: 0 / 0.643 GB, free: 4.582 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1553, allocations: 4 kB / 0.643 GB, free: 4.578 MB / 442.7 MB 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.0003635/0.1557, allocations: 331.5 kB / 0.6433 GB, free: 4.203 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1557, allocations: 8.031 kB / 0.6433 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1558, allocations: 4.938 kB / 0.6433 GB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1559, allocations: 168.5 kB / 0.6435 GB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1559, allocations: 12.36 kB / 0.6435 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1559, allocations: 4.375 kB / 0.6435 GB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1561, allocations: 66.11 kB / 0.6435 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1561, allocations: 192 / 0.6435 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1561, allocations: 7.938 kB / 0.6436 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1562, allocations: 3.984 kB / 0.6436 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.1563, allocations: 103.9 kB / 0.6437 GB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.1565, allocations: 177.6 kB / 0.6438 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1567, allocations: 78.47 kB / 0.6439 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1567, allocations: 32.84 kB / 0.6439 GB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.1571, allocations: 397.5 kB / 0.6443 GB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1571, allocations: 38.56 kB / 0.6444 GB, free: 2.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1571, allocations: 0 / 0.6444 GB, free: 2.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002739/0.1574, allocations: 121.8 kB / 0.6445 GB, free: 2.793 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.1575, allocations: 55.41 kB / 0.6445 GB, free: 2.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.075e-05/0.1575, allocations: 97.77 kB / 0.6446 GB, free: 2.621 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1575, allocations: 25.7 kB / 0.6446 GB, free: 2.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.1576, allocations: 84.08 kB / 0.6447 GB, free: 2.504 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.1576, allocations: 23.73 kB / 0.6447 GB, free: 2.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.1577, allocations: 33.7 kB / 0.6448 GB, free: 2.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1578, allocations: 318.8 kB / 0.6451 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.1578, allocations: 19.98 kB / 0.6451 GB, free: 2.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.1579, allocations: 19.98 kB / 0.6451 GB, free: 2.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.417e-05/0.158, allocations: 60.78 kB / 0.6452 GB, free: 2.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.158, allocations: 0 / 0.6452 GB, free: 2.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000134/0.1581, allocations: 97.5 kB / 0.6453 GB, free: 1.918 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1581, allocations: 5.562 kB / 0.6453 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1582, allocations: 7.938 kB / 0.6453 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1582, allocations: 0 / 0.6453 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1583, allocations: 24 kB / 0.6453 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1583, allocations: 0 / 0.6453 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.1583, allocations: 3.984 kB / 0.6453 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1584, allocations: 4 kB / 0.6453 GB, free: 1.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.1585, allocations: 119 kB / 0.6454 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1586, allocations: 3.984 kB / 0.6454 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.1589, allocations: 146 kB / 0.6456 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1589, allocations: 0 / 0.6456 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1589, allocations: 0 / 0.6456 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1589, allocations: 0 / 0.6456 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1591, allocations: 165.7 kB / 0.6457 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1592, allocations: 0 / 0.6457 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.1593, allocations: 20 kB / 0.6457 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1593, allocations: 3.938 kB / 0.6457 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1593, allocations: 7.984 kB / 0.6458 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1593, allocations: 0 / 0.6458 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1593, allocations: 7.984 kB / 0.6458 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.16, allocations: 0.6942 MB / 0.6464 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.16, allocations: 85.05 kB / 0.6465 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1601, allocations: 3.984 kB / 0.6465 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.1601, allocations: 0 / 0.6465 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1602, allocations: 4 kB / 0.6465 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1602, allocations: 15.98 kB / 0.6465 GB, free: 484 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.1602, allocations: 75.28 kB / 0.6466 GB, free: 408 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1602, allocations: 0 / 0.6466 GB, free: 408 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005369/0.1608, allocations: 15.94 kB / 0.6466 GB, free: 392 kB / 442.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/0.1611, allocations: 115.2 kB / 0.6467 GB, free: 264 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1613, allocations: 67.83 kB / 0.6468 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1613, allocations: 0 / 0.6468 GB, free: 196 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.1614, allocations: 39.98 kB / 0.6468 GB, free: 156 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1616, allocations: 8.203 kB / 0.6469 GB, free: 152 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.1623, allocations: 290.8 kB / 0.6471 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.1627, allocations: 0.6926 MB / 0.6478 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.1629, allocations: 39.95 kB / 0.6478 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1629, allocations: 11.44 kB / 0.6479 GB, free: 15.06 MB / 458.7 MB Notification: Performance of SimCode: time 2.81e-07/0.163, allocations: 4 kB / 0.6479 GB, free: 15.05 MB / 458.7 MB Notification: Performance of Templates: time 0.003995/0.167, allocations: 0.5954 MB / 0.6484 GB, free: 14.46 MB / 458.7 MB 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)