Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.633/1.633, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009321/0.000932, allocations: 178.9 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008059/0.0008061, allocations: 97.19 kB / 0.7808 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004058, allocations: 15.98 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7619, allocations: 120.3 MB / 1.026 GB, free: 56.59 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/0.9771, allocations: 141.6 MB / 1.165 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.9774, allocations: 75.95 kB / 1.165 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003756/0.9812, allocations: 1.062 MB / 1.166 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9812, allocations: 0 / 1.166 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.9812, allocations: 0 / 1.166 GB, free: 15.48 MB / 0.7448 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.0005/0.9817, allocations: 353.6 kB / 1.166 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.9818, allocations: 12.03 kB / 1.166 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.9818, allocations: 5.688 kB / 1.166 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.982, allocations: 168.4 kB / 1.166 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.982, allocations: 8.859 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.982, allocations: 5.031 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.9823, allocations: 68.52 kB / 1.166 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9823, allocations: 192 / 1.166 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.9823, allocations: 3.938 kB / 1.166 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.9823, allocations: 4 kB / 1.166 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.9826, allocations: 55.81 kB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.9831, allocations: 287 kB / 1.167 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.9835, allocations: 66.48 kB / 1.167 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.9837, allocations: 32.89 kB / 1.167 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.9841, allocations: 397.5 kB / 1.167 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.9841, allocations: 30.56 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.9841, allocations: 4 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005386/0.9847, allocations: 118 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.9847, allocations: 51.41 kB / 1.167 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.9848, allocations: 113.8 kB / 1.167 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.9849, allocations: 29.7 kB / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.9849, allocations: 84.14 kB / 1.168 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.985, allocations: 7.891 kB / 1.168 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.985, allocations: 0 / 1.168 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9851, allocations: 322.8 kB / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.9853, allocations: 27.98 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.9854, allocations: 23.91 kB / 1.168 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.9856, allocations: 54.84 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9856, allocations: 4 kB / 1.168 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002936/0.9859, allocations: 93.58 kB / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.986, allocations: 5.562 kB / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.986, allocations: 0 / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.986, allocations: 0 / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.9861, allocations: 19.98 kB / 1.168 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.9861, allocations: 0 / 1.168 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.9862, allocations: 11.92 kB / 1.168 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.9862, allocations: 4 kB / 1.168 GB, free: 12.76 MB / 0.7448 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 8.945e-05/0.9863, allocations: 113.8 kB / 1.168 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.9864, allocations: 7.906 kB / 1.168 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.9867, allocations: 97.48 kB / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9867, allocations: 0 / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9867, allocations: 0 / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.9868, allocations: 0 / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.987, allocations: 177.6 kB / 1.168 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.987, allocations: 0 / 1.168 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.9871, allocations: 20.97 kB / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.9871, allocations: 0 / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.9871, allocations: 0 / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9871, allocations: 0 / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9872, allocations: 4 kB / 1.168 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.9875, allocations: 187.4 kB / 1.169 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.9876, allocations: 85.02 kB / 1.169 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.9876, allocations: 0 / 1.169 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.9877, allocations: 11.98 kB / 1.169 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.9878, allocations: 4.688 kB / 1.169 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.9878, allocations: 7.938 kB / 1.169 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.9879, allocations: 87.28 kB / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9879, allocations: 0 / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003637/0.9883, allocations: 15.98 kB / 1.169 GB, free: 11.86 MB / 0.7448 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.0002037/0.9885, allocations: 111.7 kB / 1.169 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.9888, allocations: 57.5 kB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9888, allocations: 0 / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.989, allocations: 31.97 kB / 1.169 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.9894, allocations: 9.484 kB / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.9898, allocations: 129.1 kB / 1.169 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.9901, allocations: 0.6848 MB / 1.17 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.483e-05/0.9902, allocations: 0 / 1.17 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.9902, allocations: 15.42 kB / 1.17 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.9902, allocations: 0 / 1.17 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.0032/0.9934, allocations: 0.648 MB / 1.17 GB, free: 10.13 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)