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.193/2.193, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001492/0.001492, allocations: 180.8 kB / 325.6 MB, free: 2.824 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.657/2.657, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001628/0.001628, allocations: 94.3 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004563, allocations: 11.88 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007214/0.2192, allocations: 321.1 kB / 0.8992 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.2195, allocations: 48.73 kB / 0.8992 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.2195, allocations: 8 kB / 0.8992 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.2196, allocations: 3.938 kB / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-06/0.2196, allocations: 3.938 kB / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2198, allocations: 11.98 kB / 0.8993 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.2199, allocations: 19.97 kB / 0.8993 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.22, allocations: 4 kB / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.22, allocations: 11.98 kB / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.22, allocations: 8 kB / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2201, allocations: 4 kB / 0.8993 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.517e-05/0.2202, allocations: 15.97 kB / 0.8993 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2202, allocations: 12 kB / 0.8993 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.2202, allocations: 33.62 kB / 0.8994 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.966e-05/0.2203, allocations: 23.97 kB / 0.8994 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2203, allocations: 0 / 0.8994 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2203, allocations: 0 / 0.8994 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2203, allocations: 0 / 0.8994 GB, free: 64.94 MB / 0.6042 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.0002837/0.2206, allocations: 327.3 kB / 0.8997 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2207, allocations: 11.97 kB / 0.8997 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.2207, allocations: 4 kB / 0.8997 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.2208, allocations: 167 kB / 0.8999 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2208, allocations: 11.94 kB / 0.8999 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.2209, allocations: 4 kB / 0.8999 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.221, allocations: 61.61 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2211, allocations: 0 / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2211, allocations: 0 / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2211, allocations: 4 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.2213, allocations: 99.86 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.2215, allocations: 185.7 kB / 0.9002 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2217, allocations: 70.55 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.222, allocations: 405.5 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.222, allocations: 42.48 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.2221, allocations: 0 / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003226/0.2224, allocations: 109.9 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2224, allocations: 55.41 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.098e-05/0.2225, allocations: 97.77 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2225, allocations: 25.7 kB / 0.901 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.2225, allocations: 84.33 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2226, allocations: 19.75 kB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.2226, allocations: 4 kB / 0.9011 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.2227, allocations: 318.8 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.2227, allocations: 19.98 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.2228, allocations: 19.98 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.2229, allocations: 39.81 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2229, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001867/0.2231, allocations: 85.58 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2231, allocations: 13.25 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2231, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2231, allocations: 4 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.2233, allocations: 19.98 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2233, allocations: 0 / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.2234, allocations: 5.125 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2234, allocations: 4 kB / 0.9016 GB, free: 62.36 MB / 0.6042 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.0001344/0.2236, allocations: 129.7 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.2236, allocations: 7.906 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.2239, allocations: 117.7 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2239, allocations: 4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2239, allocations: 3.938 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2239, allocations: 3.984 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.2241, allocations: 177.5 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2241, allocations: 3.953 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2242, allocations: 23.92 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2243, allocations: 4 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2243, allocations: 8 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2243, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2243, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.2245, allocations: 117.4 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.2245, allocations: 88.97 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2246, allocations: 0 / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.2246, allocations: 4 kB / 0.9023 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2247, allocations: 11.98 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2247, allocations: 4 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.2247, allocations: 75.28 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2247, allocations: 0 / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002754/0.225, allocations: 16 kB / 0.9024 GB, free: 61.47 MB / 0.6042 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.0001776/0.2252, allocations: 111.2 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2254, allocations: 60.89 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2254, allocations: 4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.2255, allocations: 39.91 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.2256, allocations: 4.438 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.2259, allocations: 142.7 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2261, allocations: 0.6848 MB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.2262, allocations: 47.78 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.2263, allocations: 11.44 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.2263, allocations: 4 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.003299/0.2296, allocations: 0.5602 MB / 0.904 GB, free: 59.75 MB / 0.6042 GB