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.001204/0.001204, allocations: 183.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/package.mo): time 0.8178/0.8178, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.575/1.575, allocations: 222.9 MB / 403.3 MB, free: 7.027 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.0009816/0.0009816, allocations: 99.67 kB / 484.3 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001777, allocations: 51.92 kB / 0.5619 GB, free: 71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1793, allocations: 80.22 MB / 0.6402 GB, free: 6.711 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001758/0.1811, allocations: 0.631 MB / 0.6408 GB, free: 6.074 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.1814, allocations: 63.72 kB / 0.6409 GB, free: 6.012 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.27e-05/0.1814, allocations: 0 / 0.6409 GB, free: 6.012 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.1814, allocations: 4 kB / 0.6409 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.1814, allocations: 0 / 0.6409 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.1816, allocations: 11.92 kB / 0.6409 GB, free: 5.996 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.1817, allocations: 31.97 kB / 0.6409 GB, free: 5.965 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.1818, allocations: 7.984 kB / 0.6409 GB, free: 5.957 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.1818, allocations: 4 kB / 0.6409 GB, free: 5.953 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.1818, allocations: 19.92 kB / 0.6409 GB, free: 5.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1818, allocations: 0 / 0.6409 GB, free: 5.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.1819, allocations: 15.98 kB / 0.641 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.1819, allocations: 11.98 kB / 0.641 GB, free: 5.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.182, allocations: 11.94 kB / 0.641 GB, free: 5.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.1821, allocations: 35.89 kB / 0.641 GB, free: 5.859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1821, allocations: 4 kB / 0.641 GB, free: 5.855 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1821, allocations: 0 / 0.641 GB, free: 5.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.1821, allocations: 0 / 0.641 GB, free: 5.855 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.0002797/0.1824, allocations: 339.5 kB / 0.6413 GB, free: 5.473 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1824, allocations: 8.031 kB / 0.6414 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.1824, allocations: 4.938 kB / 0.6414 GB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.1825, allocations: 164.6 kB / 0.6415 GB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.1825, allocations: 384 / 0.6415 GB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1826, allocations: 12.38 kB / 0.6415 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1827, allocations: 78.09 kB / 0.6416 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1827, allocations: 192 / 0.6416 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1827, allocations: 3.938 kB / 0.6416 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1827, allocations: 0 / 0.6416 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1829, allocations: 99.88 kB / 0.6417 GB, free: 5.066 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.183, allocations: 177.5 kB / 0.6419 GB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1831, allocations: 70.55 kB / 0.6419 GB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.1832, allocations: 36.78 kB / 0.642 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.1835, allocations: 405.5 kB / 0.6424 GB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1835, allocations: 30.56 kB / 0.6424 GB, free: 4.199 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1835, allocations: 0 / 0.6424 GB, free: 4.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002161/0.1837, allocations: 117.9 kB / 0.6425 GB, free: 4.078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1838, allocations: 51.41 kB / 0.6425 GB, free: 4.016 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.1838, allocations: 97.77 kB / 0.6426 GB, free: 3.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1838, allocations: 29.7 kB / 0.6427 GB, free: 3.875 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/0.1839, allocations: 88.08 kB / 0.6428 GB, free: 3.785 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1839, allocations: 23.73 kB / 0.6428 GB, free: 3.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1839, allocations: 29.7 kB / 0.6428 GB, free: 3.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.184, allocations: 314.8 kB / 0.6431 GB, free: 3.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.1841, allocations: 23.92 kB / 0.6431 GB, free: 3.387 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.1841, allocations: 19.98 kB / 0.6431 GB, free: 3.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.593e-05/0.1842, allocations: 65.42 kB / 0.6432 GB, free: 3.301 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1842, allocations: 0 / 0.6432 GB, free: 3.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001287/0.1844, allocations: 97.52 kB / 0.6433 GB, free: 3.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1844, allocations: 5.25 kB / 0.6433 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1844, allocations: 3.938 kB / 0.6433 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1844, allocations: 0 / 0.6433 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.1845, allocations: 27.92 kB / 0.6433 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1845, allocations: 0 / 0.6433 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1845, allocations: 8 kB / 0.6433 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.1845, allocations: 4 kB / 0.6433 GB, free: 3.152 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.0001157/0.1847, allocations: 127.1 kB / 0.6435 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1847, allocations: 4 kB / 0.6435 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.1849, allocations: 125.3 kB / 0.6436 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1849, allocations: 4 kB / 0.6436 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1849, allocations: 0 / 0.6436 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1849, allocations: 0 / 0.6436 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.185, allocations: 177.6 kB / 0.6438 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.185, allocations: 0 / 0.6438 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.1851, allocations: 19.98 kB / 0.6438 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1851, allocations: 11.92 kB / 0.6438 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1851, allocations: 4 kB / 0.6438 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1851, allocations: 0 / 0.6438 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1851, allocations: 0 / 0.6438 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1855, allocations: 0.6941 MB / 0.6445 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1855, allocations: 81.11 kB / 0.6446 GB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1855, allocations: 8 kB / 0.6446 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.1856, allocations: 0 / 0.6446 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.1856, allocations: 7.984 kB / 0.6446 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1856, allocations: 4 kB / 0.6446 GB, free: 1.754 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.007e-05/0.1856, allocations: 75.28 kB / 0.6446 GB, free: 1.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1856, allocations: 0 / 0.6446 GB, free: 1.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.1859, allocations: 19.94 kB / 0.6447 GB, free: 1.66 MB / 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.0001683/0.1861, allocations: 127.1 kB / 0.6448 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1862, allocations: 55.91 kB / 0.6448 GB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1862, allocations: 0 / 0.6448 GB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.1863, allocations: 39.91 kB / 0.6449 GB, free: 1.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1864, allocations: 13.34 kB / 0.6449 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.1867, allocations: 286.3 kB / 0.6452 GB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1869, allocations: 0.6848 MB / 0.6458 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.187, allocations: 35.95 kB / 0.6459 GB, free: 364 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.187, allocations: 15.44 kB / 0.6459 GB, free: 348 kB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.187, allocations: 0 / 0.6459 GB, free: 348 kB / 442.7 MB Notification: Performance of Templates: time 0.002142/0.1892, allocations: 0.6029 MB / 0.6465 GB, free: 15.74 MB / 458.7 MB 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)