Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.78/3.78, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.002255/0.002255, allocations: 181.7 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.971/3.971, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.00149/0.00149, allocations: 93.3 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008272/0.0008275, allocations: 16.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.391, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.7572, allocations: 130.8 MB / 1.027 GB, free: 14.52 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004926/0.7578, allocations: 75.95 kB / 1.027 GB, free: 14.45 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.004131/0.762, allocations: 0.8332 MB / 1.028 GB, free: 13.61 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.617e-06/0.762, allocations: 0 / 1.028 GB, free: 13.61 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.7621, allocations: 4 kB / 1.028 GB, free: 13.61 MB / 0.6824 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.0005381/0.7626, allocations: 335.5 kB / 1.028 GB, free: 13.23 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.7627, allocations: 11.97 kB / 1.028 GB, free: 13.22 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.7628, allocations: 4.938 kB / 1.028 GB, free: 13.21 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.763, allocations: 164.4 kB / 1.029 GB, free: 13.02 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.763, allocations: 4.375 kB / 1.029 GB, free: 13.01 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.7631, allocations: 4.359 kB / 1.029 GB, free: 13.01 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.7634, allocations: 66.23 kB / 1.029 GB, free: 12.94 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.7634, allocations: 192 / 1.029 GB, free: 12.94 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.7634, allocations: 7.875 kB / 1.029 GB, free: 12.93 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.7635, allocations: 0 / 1.029 GB, free: 12.93 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.7638, allocations: 107.8 kB / 1.029 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.7642, allocations: 169.6 kB / 1.029 GB, free: 12.61 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.7645, allocations: 78.53 kB / 1.029 GB, free: 12.52 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.7646, allocations: 24.84 kB / 1.029 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/0.7653, allocations: 405.5 kB / 1.029 GB, free: 12.01 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.7653, allocations: 42.5 kB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=11): time 4.609e-06/0.7654, allocations: 0 / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.0005826/0.766, allocations: 117.8 kB / 1.03 GB, free: 11.84 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.7661, allocations: 59.39 kB / 1.03 GB, free: 11.77 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.7662, allocations: 93.86 kB / 1.03 GB, free: 11.66 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.7662, allocations: 29.7 kB / 1.03 GB, free: 11.63 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.7663, allocations: 80.14 kB / 1.03 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.7664, allocations: 23.66 kB / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.7664, allocations: 0 / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.7666, allocations: 318.8 kB / 1.03 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.7667, allocations: 19.98 kB / 1.03 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.7669, allocations: 19.98 kB / 1.03 GB, free: 11.16 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.767, allocations: 27.98 kB / 1.03 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.767, allocations: 4 kB / 1.03 GB, free: 11.13 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003605/0.7674, allocations: 94.11 kB / 1.03 GB, free: 11.04 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.7675, allocations: 9.562 kB / 1.03 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7675, allocations: 3.938 kB / 1.03 GB, free: 11.02 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.7675, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.7678, allocations: 23.98 kB / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.7678, allocations: 0 / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.7679, allocations: 0 / 1.03 GB, free: 11 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.7679, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6824 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.0002257/0.7682, allocations: 127.7 kB / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.7682, allocations: 0 / 1.031 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.7688, allocations: 137.4 kB / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.7688, allocations: 4 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7688, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7688, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.7691, allocations: 173.5 kB / 1.031 GB, free: 10.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7692, allocations: 4 kB / 1.031 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.7694, allocations: 23.98 kB / 1.031 GB, free: 10.47 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.7694, allocations: 3.938 kB / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.7695, allocations: 4 kB / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.7695, allocations: 0 / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.7695, allocations: 3.938 kB / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.7699, allocations: 117 kB / 1.031 GB, free: 10.32 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.77, allocations: 88.95 kB / 1.031 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.7701, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.7701, allocations: 8 kB / 1.031 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.7702, allocations: 15.91 kB / 1.031 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.7703, allocations: 4 kB / 1.031 GB, free: 10.19 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.7703, allocations: 75.28 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.51e-07/0.7703, allocations: 3.938 kB / 1.031 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0005165/0.7709, allocations: 16.28 kB / 1.031 GB, free: 10.1 MB / 0.6824 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.000388/0.7713, allocations: 127.2 kB / 1.031 GB, free: 9.965 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.7716, allocations: 55.91 kB / 1.031 GB, free: 9.91 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7717, allocations: 0 / 1.031 GB, free: 9.91 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.7718, allocations: 43.84 kB / 1.031 GB, free: 9.867 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.7721, allocations: 10 kB / 1.031 GB, free: 9.859 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.7727, allocations: 142.7 kB / 1.032 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.7732, allocations: 0.6888 MB / 1.032 GB, free: 8.977 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0002303/0.7735, allocations: 39.8 kB / 1.032 GB, free: 8.938 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.7736, allocations: 11.44 kB / 1.032 GB, free: 8.926 MB / 0.6824 GB Notification: Performance of SimCode: time 1.172e-06/0.7736, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6824 GB Notification: Performance of Templates: time 0.005455/0.7791, allocations: 0.5665 MB / 1.033 GB, free: 8.359 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)