Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.734/2.734, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001522, allocations: 196.3 kB / 360.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 95.05 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.743e-05, allocations: 8 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8144, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/1.08, allocations: 136.4 MB / 1.097 GB, free: 4.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.08, allocations: 73.06 kB / 1.097 GB, free: 4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00288/1.083, allocations: 0.8222 MB / 1.098 GB, free: 3.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.532e-06/1.083, allocations: 0 / 1.098 GB, free: 3.188 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.083, allocations: 1.906 kB / 1.098 GB, free: 3.188 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.0003501/1.083, allocations: 330.5 kB / 1.098 GB, free: 2.824 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.083, allocations: 8.031 kB / 1.098 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/1.083, allocations: 9.109 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.084, allocations: 175.6 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.084, allocations: 0 / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/1.084, allocations: 4 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002548/1.084, allocations: 103.8 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/1.084, allocations: 58.2 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.084, allocations: 5.219 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/1.084, allocations: 0.625 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.084, allocations: 1.312 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/1.084, allocations: 142.2 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/1.084, allocations: 65.83 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/1.085, allocations: 29.47 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/1.085, allocations: 397.5 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/1.085, allocations: 43.84 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/1.085, allocations: 0 / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004457/1.086, allocations: 90.39 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.086, allocations: 56.12 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.414e-05/1.086, allocations: 89 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.086, allocations: 26.23 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/1.086, allocations: 81.02 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/1.086, allocations: 24.17 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.086, allocations: 0 / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.086, allocations: 319.6 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/1.086, allocations: 16.86 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/1.086, allocations: 16 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/1.086, allocations: 28.47 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.086, allocations: 4.625 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003628/1.087, allocations: 95.78 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.087, allocations: 9.469 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.087, allocations: 1.406 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.087, allocations: 1.094 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.087, allocations: 16.62 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.087, allocations: 0 / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/1.087, allocations: 8.891 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/1.087, allocations: 10.19 kB / 1.1 GB, free: 0.707 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 () * 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.0001107/1.087, allocations: 110.2 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/1.087, allocations: 3.953 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/1.088, allocations: 134.3 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.088, allocations: 0.9375 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.088, allocations: 0 / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.088, allocations: 0 / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/1.088, allocations: 147.1 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.088, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/1.088, allocations: 22.58 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.088, allocations: 0.9375 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/1.088, allocations: 4 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.088, allocations: 3.953 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.088, allocations: 0 / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/1.089, allocations: 123.8 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/1.089, allocations: 81.11 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/1.089, allocations: 3.984 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.579e-05/1.089, allocations: 0 / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/1.089, allocations: 12.16 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/1.089, allocations: 12.03 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.436e-05/1.089, allocations: 82 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.089, allocations: 0 / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003101/1.089, allocations: 23.88 kB / 1.1 GB, free: 15.89 MB / 0.7136 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 () * 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.0002278/1.089, allocations: 108.7 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001819/1.09, allocations: 51.92 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.09, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/1.09, allocations: 43.92 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/1.09, allocations: 1.969 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/1.09, allocations: 90.33 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.09, allocations: 0.6846 MB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001508/1.091, allocations: 35.86 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/1.091, allocations: 15.44 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.091, allocations: 4 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.003446/1.094, allocations: 0.5512 MB / 1.102 GB, free: 14.31 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)