Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005839/0.000584, allocations: 14.81 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001913/0.2807, allocations: 1.24 MB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.2811, allocations: 137.7 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.2812, allocations: 0 / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.2812, allocations: 3.938 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.2813, allocations: 4 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.2815, allocations: 27.89 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.2816, allocations: 16 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.2817, allocations: 11.97 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.2818, allocations: 11.94 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.2818, allocations: 19.92 kB / 0.7885 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2818, allocations: 0 / 0.7885 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.2819, allocations: 15.98 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.2819, allocations: 11.97 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.282, allocations: 29.7 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.2821, allocations: 27.95 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2821, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2821, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2821, allocations: 3.938 kB / 0.7886 GB, free: 10.4 MB / 0.6075 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.0004856/0.2826, allocations: 351.5 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2826, allocations: 8.031 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.2827, allocations: 4 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2828, allocations: 174.9 kB / 0.7891 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.2828, allocations: 0 / 0.7891 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2829, allocations: 4 kB / 0.7891 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.2831, allocations: 69.66 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2831, allocations: 4 kB / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2831, allocations: 0 / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2831, allocations: 0 / 0.7892 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.2834, allocations: 55.89 kB / 0.7893 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.2838, allocations: 288.8 kB / 0.7895 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.2841, allocations: 62.53 kB / 0.7896 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.2844, allocations: 397.7 kB / 0.79 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2845, allocations: 42.5 kB / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2845, allocations: 0 / 0.79 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004154/0.2849, allocations: 113.5 kB / 0.7901 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.285, allocations: 51.41 kB / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.2851, allocations: 113.8 kB / 0.7903 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2851, allocations: 25.7 kB / 0.7903 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.2851, allocations: 80.14 kB / 0.7904 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.2851, allocations: 7.906 kB / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2852, allocations: 0 / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2853, allocations: 322.8 kB / 0.7907 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.2854, allocations: 27.98 kB / 0.7907 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.665e-05/0.2855, allocations: 27.92 kB / 0.7908 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.2856, allocations: 31.91 kB / 0.7908 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2856, allocations: 4 kB / 0.7908 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002236/0.2858, allocations: 77.66 kB / 0.7909 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2858, allocations: 4 kB / 0.7909 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2859, allocations: 336 / 0.7909 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2859, allocations: 0 / 0.7909 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.286, allocations: 19.98 kB / 0.7909 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.286, allocations: 0 / 0.7909 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.2861, allocations: 19.89 kB / 0.7909 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.2861, allocations: 0 / 0.7909 GB, free: 7.754 MB / 0.6075 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 7.762e-05/0.2862, allocations: 117.7 kB / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2862, allocations: 4 kB / 0.791 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.2865, allocations: 101.5 kB / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2865, allocations: 0 / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2865, allocations: 0 / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2865, allocations: 0 / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2867, allocations: 169.6 kB / 0.7913 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2867, allocations: 0 / 0.7913 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.2868, allocations: 20 kB / 0.7913 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2868, allocations: 3.984 kB / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2868, allocations: 0 / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2868, allocations: 0 / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2868, allocations: 0 / 0.7913 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2871, allocations: 195.3 kB / 0.7915 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.2872, allocations: 77.11 kB / 0.7916 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2872, allocations: 3.984 kB / 0.7916 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.2873, allocations: 8 kB / 0.7916 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.2873, allocations: 7.984 kB / 0.7916 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2874, allocations: 4 kB / 0.7916 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.2874, allocations: 91.27 kB / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2874, allocations: 0 / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002332/0.2876, allocations: 11.94 kB / 0.7917 GB, free: 6.848 MB / 0.6075 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.0001576/0.2878, allocations: 103.2 kB / 0.7918 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.2881, allocations: 55.95 kB / 0.7918 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2881, allocations: 0 / 0.7918 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2882, allocations: 35.91 kB / 0.7919 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2884, allocations: 11.89 kB / 0.7919 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.2887, allocations: 128.6 kB / 0.792 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2889, allocations: 0.6887 MB / 0.7927 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.289, allocations: 4 kB / 0.7927 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.289, allocations: 7.438 kB / 0.7927 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.289, allocations: 0 / 0.7927 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.002803/0.2918, allocations: 0.6372 MB / 0.7933 GB, free: 5.125 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: