Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001273/0.001273, allocations: 179.9 kB / 377.1 MB, free: 1.527 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.762/1.762, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009337/0.0009336, allocations: 85.39 kB / 0.751 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003925, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7021/0.9546, allocations: 138.3 MB / 1.123 GB, free: 36.13 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.9549, allocations: 74.94 kB / 1.124 GB, free: 36.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001774/0.9567, allocations: 0.8195 MB / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9567, allocations: 0 / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.9567, allocations: 4 kB / 1.124 GB, free: 35.43 MB / 0.7292 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.0002353/0.9569, allocations: 332.5 kB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.957, allocations: 8.031 kB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.957, allocations: 14.58 kB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.397e-05/0.9571, allocations: 163 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.9571, allocations: 3.938 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.9571, allocations: 8 kB / 1.125 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.9573, allocations: 65.69 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9573, allocations: 1.875 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9573, allocations: 4.656 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.9573, allocations: 0 / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.9575, allocations: 103.3 kB / 1.125 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.9577, allocations: 168.9 kB / 1.125 GB, free: 34.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.9578, allocations: 77.02 kB / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.958, allocations: 405.4 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.9581, allocations: 38.56 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.9581, allocations: 0 / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002156/0.9583, allocations: 115.2 kB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.9583, allocations: 51.41 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.613e-05/0.9583, allocations: 92.91 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.9584, allocations: 25.7 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.52e-05/0.9584, allocations: 87.72 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.9584, allocations: 24.5 kB / 1.126 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.9584, allocations: 4 kB / 1.126 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.9585, allocations: 314.8 kB / 1.126 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.9585, allocations: 22.33 kB / 1.126 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.9586, allocations: 22.98 kB / 1.126 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.9586, allocations: 28.23 kB / 1.126 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9586, allocations: 0 / 1.126 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001177/0.9588, allocations: 89.67 kB / 1.126 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.9588, allocations: 8 kB / 1.126 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.9588, allocations: 0.9375 kB / 1.126 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.9588, allocations: 3.609 kB / 1.126 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.9589, allocations: 23.94 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.9589, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.959, allocations: 4.438 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.959, allocations: 11.42 kB / 1.127 GB, free: 33.01 MB / 0.7292 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 7.245e-05/0.959, allocations: 121.3 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.9591, allocations: 7.859 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.9593, allocations: 123 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.9593, allocations: 3.938 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9593, allocations: 5.422 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9593, allocations: 0.7969 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.9594, allocations: 176.5 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.9594, allocations: 4 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.9595, allocations: 15.38 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9595, allocations: 4 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.9595, allocations: 4.828 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9595, allocations: 0 / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9595, allocations: 4 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.9596, allocations: 121.7 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.9597, allocations: 88.98 kB / 1.127 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.9597, allocations: 0.5625 kB / 1.127 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.6e-05/0.9597, allocations: 4.953 kB / 1.127 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.9597, allocations: 8.125 kB / 1.127 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.9597, allocations: 11.56 kB / 1.127 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.401e-05/0.9598, allocations: 79.28 kB / 1.127 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.9598, allocations: 0 / 1.127 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001927/0.96, allocations: 24.59 kB / 1.127 GB, free: 32.18 MB / 0.7292 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.0001646/0.9601, allocations: 110.7 kB / 1.127 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.9603, allocations: 58.67 kB / 1.127 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9603, allocations: 8 kB / 1.127 GB, free: 32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.9603, allocations: 30.98 kB / 1.127 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.697e-05/0.9604, allocations: 9.641 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.9607, allocations: 147.9 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.9608, allocations: 0.6878 MB / 1.128 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.157e-05/0.9609, allocations: 35.47 kB / 1.128 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.9609, allocations: 19.44 kB / 1.128 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.9609, allocations: 0 / 1.128 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.002488/0.9634, allocations: 0.5511 MB / 1.129 GB, free: 30.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)