Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7947/0.7947, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 177 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009338, allocations: 84.39 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 275.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004855, allocations: 11.44 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1962, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.3662, allocations: 109 MB / 0.8802 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.3665, allocations: 73.98 kB / 0.8803 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4198/0.7864, allocations: 1.055 MB / 0.8813 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.075e-06/0.7864, allocations: 1.656 kB / 0.8813 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7865, allocations: 3.75 kB / 0.8813 GB, free: 109.3 MB / 0.5417 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.0004016/0.7869, allocations: 361.4 kB / 0.8816 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.7869, allocations: 9.906 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.787, allocations: 1.25 kB / 0.8817 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/0.7871, allocations: 161.8 kB / 0.8818 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.7871, allocations: 6.812 kB / 0.8818 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.7871, allocations: 2.031 kB / 0.8818 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.7873, allocations: 73.62 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7873, allocations: 0 / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7874, allocations: 0.9375 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7874, allocations: 3.156 kB / 0.8819 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.7876, allocations: 61.77 kB / 0.882 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.788, allocations: 283 kB / 0.8822 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.7883, allocations: 68.61 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.7886, allocations: 400.2 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.7886, allocations: 31.56 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.7886, allocations: 4 kB / 0.8827 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003977/0.789, allocations: 113.7 kB / 0.8828 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.7891, allocations: 51.41 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.7891, allocations: 107.5 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.7891, allocations: 25.7 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.7892, allocations: 86.52 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.7892, allocations: 9.25 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.7892, allocations: 4.5 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.7893, allocations: 316 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.7894, allocations: 27.5 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.7895, allocations: 25.88 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.428e-05/0.7895, allocations: 23.36 kB / 0.8835 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7896, allocations: 0 / 0.8835 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002052/0.7898, allocations: 93.56 kB / 0.8835 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7898, allocations: 6.281 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7898, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7898, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.7899, allocations: 14.59 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7899, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.79, allocations: 21.7 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.79, allocations: 0 / 0.8836 GB, free: 107.2 MB / 0.5417 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 (falFac.y,falFac.k) * 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 6.809e-05/0.7901, allocations: 112.6 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.7901, allocations: 6.312 kB / 0.8837 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.7904, allocations: 98.25 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7904, allocations: 4.375 kB / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7904, allocations: 0 / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7904, allocations: 0 / 0.8838 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.7905, allocations: 173.2 kB / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7906, allocations: 3.094 kB / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.7906, allocations: 11.97 kB / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7906, allocations: 4 kB / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.7907, allocations: 3.562 kB / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.7907, allocations: 3.156 kB / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7907, allocations: 0 / 0.884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.7909, allocations: 176.8 kB / 0.8842 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.7909, allocations: 88.34 kB / 0.8842 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.791, allocations: 6.344 kB / 0.8842 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.7911, allocations: 13.28 kB / 0.8843 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.7911, allocations: 2.781 kB / 0.8843 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.7911, allocations: 4.641 kB / 0.8843 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.7912, allocations: 87.55 kB / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7912, allocations: 0 / 0.8844 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002181/0.7914, allocations: 17.62 kB / 0.8844 GB, free: 106.5 MB / 0.5417 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 (falFac.y,falFac.k) * 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.0002008/0.7916, allocations: 125 kB / 0.8845 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.7919, allocations: 54.98 kB / 0.8845 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7919, allocations: 0 / 0.8845 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.792, allocations: 32.77 kB / 0.8846 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.7922, allocations: 0 / 0.8846 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.7926, allocations: 125.1 kB / 0.8847 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.7928, allocations: 0.6882 MB / 0.8854 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.7928, allocations: 6.688 kB / 0.8854 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.7929, allocations: 10.19 kB / 0.8854 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.7929, allocations: 0 / 0.8854 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.003232/0.7961, allocations: 0.6362 MB / 0.886 GB, free: 105.5 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)