Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.4 MB / 303.4 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 180.5 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 0.6307 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 93.16 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005952/0.0005953, allocations: 13.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2726, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007888/0.2734, allocations: 319.7 kB / 0.9799 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.2737, allocations: 47.89 kB / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.2738, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.2738, allocations: 4 kB / 0.98 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.875e-06/0.2738, allocations: 0 / 0.98 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.2741, allocations: 15.92 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.389e-05/0.2742, allocations: 19.98 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.2743, allocations: 0 / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.2743, allocations: 23.97 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.2744, allocations: 8 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2744, allocations: 4 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.2745, allocations: 19.92 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.2746, allocations: 11.98 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2746, allocations: 33.62 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.2747, allocations: 15.98 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2747, allocations: 4 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2747, allocations: 0 / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.2747, allocations: 0 / 0.9801 GB, free: 27.12 MB / 0.6198 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.0002966/0.275, allocations: 323.7 kB / 0.9804 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2751, allocations: 8.031 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2751, allocations: 11.89 kB / 0.9804 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.104e-05/0.2752, allocations: 167 kB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2752, allocations: 7.938 kB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2753, allocations: 4 kB / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2754, allocations: 57.67 kB / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.2755, allocations: 0 / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2755, allocations: 8 kB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2755, allocations: 7.938 kB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2757, allocations: 103.9 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.2759, allocations: 173.6 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.276, allocations: 70.55 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.2761, allocations: 28.84 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.2764, allocations: 401.5 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2764, allocations: 34.55 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/0.2764, allocations: 8.328 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002776/0.2767, allocations: 113.4 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.2768, allocations: 55.41 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.845e-05/0.2768, allocations: 93.86 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2768, allocations: 25.7 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.476e-05/0.2768, allocations: 84.33 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.2769, allocations: 27.64 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.2769, allocations: 4 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.277, allocations: 318.8 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.277, allocations: 19.98 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.2771, allocations: 24.36 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.2771, allocations: 28.14 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2771, allocations: 4 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001523/0.2773, allocations: 89.56 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2773, allocations: 4 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2774, allocations: 8 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2774, allocations: 3.938 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2775, allocations: 19.98 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2775, allocations: 4 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.2776, allocations: 7.906 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2776, allocations: 4 kB / 0.9823 GB, free: 24.5 MB / 0.6198 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.0001235/0.2777, allocations: 125.8 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.2777, allocations: 3.953 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.278, allocations: 125.6 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.278, allocations: 8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.278, allocations: 0 / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.278, allocations: 3.984 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2782, allocations: 169.7 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2782, allocations: 0 / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.2783, allocations: 23.92 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2783, allocations: 3.953 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2783, allocations: 8 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2783, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2783, allocations: 0 / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.2785, allocations: 125.3 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.2785, allocations: 85.05 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.2786, allocations: 3.953 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.2786, allocations: 0 / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2786, allocations: 15.97 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.2787, allocations: 4 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.315e-05/0.2787, allocations: 75.28 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2787, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000282/0.279, allocations: 24 kB / 0.9831 GB, free: 23.62 MB / 0.6198 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.0001809/0.2792, allocations: 113.3 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.2793, allocations: 63.91 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2793, allocations: 0 / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.2794, allocations: 35.91 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.2796, allocations: 8.75 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.2799, allocations: 150.6 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.28, allocations: 0.6809 MB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.936e-05/0.2802, allocations: 31.95 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.2802, allocations: 19.42 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.2802, allocations: 0 / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.00325/0.2835, allocations: 0.5772 MB / 0.9848 GB, free: 21.89 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)