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.003845/0.003844, allocations: 357.3 kB / 15.94 MB, free: 6.172 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.393/1.393, allocations: 165.8 MB / 182.5 MB, free: 5.52 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.808/3.808, allocations: 410.8 MB / 0.5995 GB, free: 15.27 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.001702/0.001701, allocations: 183 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004699, allocations: 19.97 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3771, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001388/0.3785, allocations: 1.233 MB / 0.8093 GB, free: 27.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.3788, allocations: 119.6 kB / 0.8095 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.3789, allocations: 4 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.3789, allocations: 3.984 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.3789, allocations: 7.922 kB / 0.8095 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.3792, allocations: 19.98 kB / 0.8095 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.453e-05/0.3792, allocations: 27.92 kB / 0.8095 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.3793, allocations: 11.98 kB / 0.8095 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.3793, allocations: 15.92 kB / 0.8095 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.3794, allocations: 15.92 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3794, allocations: 4 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.3795, allocations: 15.98 kB / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.3795, allocations: 0 / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.3795, allocations: 37.62 kB / 0.8096 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.66e-05/0.3796, allocations: 31.94 kB / 0.8096 GB, free: 27.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.224e-06/0.3797, allocations: 4 kB / 0.8097 GB, free: 27.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3797, allocations: 0 / 0.8097 GB, free: 27.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3797, allocations: 0 / 0.8097 GB, free: 27.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003798/0.3801, allocations: 345.4 kB / 0.81 GB, free: 26.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3801, allocations: 11.97 kB / 0.81 GB, free: 26.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.3802, allocations: 4 kB / 0.81 GB, free: 26.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.3803, allocations: 174.9 kB / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3803, allocations: 0 / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3803, allocations: 4 kB / 0.8102 GB, free: 26.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.3806, allocations: 65.67 kB / 0.8102 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3806, allocations: 4 kB / 0.8102 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3806, allocations: 3.953 kB / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-06/0.3806, allocations: 0 / 0.8102 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3808, allocations: 55.95 kB / 0.8103 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.3812, allocations: 276.8 kB / 0.8106 GB, free: 26.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.3816, allocations: 66.48 kB / 0.8106 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3817, allocations: 36.84 kB / 0.8107 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.3819, allocations: 397.5 kB / 0.811 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.382, allocations: 34.5 kB / 0.8111 GB, free: 25.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.261e-06/0.382, allocations: 0 / 0.8111 GB, free: 25.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004376/0.3824, allocations: 117.5 kB / 0.8112 GB, free: 25.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.3825, allocations: 51.41 kB / 0.8112 GB, free: 25.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.3825, allocations: 117.8 kB / 0.8113 GB, free: 25.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3826, allocations: 29.7 kB / 0.8114 GB, free: 25.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.3826, allocations: 88.2 kB / 0.8115 GB, free: 25.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3826, allocations: 19.77 kB / 0.8115 GB, free: 25.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-06/0.3826, allocations: 4 kB / 0.8115 GB, free: 25.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3828, allocations: 310.8 kB / 0.8118 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3829, allocations: 23.98 kB / 0.8118 GB, free: 24.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3831, allocations: 31.97 kB / 0.8118 GB, free: 24.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3832, allocations: 23.92 kB / 0.8118 GB, free: 24.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-06/0.3832, allocations: 0 / 0.8118 GB, free: 24.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/0.3835, allocations: 89.89 kB / 0.8119 GB, free: 24.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3836, allocations: 7.984 kB / 0.8119 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-06/0.3836, allocations: 0 / 0.8119 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3836, allocations: 4.031 kB / 0.8119 GB, free: 24.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3837, allocations: 15.98 kB / 0.812 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.326e-06/0.3838, allocations: 0 / 0.812 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.761e-05/0.3838, allocations: 11.91 kB / 0.812 GB, free: 24.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3839, allocations: 0 / 0.812 GB, free: 24.53 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: 2 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.384, allocations: 117.8 kB / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.384, allocations: 7.938 kB / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.3844, allocations: 93.48 kB / 0.8122 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3844, allocations: 4 kB / 0.8122 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3844, allocations: 0 / 0.8122 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-06/0.3844, allocations: 0 / 0.8122 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3846, allocations: 169.7 kB / 0.8123 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-06/0.3846, allocations: 0 / 0.8123 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3847, allocations: 15.98 kB / 0.8124 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-06/0.3847, allocations: 0 / 0.8124 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3848, allocations: 3.953 kB / 0.8124 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-06/0.3848, allocations: 0 / 0.8124 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-06/0.3848, allocations: 0 / 0.8124 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3851, allocations: 195.3 kB / 0.8126 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.3852, allocations: 77.11 kB / 0.8126 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3852, allocations: 0 / 0.8126 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3853, allocations: 19.94 kB / 0.8126 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.3854, allocations: 4 kB / 0.8126 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.3854, allocations: 3.938 kB / 0.8127 GB, free: 23.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.3854, allocations: 87.27 kB / 0.8127 GB, free: 23.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.431e-06/0.3855, allocations: 0 / 0.8127 GB, free: 23.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.3858, allocations: 19.94 kB / 0.8128 GB, free: 23.63 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: 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 (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.0001264/0.3859, allocations: 95.25 kB / 0.8128 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3862, allocations: 59.94 kB / 0.8129 GB, free: 23.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.791e-06/0.3862, allocations: 0 / 0.8129 GB, free: 23.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3863, allocations: 35.92 kB / 0.8129 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.3867, allocations: 12.56 kB / 0.8129 GB, free: 23.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.387, allocations: 120.7 kB / 0.8131 GB, free: 23.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.3871, allocations: 0.6809 MB / 0.8137 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.063e-05/0.3872, allocations: 8 kB / 0.8137 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.3872, allocations: 7.438 kB / 0.8137 GB, free: 22.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.645e-06/0.3872, allocations: 0 / 0.8137 GB, free: 22.55 MB / 378.7 MB Notification: Performance of Templates: time 0.003026/0.3903, allocations: 0.6455 MB / 0.8144 GB, free: 21.91 MB / 378.7 MB