Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009117/0.0009118, allocations: 181.6 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 0.5785 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000744/0.0007439, allocations: 84.39 kB / 0.6831 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004443, allocations: 11.09 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 106.3 MB / 0.9012 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.3283, allocations: 132.1 MB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3285, allocations: 75.95 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002755/0.3313, allocations: 1.052 MB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3313, allocations: 0 / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3313, allocations: 0 / 1.031 GB, free: 10.6 MB / 0.6823 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.0003491/0.3317, allocations: 351.4 kB / 1.032 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3317, allocations: 11.97 kB / 1.032 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3317, allocations: 4.844 kB / 1.032 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3319, allocations: 172.3 kB / 1.032 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.3319, allocations: 4.375 kB / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3319, allocations: 8.375 kB / 1.032 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3321, allocations: 62.22 kB / 1.032 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3321, allocations: 192 / 1.032 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3321, allocations: 15.94 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3321, allocations: 0 / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.3323, allocations: 55.95 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3327, allocations: 284.7 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.333, allocations: 66.52 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.3331, allocations: 28.91 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.3334, allocations: 405.5 kB / 1.033 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3334, allocations: 30.56 kB / 1.033 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3334, allocations: 4 kB / 1.033 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0003541/0.3338, allocations: 105.6 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3338, allocations: 59.41 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.3339, allocations: 113.8 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3339, allocations: 25.7 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.334, allocations: 92.03 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.334, allocations: 7.938 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.334, allocations: 0 / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3341, allocations: 318.8 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.3342, allocations: 27.97 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.3343, allocations: 27.92 kB / 1.034 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3345, allocations: 62.53 kB / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3345, allocations: 0 / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002179/0.3347, allocations: 89.5 kB / 1.034 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3347, allocations: 4 kB / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3347, allocations: 0 / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3348, allocations: 0 / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.3348, allocations: 19.98 kB / 1.034 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3349, allocations: 0 / 1.034 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.3349, allocations: 11.98 kB / 1.034 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3349, allocations: 0 / 1.034 GB, free: 7.871 MB / 0.6823 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 7.453e-05/0.335, allocations: 113.8 kB / 1.034 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3351, allocations: 4 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.3353, allocations: 105.3 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3353, allocations: 0 / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3353, allocations: 0 / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3354, allocations: 0 / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3355, allocations: 173.6 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3355, allocations: 0 / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.3356, allocations: 16 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3356, allocations: 3.984 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3356, allocations: 0 / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3356, allocations: 3.938 kB / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3357, allocations: 0 / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3359, allocations: 187.8 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.336, allocations: 81.14 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.336, allocations: 3.984 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3361, allocations: 12 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.3362, allocations: 7.984 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3362, allocations: 0 / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.3362, allocations: 91.27 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3362, allocations: 0 / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002179/0.3365, allocations: 19.91 kB / 1.034 GB, free: 6.961 MB / 0.6823 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.0001612/0.3366, allocations: 107.2 kB / 1.035 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3369, allocations: 55.95 kB / 1.035 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3369, allocations: 4 kB / 1.035 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.337, allocations: 31.91 kB / 1.035 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.3372, allocations: 10.17 kB / 1.035 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.3375, allocations: 136.5 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3377, allocations: 0.6848 MB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.3378, allocations: 7.984 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.3378, allocations: 7.438 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3378, allocations: 0 / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of Templates: time 0.002515/0.3403, allocations: 0.6568 MB / 1.036 GB, free: 5.207 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)