Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 174.8 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.429/2.429, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 98.67 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 11.41 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.4611, allocations: 130.8 MB / 1.027 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.4614, allocations: 75.95 kB / 1.027 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002779/0.4642, allocations: 0.8361 MB / 1.028 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4642, allocations: 0 / 1.028 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4643, allocations: 0 / 1.028 GB, free: 14.01 MB / 0.6823 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.0003239/0.4646, allocations: 331.3 kB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4647, allocations: 8.031 kB / 1.028 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.4647, allocations: 0 / 1.028 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4648, allocations: 175 kB / 1.028 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4648, allocations: 4 kB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.4649, allocations: 7.938 kB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4651, allocations: 61.66 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4651, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4651, allocations: 7.938 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4651, allocations: 4 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.4654, allocations: 99.86 kB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.4656, allocations: 173.5 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.4658, allocations: 78.48 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/0.4662, allocations: 405.5 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.4662, allocations: 30.56 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.4662, allocations: 4 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0003531/0.4666, allocations: 109.9 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.4667, allocations: 59.34 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.4667, allocations: 88.98 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.4668, allocations: 33.7 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.4668, allocations: 80.33 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.4669, allocations: 23.66 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.4669, allocations: 0 / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.467, allocations: 314.8 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.4671, allocations: 19.98 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.4671, allocations: 19.98 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.4672, allocations: 23.98 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4673, allocations: 3.953 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002201/0.4675, allocations: 102.2 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4675, allocations: 4 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4675, allocations: 3.984 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4676, allocations: 4 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.4677, allocations: 19.94 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4678, allocations: 7.984 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.4678, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4678, allocations: 4 kB / 1.03 GB, free: 11.44 MB / 0.6823 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 (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 initialization (11): * Single equations (assignments): 11 * 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.0001266/0.468, allocations: 129.2 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.468, allocations: 3.953 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.4683, allocations: 133.6 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.4684, allocations: 4 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4684, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4684, allocations: 3.984 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.4686, allocations: 173.5 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.4686, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.4687, allocations: 31.89 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4688, allocations: 7.984 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4688, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.469, allocations: 117.4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.4691, allocations: 89 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4691, allocations: 3.953 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.4692, allocations: 8 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4692, allocations: 11.98 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4692, allocations: 4 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.4693, allocations: 75.28 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4693, allocations: 3.938 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002881/0.4696, allocations: 20 kB / 1.031 GB, free: 10.54 MB / 0.6823 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 (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.0002238/0.4698, allocations: 123.2 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.47, allocations: 59.91 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4701, allocations: 0 / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.4702, allocations: 35.92 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.4703, allocations: 4 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4706, allocations: 146.7 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4709, allocations: 0.6895 MB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.4711, allocations: 39.81 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.4711, allocations: 19.42 kB / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.4712, allocations: 0 / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of Templates: time 0.003326/0.4745, allocations: 0.5441 MB / 1.032 GB, free: 8.82 MB / 0.6823 GB