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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005556/0.005556, allocations: 103.4 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 197.6 kB / 16.68 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 60.05 kB / 0.5814 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4759, allocations: 80.21 MB / 0.6597 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001948/0.4779, allocations: 0.5674 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000345/0.4782, allocations: 61.59 kB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.4783, allocations: 0 / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.4783, allocations: 0 / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.4784, allocations: 1.375 kB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.4787, allocations: 13.95 kB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.371e-05/0.4788, allocations: 38.42 kB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.4789, allocations: 10.02 kB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.4789, allocations: 6.812 kB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.158e-05/0.4789, allocations: 16.16 kB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.479, allocations: 1.375 kB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.479, allocations: 17.61 kB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.4791, allocations: 10.95 kB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.4791, allocations: 12.61 kB / 0.6605 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.4793, allocations: 40.94 kB / 0.6605 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4793, allocations: 0 / 0.6605 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4793, allocations: 0 / 0.6605 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.4793, allocations: 1.156 kB / 0.6605 GB, free: 10.17 MB / 0.4981 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.0002817/0.4796, allocations: 337.6 kB / 0.6608 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4796, allocations: 9.594 kB / 0.6608 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.4797, allocations: 3.094 kB / 0.6608 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.4797, allocations: 164.7 kB / 0.661 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4798, allocations: 3.062 kB / 0.661 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.4798, allocations: 7.312 kB / 0.661 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.48, allocations: 65.41 kB / 0.6611 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.48, allocations: 4.172 kB / 0.6611 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.48, allocations: 5.469 kB / 0.6611 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.48, allocations: 5.375 kB / 0.6611 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.4803, allocations: 100.9 kB / 0.6612 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.4805, allocations: 180.7 kB / 0.6613 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.4807, allocations: 74.98 kB / 0.6614 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.4808, allocations: 31.06 kB / 0.6614 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.4811, allocations: 400.8 kB / 0.6618 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4811, allocations: 40.33 kB / 0.6619 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4811, allocations: 0 / 0.6619 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.000274/0.4814, allocations: 114.3 kB / 0.662 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4814, allocations: 53.88 kB / 0.662 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.264e-05/0.4814, allocations: 97.02 kB / 0.6621 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.4815, allocations: 33.64 kB / 0.6621 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.404e-05/0.4815, allocations: 82.84 kB / 0.6622 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4815, allocations: 17.08 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.4816, allocations: 31.72 kB / 0.6623 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.4816, allocations: 318.4 kB / 0.6626 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.4817, allocations: 19.28 kB / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.4817, allocations: 28.06 kB / 0.6626 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4818, allocations: 61.72 kB / 0.6627 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4819, allocations: 1.438 kB / 0.6627 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001379/0.482, allocations: 92.62 kB / 0.6628 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.482, allocations: 6.219 kB / 0.6628 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.482, allocations: 3.938 kB / 0.6628 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4821, allocations: 1.094 kB / 0.6628 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4822, allocations: 22.92 kB / 0.6628 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4822, allocations: 3.938 kB / 0.6628 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.4822, allocations: 14.5 kB / 0.6628 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4822, allocations: 3.422 kB / 0.6628 GB, free: 7.961 MB / 0.4981 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 (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.000112/0.4824, allocations: 120.9 kB / 0.6629 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.4824, allocations: 5.219 kB / 0.6629 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.4826, allocations: 122.4 kB / 0.6631 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4826, allocations: 9.766 kB / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4826, allocations: 0 / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4826, allocations: 1.641 kB / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4827, allocations: 181.5 kB / 0.6632 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4828, allocations: 0 / 0.6632 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.4828, allocations: 21.77 kB / 0.6633 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4828, allocations: 5.062 kB / 0.6633 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4829, allocations: 6.188 kB / 0.6633 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.4829, allocations: 6 kB / 0.6633 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4829, allocations: 0 / 0.6633 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.4831, allocations: 118 kB / 0.6634 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.4831, allocations: 82.77 kB / 0.6635 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4832, allocations: 1.312 kB / 0.6635 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.4832, allocations: 1.906 kB / 0.6635 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.4832, allocations: 17.08 kB / 0.6635 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.4832, allocations: 6.656 kB / 0.6635 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.444e-05/0.4833, allocations: 75.28 kB / 0.6636 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4833, allocations: 1.125 kB / 0.6636 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002022/0.4835, allocations: 18.69 kB / 0.6636 GB, free: 7.258 MB / 0.4981 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 () * 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.0001883/0.4837, allocations: 107.1 kB / 0.6637 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.4838, allocations: 58.78 kB / 0.6637 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4838, allocations: 5 kB / 0.6638 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.4839, allocations: 30.86 kB / 0.6638 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.4841, allocations: 12.73 kB / 0.6638 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.4844, allocations: 157.6 kB / 0.6639 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.4845, allocations: 0.6815 MB / 0.6646 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.031e-05/0.4846, allocations: 35.77 kB / 0.6646 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.4846, allocations: 20.53 kB / 0.6647 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.4846, allocations: 3.938 kB / 0.6647 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.003044/0.4877, allocations: 0.6032 MB / 0.6653 GB, free: 5.953 MB / 0.4981 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)