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.643/1.643, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001099/0.001099, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.809/1.809, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009326/0.0009326, allocations: 90.86 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004016, allocations: 12.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2488, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7405/0.9893, allocations: 137.3 MB / 1.114 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.9897, allocations: 76.94 kB / 1.114 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002565/0.9923, allocations: 0.818 MB / 1.114 GB, free: 32.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9923, allocations: 3.844 kB / 1.114 GB, free: 32.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9923, allocations: 0 / 1.114 GB, free: 32.12 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.0003529/0.9927, allocations: 335.5 kB / 1.115 GB, free: 31.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9927, allocations: 11.72 kB / 1.115 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.9928, allocations: 4.531 kB / 1.115 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.9929, allocations: 170.9 kB / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.9929, allocations: 3.812 kB / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.9929, allocations: 7.312 kB / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.9931, allocations: 57.92 kB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.9931, allocations: 0 / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9931, allocations: 3.984 kB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.9931, allocations: 3.812 kB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.9933, allocations: 105.5 kB / 1.115 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.9935, allocations: 180.1 kB / 1.115 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.9936, allocations: 68 kB / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.9939, allocations: 402.5 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.994, allocations: 30.56 kB / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.994, allocations: 0 / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002254/0.9942, allocations: 116.8 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.9942, allocations: 55.41 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.9943, allocations: 94.77 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.9943, allocations: 33.52 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.9944, allocations: 83.14 kB / 1.116 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.9944, allocations: 26.11 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.9944, allocations: 0 / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9946, allocations: 316.8 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.9946, allocations: 17.75 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.9946, allocations: 21.86 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.9947, allocations: 35.5 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9947, allocations: 0 / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001342/0.9948, allocations: 90.94 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9949, allocations: 7.062 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.9949, allocations: 3.938 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9949, allocations: 1.281 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.995, allocations: 16.72 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.995, allocations: 1.984 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.995, allocations: 5.219 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.9951, allocations: 10.81 kB / 1.117 GB, free: 30.08 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.0001014/0.9952, allocations: 120.1 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.9952, allocations: 13.39 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.9954, allocations: 122.2 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.9954, allocations: 1.312 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9954, allocations: 1.281 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.9955, allocations: 4 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.9956, allocations: 173.9 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9956, allocations: 2.688 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.9957, allocations: 18.31 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9957, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.9957, allocations: 14.64 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9957, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.9957, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.9959, allocations: 127.1 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.9959, allocations: 84.89 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.9959, allocations: 0 / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.817e-05/0.996, allocations: 7.188 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.996, allocations: 10.97 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.996, allocations: 3.969 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.996, allocations: 75.28 kB / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9961, allocations: 0 / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002061/0.9963, allocations: 22.97 kB / 1.117 GB, free: 29.46 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.0002111/0.9965, allocations: 127.3 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.9966, allocations: 56.75 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9966, allocations: 0 / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.9967, allocations: 43.97 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.7e-05/0.9968, allocations: 6.359 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.9971, allocations: 149.1 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.9974, allocations: 0.6836 MB / 1.118 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.96e-05/0.9975, allocations: 39.81 kB / 1.118 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.9975, allocations: 11.34 kB / 1.118 GB, free: 28.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/0.9975, allocations: 0 / 1.118 GB, free: 28.52 MB / 0.698 GB Notification: Performance of Templates: time 0.002424/0.9999, allocations: 0.5737 MB / 1.119 GB, free: 28.44 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)