Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.699/1.699, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 171.9 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.0008323, allocations: 99.08 kB / 0.7808 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 16 kB / 0.9088 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7071, allocations: 120.3 MB / 1.026 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.939, allocations: 140.5 MB / 1.164 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.9394, allocations: 75.27 kB / 1.164 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002408/0.9418, allocations: 0.8248 MB / 1.164 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.08e-06/0.9418, allocations: 2.156 kB / 1.164 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.9418, allocations: 7.938 kB / 1.164 GB, free: 0.7812 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.0003998/0.9422, allocations: 329.7 kB / 1.165 GB, free: 420 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.9423, allocations: 8.031 kB / 1.165 GB, free: 412 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.9424, allocations: 4.938 kB / 1.165 GB, free: 408 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.9425, allocations: 165.1 kB / 1.165 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.9426, allocations: 4.375 kB / 1.165 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.9426, allocations: 4.938 kB / 1.165 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.9428, allocations: 66.66 kB / 1.165 GB, free: 124 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.9428, allocations: 1.188 kB / 1.165 GB, free: 124 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.9428, allocations: 9.484 kB / 1.165 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9429, allocations: 0 / 1.165 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.9431, allocations: 100.9 kB / 1.165 GB, free: 16 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.9434, allocations: 178.2 kB / 1.165 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.9436, allocations: 68.25 kB / 1.165 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.9436, allocations: 32.84 kB / 1.165 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.9441, allocations: 401.5 kB / 1.166 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9441, allocations: 40.75 kB / 1.166 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.9442, allocations: 0 / 1.166 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003348/0.9445, allocations: 115 kB / 1.166 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.9446, allocations: 55.41 kB / 1.166 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.9446, allocations: 102.3 kB / 1.166 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.9447, allocations: 26.36 kB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.9447, allocations: 80.67 kB / 1.166 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.9448, allocations: 19.8 kB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.9448, allocations: 4.594 kB / 1.166 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9449, allocations: 320.1 kB / 1.166 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.945, allocations: 19.98 kB / 1.166 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/0.9451, allocations: 21.52 kB / 1.167 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.9452, allocations: 61.8 kB / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9452, allocations: 0 / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000205/0.9454, allocations: 96.45 kB / 1.167 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9455, allocations: 4 kB / 1.167 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9455, allocations: 5.656 kB / 1.167 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.9455, allocations: 11.92 kB / 1.167 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.9456, allocations: 12 kB / 1.167 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.9457, allocations: 4 kB / 1.167 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.9457, allocations: 4.625 kB / 1.167 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.9457, allocations: 11.98 kB / 1.167 GB, free: 14.15 MB / 0.7448 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.0001359/0.9459, allocations: 121.5 kB / 1.167 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.9459, allocations: 3.906 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.9462, allocations: 122.3 kB / 1.167 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.9462, allocations: 11.98 kB / 1.167 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9462, allocations: 0 / 1.167 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.9462, allocations: 0 / 1.167 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.9464, allocations: 169.6 kB / 1.167 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9464, allocations: 0 / 1.167 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.9465, allocations: 27.92 kB / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.9465, allocations: 3.938 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.9466, allocations: 0 / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9466, allocations: 4 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9466, allocations: 3.984 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.9468, allocations: 121 kB / 1.167 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.9469, allocations: 81.94 kB / 1.167 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.9469, allocations: 7.984 kB / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.9469, allocations: 0 / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.947, allocations: 8 kB / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.947, allocations: 11.92 kB / 1.167 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.9471, allocations: 75.28 kB / 1.167 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9471, allocations: 0 / 1.167 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003023/0.9474, allocations: 27.88 kB / 1.167 GB, free: 13.27 MB / 0.7448 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.0002349/0.9477, allocations: 111.2 kB / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.9478, allocations: 60.61 kB / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9478, allocations: 0 / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.9479, allocations: 36.8 kB / 1.168 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.9481, allocations: 7.938 kB / 1.168 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.9485, allocations: 155.1 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.9488, allocations: 0.6848 MB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.949, allocations: 39.92 kB / 1.169 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.949, allocations: 15.44 kB / 1.169 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/0.949, allocations: 0 / 1.169 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.003452/0.9525, allocations: 0.5698 MB / 1.169 GB, free: 11.56 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)