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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001116/0.001116, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8216/0.8216, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 59.91 kB / 0.5067 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 80.92 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002313/0.3473, allocations: 1.517 MB / 0.5872 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003051/0.3476, allocations: 134.6 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.3476, allocations: 2.219 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3477, allocations: 3.938 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.3477, allocations: 8.547 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.348, allocations: 30.03 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.3481, allocations: 38.08 kB / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.3482, allocations: 14.73 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.3482, allocations: 14.64 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.3482, allocations: 26 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3483, allocations: 3.656 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.3483, allocations: 22.55 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3484, allocations: 9.469 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.3484, allocations: 12 kB / 0.5876 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3485, allocations: 49.45 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3485, allocations: 3.938 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3485, allocations: 0 / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3485, allocations: 1.156 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB 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.0003532/0.3489, allocations: 349.8 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3489, allocations: 14.84 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.349, allocations: 7.469 kB / 0.588 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.002e-05/0.349, allocations: 167.1 kB / 0.5881 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3491, allocations: 6.828 kB / 0.5881 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3491, allocations: 2.562 kB / 0.5881 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3493, allocations: 72.89 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.3493, allocations: 192 / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3493, allocations: 3.938 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3493, allocations: 1.25 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.3495, allocations: 46.45 kB / 0.5882 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3498, allocations: 280.8 kB / 0.5885 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3501, allocations: 65.47 kB / 0.5886 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.3502, allocations: 24.22 kB / 0.5886 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.3503, allocations: 400.1 kB / 0.589 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.3504, allocations: 32.41 kB / 0.589 GB, free: 22.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3504, allocations: 0 / 0.589 GB, free: 22.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003502/0.3507, allocations: 97.17 kB / 0.5891 GB, free: 22.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3508, allocations: 55.92 kB / 0.5892 GB, free: 22.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.3508, allocations: 104.2 kB / 0.5893 GB, free: 22.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.3508, allocations: 34.62 kB / 0.5893 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.3509, allocations: 86.2 kB / 0.5894 GB, free: 22.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.3509, allocations: 9.906 kB / 0.5894 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3509, allocations: 15.16 kB / 0.5894 GB, free: 22.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.351, allocations: 324.1 kB / 0.5897 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.351, allocations: 15.77 kB / 0.5897 GB, free: 21.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.3511, allocations: 26.66 kB / 0.5897 GB, free: 21.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3513, allocations: 44.14 kB / 0.5898 GB, free: 21.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3513, allocations: 1.375 kB / 0.5898 GB, free: 21.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001913/0.3515, allocations: 81.73 kB / 0.5899 GB, free: 21.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3515, allocations: 4.562 kB / 0.5899 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3515, allocations: 1.375 kB / 0.5899 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3515, allocations: 1.062 kB / 0.5899 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.3516, allocations: 16.23 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3516, allocations: 0 / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.3517, allocations: 8.562 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3517, allocations: 2.219 kB / 0.5899 GB, free: 21.8 MB / 446.1 MB 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,rea2Int.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.3518, allocations: 117.9 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3518, allocations: 7.719 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.352, allocations: 92.25 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.352, allocations: 4.031 kB / 0.5901 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.352, allocations: 1.344 kB / 0.5901 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.352, allocations: 0 / 0.5901 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3522, allocations: 170.5 kB / 0.5903 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3522, allocations: 0 / 0.5903 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.3523, allocations: 12.48 kB / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3523, allocations: 1.062 kB / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3523, allocations: 0 / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3523, allocations: 2.688 kB / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3523, allocations: 0 / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3525, allocations: 173.1 kB / 0.5905 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.3526, allocations: 79.64 kB / 0.5905 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3526, allocations: 0 / 0.5905 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.3527, allocations: 10.55 kB / 0.5905 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3527, allocations: 10.09 kB / 0.5906 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3527, allocations: 1.219 kB / 0.5906 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.464e-05/0.3528, allocations: 89.58 kB / 0.5906 GB, free: 21.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3528, allocations: 1.281 kB / 0.5906 GB, free: 21.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.353, allocations: 11.56 kB / 0.5906 GB, free: 21.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked 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 (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.0001113/0.3531, allocations: 108.8 kB / 0.5908 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3533, allocations: 46.3 kB / 0.5908 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3534, allocations: 4.438 kB / 0.5908 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.059e-05/0.3534, allocations: 23.3 kB / 0.5908 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3537, allocations: 7.156 kB / 0.5908 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.354, allocations: 129.8 kB / 0.591 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.3541, allocations: 0.6807 MB / 0.5916 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.68e-05/0.3541, allocations: 0.8125 kB / 0.5916 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.3541, allocations: 11.44 kB / 0.5916 GB, free: 20.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3541, allocations: 0.6875 kB / 0.5916 GB, free: 20.04 MB / 446.1 MB Notification: Performance of Templates: time 0.002557/0.3567, allocations: 0.7558 MB / 0.5924 GB, free: 19.32 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)