Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002798/0.002798, allocations: 358.3 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.488/1.488, allocations: 165.8 MB / 183.1 MB, free: 5.395 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.757/3.757, allocations: 410.8 MB / 0.6001 GB, free: 15.22 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001778/0.001778, allocations: 203.9 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.000638, allocations: 12 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4019, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.5701, allocations: 98.68 MB / 0.9051 GB, free: 9.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.5705, allocations: 79.95 kB / 0.9052 GB, free: 9.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004514/0.575, allocations: 1.056 MB / 0.9062 GB, free: 8.859 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5751, allocations: 4 kB / 0.9062 GB, free: 8.855 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.5751, allocations: 0 / 0.9062 GB, free: 8.855 MB / 458.7 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.0005146/0.5756, allocations: 355.2 kB / 0.9065 GB, free: 8.461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5757, allocations: 8.031 kB / 0.9065 GB, free: 8.453 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.5757, allocations: 8 kB / 0.9065 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5759, allocations: 167 kB / 0.9067 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5759, allocations: 4 kB / 0.9067 GB, free: 8.238 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5759, allocations: 0 / 0.9067 GB, free: 8.238 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.5762, allocations: 65.67 kB / 0.9068 GB, free: 8.168 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5762, allocations: 0 / 0.9068 GB, free: 8.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.5763, allocations: 7.953 kB / 0.9068 GB, free: 8.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5763, allocations: 3.984 kB / 0.9068 GB, free: 8.156 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.5766, allocations: 59.89 kB / 0.9068 GB, free: 8.098 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.5771, allocations: 272.9 kB / 0.9071 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.5777, allocations: 77.48 kB / 0.9072 GB, free: 7.699 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.5779, allocations: 28.84 kB / 0.9072 GB, free: 7.668 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.5782, allocations: 401.5 kB / 0.9076 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.5783, allocations: 42.55 kB / 0.9076 GB, free: 7.133 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.5783, allocations: 0 / 0.9076 GB, free: 7.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006368/0.5789, allocations: 109.5 kB / 0.9077 GB, free: 7.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.579, allocations: 51.41 kB / 0.9078 GB, free: 6.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.5791, allocations: 113.9 kB / 0.9079 GB, free: 6.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5791, allocations: 25.7 kB / 0.9079 GB, free: 6.805 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.5792, allocations: 92.12 kB / 0.908 GB, free: 6.711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.5792, allocations: 7.844 kB / 0.908 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.5792, allocations: 0 / 0.908 GB, free: 6.703 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5794, allocations: 314.8 kB / 0.9083 GB, free: 6.387 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5795, allocations: 23.98 kB / 0.9083 GB, free: 6.363 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.5797, allocations: 27.97 kB / 0.9084 GB, free: 6.336 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.5799, allocations: 23.98 kB / 0.9084 GB, free: 6.312 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5799, allocations: 4 kB / 0.9084 GB, free: 6.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003978/0.5803, allocations: 89.88 kB / 0.9085 GB, free: 6.215 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5804, allocations: 10.81 kB / 0.9085 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5804, allocations: 0 / 0.9085 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5804, allocations: 48 / 0.9085 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5806, allocations: 19.97 kB / 0.9085 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5806, allocations: 0 / 0.9085 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5807, allocations: 11.91 kB / 0.9085 GB, free: 6.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.5807, allocations: 320 / 0.9085 GB, free: 6.176 MB / 458.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: 2 (falFac.y,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.5808, allocations: 125.3 kB / 0.9086 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.5809, allocations: 3.953 kB / 0.9086 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.5813, allocations: 101.5 kB / 0.9087 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.5814, allocations: 7.938 kB / 0.9087 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5814, allocations: 0 / 0.9087 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5814, allocations: 0 / 0.9087 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.5816, allocations: 169.6 kB / 0.9089 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5816, allocations: 0 / 0.9089 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.5818, allocations: 15.98 kB / 0.9089 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5818, allocations: 0 / 0.9089 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5818, allocations: 7.953 kB / 0.9089 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5818, allocations: 0 / 0.9089 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5818, allocations: 0 / 0.9089 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.5823, allocations: 187.3 kB / 0.9091 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.5823, allocations: 81.11 kB / 0.9092 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.5824, allocations: 0 / 0.9092 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5825, allocations: 15.94 kB / 0.9092 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.5826, allocations: 7.984 kB / 0.9092 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5826, allocations: 0 / 0.9092 GB, free: 5.367 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.5827, allocations: 91.28 kB / 0.9093 GB, free: 5.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5827, allocations: 0 / 0.9093 GB, free: 5.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.583, allocations: 16 kB / 0.9093 GB, free: 5.262 MB / 458.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: 2 (falFac.y,falFac.k) * 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 (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.0001736/0.5832, allocations: 107.2 kB / 0.9094 GB, free: 5.148 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.5836, allocations: 63.89 kB / 0.9095 GB, free: 5.086 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.5836, allocations: 0 / 0.9095 GB, free: 5.086 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.5838, allocations: 31.97 kB / 0.9095 GB, free: 5.055 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.5841, allocations: 0 / 0.9095 GB, free: 5.055 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.5845, allocations: 124.7 kB / 0.9096 GB, free: 4.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.5848, allocations: 0.6809 MB / 0.9103 GB, free: 4.199 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.5848, allocations: 11.98 kB / 0.9103 GB, free: 4.188 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.5849, allocations: 11.44 kB / 0.9103 GB, free: 4.176 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5849, allocations: 0 / 0.9103 GB, free: 4.176 MB / 458.7 MB Notification: Performance of Templates: time 0.003428/0.5883, allocations: 0.6376 MB / 0.9109 GB, free: 3.543 MB / 458.7 MB