Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.277/1.277, allocations: 252 MB / 267.9 MB, free: 10.91 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.001004/0.001004, allocations: 189.6 kB / 327.6 MB, free: 2.148 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.415/1.415, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0007593/0.0007594, allocations: 92.7 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003705, allocations: 15.97 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.3202, allocations: 131 MB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.3205, allocations: 75.94 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002041/0.3225, allocations: 0.8252 MB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3226, allocations: 0 / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3226, allocations: 4 kB / 1.03 GB, free: 11.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000253/0.3228, allocations: 339.5 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3229, allocations: 8.031 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.3229, allocations: 8.875 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.323, allocations: 160.4 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.323, allocations: 8.359 kB / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3231, allocations: 4.375 kB / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3232, allocations: 62.17 kB / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3232, allocations: 192 / 1.031 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3232, allocations: 7.938 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3233, allocations: 4 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3234, allocations: 103.8 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3236, allocations: 177.6 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.3237, allocations: 74.47 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.3237, allocations: 37.11 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.324, allocations: 401.5 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.324, allocations: 34.56 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3241, allocations: 4 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0002404/0.3243, allocations: 121.5 kB / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.3243, allocations: 55.41 kB / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.3244, allocations: 93.86 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3244, allocations: 25.7 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.3245, allocations: 80.14 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.3245, allocations: 23.66 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.3245, allocations: 0 / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3246, allocations: 322.8 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.3247, allocations: 23.98 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.3247, allocations: 19.98 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.905e-05/0.3248, allocations: 56.78 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3248, allocations: 0 / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001378/0.325, allocations: 97.5 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.325, allocations: 4 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.325, allocations: 3.938 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.325, allocations: 4 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.3251, allocations: 15.98 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3251, allocations: 8 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.3252, allocations: 7.938 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3252, allocations: 4 kB / 1.032 GB, free: 8.91 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: 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 9.002e-05/0.3253, allocations: 121.8 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.3253, allocations: 4 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3255, allocations: 122.5 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3255, allocations: 4 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3255, allocations: 4 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3255, allocations: 0 / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.3257, allocations: 177.6 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3257, allocations: 0 / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.3257, allocations: 16 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.3258, allocations: 3.938 kB / 1.033 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3258, allocations: 11.92 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3258, allocations: 4 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3258, allocations: 0 / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.326, allocations: 125.1 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.326, allocations: 88.97 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.326, allocations: 4 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.3261, allocations: 0 / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3261, allocations: 11.98 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.3261, allocations: 7.938 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.3261, allocations: 75.28 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.3262, allocations: 0 / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002058/0.3264, allocations: 23.94 kB / 1.033 GB, free: 8.016 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: 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.0001664/0.3265, allocations: 120.4 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.3267, allocations: 59.91 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3267, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.3268, allocations: 35.92 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3269, allocations: 11.12 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.3272, allocations: 146.7 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3274, allocations: 0.6848 MB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.3275, allocations: 39.8 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.3275, allocations: 15.44 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/0.3275, allocations: 0 / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of Templates: time 0.002274/0.3298, allocations: 0.5741 MB / 1.035 GB, free: 6.277 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)