Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.001093/0.001093, allocations: 175.8 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.629/1.629, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0009859/0.0009859, allocations: 88.38 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 272.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004761, allocations: 17.25 kB / 0.6929 GB, free: 59.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 82.8 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.3696, allocations: 108 MB / 0.8792 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.3699, allocations: 77.98 kB / 0.8792 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002591/0.3725, allocations: 0.8166 MB / 0.88 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3725, allocations: 4 kB / 0.88 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3725, allocations: 0 / 0.88 GB, free: 0.832 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003998/0.373, allocations: 327.4 kB / 0.8803 GB, free: 476 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.373, allocations: 12.56 kB / 0.8803 GB, free: 464 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.3731, allocations: 7.844 kB / 0.8804 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3733, allocations: 175 kB / 0.8805 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3733, allocations: 7.953 kB / 0.8805 GB, free: 232 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3733, allocations: 4 kB / 0.8805 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3735, allocations: 61.61 kB / 0.8806 GB, free: 160 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3736, allocations: 4 kB / 0.8806 GB, free: 156 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3736, allocations: 0 / 0.8806 GB, free: 156 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3736, allocations: 4 kB / 0.8806 GB, free: 152 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.3738, allocations: 103.8 kB / 0.8807 GB, free: 48 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4162/0.79, allocations: 168.1 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.7903, allocations: 71.7 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003746/0.7907, allocations: 406 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.7908, allocations: 34.67 kB / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=11): time 4.208e-06/0.7908, allocations: 0 / 0.8814 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0003835/0.7912, allocations: 111.9 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7912, allocations: 57.16 kB / 0.8815 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/0.7913, allocations: 92.59 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.7913, allocations: 26.36 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.7913, allocations: 83.33 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.7914, allocations: 25.67 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.7914, allocations: 2.5 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.7915, allocations: 321 kB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.7915, allocations: 17.92 kB / 0.8821 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.7916, allocations: 23.08 kB / 0.8821 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.7917, allocations: 25.66 kB / 0.8821 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7917, allocations: 0 / 0.8821 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002548/0.792, allocations: 91.92 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.792, allocations: 5.562 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7921, allocations: 0.7188 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.7921, allocations: 11.25 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.7923, allocations: 18.56 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7923, allocations: 1 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.7923, allocations: 4.719 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.7924, allocations: 7.094 kB / 0.8822 GB, free: 107.9 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: 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.0001444/0.7925, allocations: 130 kB / 0.8824 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.7926, allocations: 6.484 kB / 0.8824 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.7929, allocations: 129.4 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7929, allocations: 0 / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7929, allocations: 3.953 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.7929, allocations: 5.797 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.7931, allocations: 170.7 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7931, allocations: 2.75 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.7932, allocations: 21.53 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.7932, allocations: 4.781 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.7932, allocations: 6.031 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7933, allocations: 0.9688 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7933, allocations: 0 / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.7935, allocations: 125.5 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.7935, allocations: 77.11 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.7935, allocations: 0.7031 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.7936, allocations: 10.09 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.7936, allocations: 10.48 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.7936, allocations: 2.375 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.667e-05/0.7937, allocations: 83.23 kB / 0.883 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7937, allocations: 0 / 0.883 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003237/0.794, allocations: 19.69 kB / 0.883 GB, free: 107.3 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: 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.0002254/0.7942, allocations: 113.9 kB / 0.8831 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.7944, allocations: 66.25 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7944, allocations: 0 / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.7945, allocations: 35.03 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.7947, allocations: 9.312 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.795, allocations: 152.7 kB / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.7951, allocations: 0.6846 MB / 0.884 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.7953, allocations: 36.89 kB / 0.8841 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.7953, allocations: 16.45 kB / 0.8841 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.7953, allocations: 4 kB / 0.8841 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.003094/0.7984, allocations: 0.562 MB / 0.8846 GB, free: 106.3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)