Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4844/0.4844, allocations: 92 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.2 MB / 354.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009619, allocations: 103.1 kB / 427.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 12 kB / 0.4983 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 72.31 MB / 0.5689 GB, free: 1.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5549/0.7286, allocations: 100.8 MB / 0.6673 GB, free: 3.578 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.729, allocations: 75.94 kB / 0.6674 GB, free: 3.504 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002093/0.7311, allocations: 0.8315 MB / 0.6682 GB, free: 2.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.7311, allocations: 0 / 0.6682 GB, free: 2.684 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.7311, allocations: 4 kB / 0.6682 GB, free: 2.68 MB / 458.7 MB 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.00033/0.7315, allocations: 338 kB / 0.6686 GB, free: 2.305 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7315, allocations: 8.031 kB / 0.6686 GB, free: 2.297 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.7316, allocations: 7.953 kB / 0.6686 GB, free: 2.289 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.7317, allocations: 163.1 kB / 0.6687 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.7317, allocations: 4 kB / 0.6687 GB, free: 2.086 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.7317, allocations: 4 kB / 0.6687 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.7319, allocations: 57.67 kB / 0.6688 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7319, allocations: 3.938 kB / 0.6688 GB, free: 2.016 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.7319, allocations: 4 kB / 0.6688 GB, free: 2.012 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7319, allocations: 0 / 0.6688 GB, free: 2.012 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.7321, allocations: 115.8 kB / 0.6689 GB, free: 1.898 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.7323, allocations: 174.5 kB / 0.6691 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.7324, allocations: 70.55 kB / 0.6691 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.7328, allocations: 401.5 kB / 0.6695 GB, free: 1.117 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.7328, allocations: 30.56 kB / 0.6696 GB, free: 1.078 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 6.172e-06/0.7328, allocations: 0 / 0.6696 GB, free: 1.078 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002624/0.7331, allocations: 121.8 kB / 0.6697 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.7332, allocations: 55.41 kB / 0.6697 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.7332, allocations: 89 kB / 0.6698 GB, free: 0.793 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7332, allocations: 25.7 kB / 0.6698 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.7333, allocations: 84.33 kB / 0.6699 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.7333, allocations: 23.66 kB / 0.6699 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.7333, allocations: 4 kB / 0.6699 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7335, allocations: 318.8 kB / 0.6702 GB, free: 332 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.7335, allocations: 19.98 kB / 0.6703 GB, free: 312 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.7336, allocations: 24.53 kB / 0.6703 GB, free: 288 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.7336, allocations: 28.64 kB / 0.6703 GB, free: 260 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7336, allocations: 0 / 0.6703 GB, free: 260 kB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000159/0.7338, allocations: 93.48 kB / 0.6704 GB, free: 160 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.7338, allocations: 8 kB / 0.6704 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7339, allocations: 0 / 0.6704 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.7339, allocations: 3.984 kB / 0.6704 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.734, allocations: 23.92 kB / 0.6704 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.734, allocations: 0.875 kB / 0.6704 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.7341, allocations: 7.906 kB / 0.6704 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.7341, allocations: 8 kB / 0.6705 GB, free: 108 kB / 458.7 MB 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.0001525/0.7342, allocations: 129.7 kB / 0.6706 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.7343, allocations: 0 / 0.6706 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.7345, allocations: 126.3 kB / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7346, allocations: 0 / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7346, allocations: 0 / 0.6707 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7346, allocations: 4 kB / 0.6707 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.7348, allocations: 182.1 kB / 0.6709 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7348, allocations: 4 kB / 0.6709 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.7349, allocations: 19.92 kB / 0.6709 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7349, allocations: 4 kB / 0.6709 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.7349, allocations: 5.875 kB / 0.6709 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7349, allocations: 0 / 0.6709 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7349, allocations: 0 / 0.6709 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.7351, allocations: 125.4 kB / 0.671 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.7352, allocations: 81.11 kB / 0.6711 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.7352, allocations: 0 / 0.6711 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.7352, allocations: 0 / 0.6711 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.7353, allocations: 11.98 kB / 0.6711 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-06/0.7353, allocations: 4 kB / 0.6711 GB, free: 15.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.283e-05/0.7353, allocations: 75.28 kB / 0.6712 GB, free: 15.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7353, allocations: 0 / 0.6712 GB, free: 15.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.7356, allocations: 27.88 kB / 0.6712 GB, free: 15.22 MB / 474.7 MB 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.0002619/0.7359, allocations: 119.2 kB / 0.6713 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.736, allocations: 55.97 kB / 0.6714 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7361, allocations: 0 / 0.6714 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.7361, allocations: 39.91 kB / 0.6714 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.7363, allocations: 1.562 kB / 0.6714 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.7366, allocations: 155.1 kB / 0.6716 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.737, allocations: 0.6848 MB / 0.6722 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.404e-05/0.7371, allocations: 39.92 kB / 0.6723 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.7371, allocations: 11.44 kB / 0.6723 GB, free: 14.06 MB / 474.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7371, allocations: 0 / 0.6723 GB, free: 14.06 MB / 474.7 MB Notification: Performance of Templates: time 0.003116/0.7402, allocations: 0.5578 MB / 0.6728 GB, free: 13.51 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)