Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002546/0.002549, allocations: 353.2 kB / 15.94 MB, free: 6.211 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.497/1.497, allocations: 165.8 MB / 182.5 MB, free: 5.488 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.934/3.934, allocations: 410.8 MB / 0.5995 GB, free: 15.12 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.001748/0.001748, allocations: 197.1 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00082/0.0008201, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3679, allocations: 67.44 MB / 0.8082 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000554/0.3685, allocations: 308.3 kB / 0.8085 GB, free: 28.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.3687, allocations: 54.56 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.3688, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.3688, allocations: 0 / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.437e-06/0.3688, allocations: 4 kB / 0.8085 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.369, allocations: 11.98 kB / 0.8085 GB, free: 28.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.066e-05/0.3691, allocations: 23.92 kB / 0.8085 GB, free: 28.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3692, allocations: 4 kB / 0.8085 GB, free: 28.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.3692, allocations: 15.97 kB / 0.8086 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.3692, allocations: 7.938 kB / 0.8086 GB, free: 28.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3693, allocations: 4 kB / 0.8086 GB, free: 28.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.3693, allocations: 15.98 kB / 0.8086 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3694, allocations: 15.97 kB / 0.8086 GB, free: 28.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.3694, allocations: 29.7 kB / 0.8086 GB, free: 28.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.851e-05/0.3695, allocations: 11.98 kB / 0.8086 GB, free: 28.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.006e-06/0.3695, allocations: 4 kB / 0.8086 GB, free: 28.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.368e-06/0.3695, allocations: 0 / 0.8086 GB, free: 28.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3695, allocations: 0 / 0.8086 GB, free: 28.31 MB / 378.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.0002359/0.3697, allocations: 333.5 kB / 0.809 GB, free: 27.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3698, allocations: 8.031 kB / 0.809 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3698, allocations: 7.906 kB / 0.809 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.783e-05/0.3699, allocations: 163 kB / 0.8091 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3699, allocations: 8 kB / 0.8091 GB, free: 27.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.37, allocations: 0 / 0.8091 GB, free: 27.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3701, allocations: 77.59 kB / 0.8092 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-06/0.3701, allocations: 0 / 0.8092 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3701, allocations: 3.953 kB / 0.8092 GB, free: 27.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-06/0.3702, allocations: 3.938 kB / 0.8092 GB, free: 27.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3703, allocations: 99.88 kB / 0.8093 GB, free: 27.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.3705, allocations: 177.6 kB / 0.8095 GB, free: 27.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3706, allocations: 74.48 kB / 0.8096 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.3707, allocations: 28.84 kB / 0.8096 GB, free: 27.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.3709, allocations: 405.5 kB / 0.81 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.371, allocations: 38.56 kB / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.146e-06/0.371, allocations: 3.938 kB / 0.81 GB, free: 26.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002525/0.3712, allocations: 113.8 kB / 0.8101 GB, free: 26.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.3713, allocations: 59.36 kB / 0.8102 GB, free: 26.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.574e-05/0.3713, allocations: 93.86 kB / 0.8103 GB, free: 26.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.471e-06/0.3713, allocations: 25.7 kB / 0.8103 GB, free: 26.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/0.3713, allocations: 80.33 kB / 0.8104 GB, free: 26.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3714, allocations: 31.64 kB / 0.8104 GB, free: 26.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-06/0.3714, allocations: 4 kB / 0.8104 GB, free: 26.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.3715, allocations: 314.8 kB / 0.8107 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.3715, allocations: 19.98 kB / 0.8107 GB, free: 25.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.3716, allocations: 19.98 kB / 0.8107 GB, free: 25.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.3716, allocations: 23.98 kB / 0.8108 GB, free: 25.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-06/0.3716, allocations: 0 / 0.8108 GB, free: 25.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001546/0.3718, allocations: 89.61 kB / 0.8109 GB, free: 25.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3718, allocations: 11.94 kB / 0.8109 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.392e-06/0.3719, allocations: 4 kB / 0.8109 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3719, allocations: 0 / 0.8109 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.372, allocations: 19.98 kB / 0.8109 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.148e-06/0.372, allocations: 0 / 0.8109 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.3721, allocations: 7.859 kB / 0.8109 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3721, allocations: 8 kB / 0.8109 GB, free: 25.69 MB / 378.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 (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.000111/0.3722, allocations: 121.8 kB / 0.811 GB, free: 25.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.3722, allocations: 0 / 0.811 GB, free: 25.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3725, allocations: 134.3 kB / 0.8111 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-06/0.3725, allocations: 0 / 0.8111 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-06/0.3725, allocations: 3.984 kB / 0.8111 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-06/0.3725, allocations: 3.984 kB / 0.8112 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3726, allocations: 177.5 kB / 0.8113 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-06/0.3726, allocations: 0 / 0.8113 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.3727, allocations: 19.98 kB / 0.8113 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.164e-06/0.3727, allocations: 0 / 0.8113 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3728, allocations: 4 kB / 0.8113 GB, free: 25.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.948e-06/0.3728, allocations: 4 kB / 0.8113 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3728, allocations: 0 / 0.8113 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3729, allocations: 133.2 kB / 0.8115 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.373, allocations: 85.11 kB / 0.8116 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.373, allocations: 0 / 0.8116 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.373, allocations: 0 / 0.8116 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3731, allocations: 7.984 kB / 0.8116 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3731, allocations: 8 kB / 0.8116 GB, free: 24.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.3732, allocations: 79.28 kB / 0.8116 GB, free: 24.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.64e-07/0.3732, allocations: 0 / 0.8116 GB, free: 24.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.3735, allocations: 19.92 kB / 0.8117 GB, free: 24.81 MB / 378.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 (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.0001938/0.3737, allocations: 107.2 kB / 0.8118 GB, free: 24.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.3738, allocations: 59.89 kB / 0.8118 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3739, allocations: 4 kB / 0.8118 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.374, allocations: 39.92 kB / 0.8119 GB, free: 24.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3741, allocations: 7.953 kB / 0.8119 GB, free: 24.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.3745, allocations: 153.9 kB / 0.812 GB, free: 24.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.3747, allocations: 0.6848 MB / 0.8127 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.074e-05/0.3748, allocations: 31.95 kB / 0.8127 GB, free: 23.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.3748, allocations: 19.44 kB / 0.8127 GB, free: 23.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.516e-06/0.3748, allocations: 0 / 0.8127 GB, free: 23.64 MB / 378.7 MB Notification: Performance of Templates: time 0.002894/0.3777, allocations: 0.5632 MB / 0.8133 GB, free: 23.08 MB / 378.7 MB