Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 304.3 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 184.5 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007786/0.0007784, allocations: 102.1 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 17.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2087, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6984/0.9071, allocations: 137.3 MB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.9074, allocations: 70.8 kB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002285/0.9097, allocations: 0.8314 MB / 1.116 GB, free: 32.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9097, allocations: 0 / 1.116 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.9097, allocations: 4 kB / 1.116 GB, free: 32.08 MB / 0.698 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.0003471/0.9101, allocations: 327.3 kB / 1.116 GB, free: 31.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9102, allocations: 11.56 kB / 1.116 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.9102, allocations: 5.469 kB / 1.116 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.9103, allocations: 167.3 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9103, allocations: 7.5 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.9103, allocations: 4.188 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.9105, allocations: 64.67 kB / 1.116 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.9105, allocations: 192 / 1.116 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.9105, allocations: 14.7 kB / 1.116 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9105, allocations: 0 / 1.116 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.9107, allocations: 98.81 kB / 1.116 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.9108, allocations: 170.1 kB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.9109, allocations: 72.62 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.911, allocations: 35.52 kB / 1.117 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.9113, allocations: 402.9 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.9114, allocations: 38.06 kB / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.9114, allocations: 0 / 1.117 GB, free: 30.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002241/0.9116, allocations: 114.5 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.9116, allocations: 51.62 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.9117, allocations: 97.33 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.9117, allocations: 29.64 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.9117, allocations: 80.14 kB / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.9118, allocations: 25.83 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.9118, allocations: 3.312 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9119, allocations: 314.8 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.912, allocations: 28.84 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.912, allocations: 21.98 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.9121, allocations: 61.59 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9121, allocations: 0 / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000113/0.9122, allocations: 88.03 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9122, allocations: 7.719 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.9122, allocations: 3.938 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.9123, allocations: 0 / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.9124, allocations: 26.47 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9124, allocations: 0 / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.9124, allocations: 7.562 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.9124, allocations: 6.031 kB / 1.118 GB, free: 30.03 MB / 0.698 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.0001198/0.9125, allocations: 119.9 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.9126, allocations: 10.66 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.9128, allocations: 126.6 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9128, allocations: 3.812 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9128, allocations: 0 / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9128, allocations: 0 / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.9129, allocations: 181.2 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.913, allocations: 0 / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.913, allocations: 18.42 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.913, allocations: 3.938 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.9131, allocations: 3.812 kB / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.9131, allocations: 0 / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.9131, allocations: 0 / 1.118 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.9132, allocations: 132.9 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.9133, allocations: 84.95 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.9133, allocations: 3.25 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.9133, allocations: 7.75 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.9133, allocations: 7.484 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.9134, allocations: 7.281 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.967e-05/0.9134, allocations: 75.28 kB / 1.119 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.9134, allocations: 4 kB / 1.119 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002082/0.9136, allocations: 22.78 kB / 1.119 GB, free: 29.4 MB / 0.698 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.0002087/0.9138, allocations: 109.9 kB / 1.119 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.914, allocations: 65.39 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.914, allocations: 0 / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.914, allocations: 34.84 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.9142, allocations: 10.73 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.9145, allocations: 156.6 kB / 1.119 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.9148, allocations: 0.6897 MB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.934e-05/0.9149, allocations: 35.22 kB / 1.12 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.9149, allocations: 11.31 kB / 1.12 GB, free: 28.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9149, allocations: 3.812 kB / 1.12 GB, free: 28.46 MB / 0.698 GB Notification: Performance of Templates: time 0.002402/0.9173, allocations: 0.5724 MB / 1.12 GB, free: 28.39 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)