Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.78/2.78, allocations: 287.5 MB / 302.4 MB, free: 8.383 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.001279/0.00128, allocations: 190 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001317/0.001317, allocations: 94.16 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 12.94 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002499/0.2729, allocations: 1.243 MB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004973/0.2734, allocations: 124.5 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.2735, allocations: 4 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.2735, allocations: 3.938 kB / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.2736, allocations: 0 / 0.9797 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.274, allocations: 31.91 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.138e-05/0.2741, allocations: 27.92 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2742, allocations: 11.98 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.2743, allocations: 11.98 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.2743, allocations: 15.92 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2744, allocations: 4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.2745, allocations: 15.98 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2745, allocations: 7.922 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2746, allocations: 33.7 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.2747, allocations: 27.89 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2747, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.288e-06/0.2747, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2747, allocations: 3.938 kB / 0.9799 GB, free: 26.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005931/0.2753, allocations: 351.5 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2754, allocations: 12.02 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.2755, allocations: 8 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2756, allocations: 174.9 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.2757, allocations: 4 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.2757, allocations: 0 / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.276, allocations: 69.61 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2761, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.2761, allocations: 3.984 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2761, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.2766, allocations: 59.94 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.2771, allocations: 276.8 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.2778, allocations: 66.47 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2781, allocations: 32.91 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.2784, allocations: 397.5 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2784, allocations: 34.55 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.2784, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007905/0.2792, allocations: 113.5 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2793, allocations: 59.36 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2794, allocations: 113.8 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2794, allocations: 25.7 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.2795, allocations: 84.12 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.2795, allocations: 11.91 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.2796, allocations: 0 / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.2797, allocations: 314.8 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2799, allocations: 23.98 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.2801, allocations: 27.97 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2803, allocations: 23.98 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2803, allocations: 3.938 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004821/0.2808, allocations: 85.64 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2809, allocations: 7.938 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.2809, allocations: 8 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2809, allocations: 0 / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.2811, allocations: 11.98 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2811, allocations: 0 / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2813, allocations: 15.86 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2813, allocations: 4 kB / 0.9822 GB, free: 24.1 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: 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 9.262e-05/0.2814, allocations: 113.8 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.2815, allocations: 7.938 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.282, allocations: 93.55 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2821, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2821, allocations: 4 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2821, allocations: 0 / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.2824, allocations: 173.7 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2824, allocations: 3.938 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2826, allocations: 11.98 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2826, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2826, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.2827, allocations: 8 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2827, allocations: 0 / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.2832, allocations: 196.6 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.2833, allocations: 77.11 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2833, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.2835, allocations: 7.984 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.2836, allocations: 15.98 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2836, allocations: 0 / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.2837, allocations: 83.28 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2837, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005305/0.2843, allocations: 15.94 kB / 0.983 GB, free: 23.2 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: 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.0002078/0.2845, allocations: 107.2 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.285, allocations: 51.95 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.285, allocations: 4 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.2852, allocations: 23.98 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.2858, allocations: 25.7 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.2863, allocations: 124.7 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.2865, allocations: 0.6848 MB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.2866, allocations: 4 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.2866, allocations: 7.438 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2866, allocations: 4 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.004565/0.2912, allocations: 0.6468 MB / 0.9846 GB, free: 21.47 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)