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.585/2.585, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001549/0.001549, allocations: 173.1 kB / 371 MB, free: 10.79 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.183/2.183, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 93.03 kB / 0.743 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000529/0.0005289, allocations: 13.88 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2417, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9593/1.201, allocations: 137.2 MB / 1.112 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.201, allocations: 69.88 kB / 1.112 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003155/1.205, allocations: 0.8192 MB / 1.113 GB, free: 31.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/1.205, allocations: 0 / 1.113 GB, free: 31.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.205, allocations: 3.844 kB / 1.113 GB, free: 31.33 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.0003512/1.205, allocations: 335.2 kB / 1.114 GB, free: 30.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.205, allocations: 7.719 kB / 1.114 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/1.205, allocations: 15.44 kB / 1.114 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/1.205, allocations: 164.4 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/1.205, allocations: 3.969 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.205, allocations: 3.438 kB / 1.114 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.206, allocations: 66.23 kB / 1.114 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.206, allocations: 0 / 1.114 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/1.206, allocations: 0 / 1.114 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/1.206, allocations: 1.5 kB / 1.114 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/1.206, allocations: 105 kB / 1.114 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/1.206, allocations: 177.5 kB / 1.114 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/1.206, allocations: 68.95 kB / 1.114 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/1.207, allocations: 406.5 kB / 1.114 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.207, allocations: 34.5 kB / 1.115 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/1.207, allocations: 0 / 1.115 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003338/1.207, allocations: 112.7 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.207, allocations: 55.22 kB / 1.115 GB, free: 29.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/1.207, allocations: 97.45 kB / 1.115 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/1.207, allocations: 29.7 kB / 1.115 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/1.207, allocations: 80.33 kB / 1.115 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/1.207, allocations: 28.22 kB / 1.115 GB, free: 29.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/1.207, allocations: 0 / 1.115 GB, free: 29.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.207, allocations: 316 kB / 1.115 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/1.207, allocations: 19.34 kB / 1.115 GB, free: 29.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/1.208, allocations: 20.31 kB / 1.115 GB, free: 29.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.262e-05/1.208, allocations: 26.41 kB / 1.115 GB, free: 29.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.208, allocations: 0 / 1.115 GB, free: 29.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002114/1.208, allocations: 101 kB / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.208, allocations: 3.844 kB / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.208, allocations: 3.875 kB / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.208, allocations: 1.547 kB / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.208, allocations: 19.8 kB / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/1.208, allocations: 1.828 kB / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/1.208, allocations: 0 / 1.115 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.208, allocations: 3.844 kB / 1.115 GB, free: 29.31 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.0001363/1.208, allocations: 131.5 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/1.208, allocations: 11.73 kB / 1.116 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/1.209, allocations: 125.5 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.209, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.209, allocations: 3.969 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.209, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/1.209, allocations: 178.1 kB / 1.116 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.209, allocations: 0 / 1.116 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/1.209, allocations: 22.38 kB / 1.116 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.209, allocations: 3.953 kB / 1.116 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.209, allocations: 9.125 kB / 1.116 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.209, allocations: 0 / 1.116 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.209, allocations: 0 / 1.116 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/1.209, allocations: 123.5 kB / 1.116 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/1.209, allocations: 82.22 kB / 1.116 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/1.21, allocations: 7.266 kB / 1.116 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/1.21, allocations: 4 kB / 1.116 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/1.21, allocations: 11.27 kB / 1.116 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.21, allocations: 3.312 kB / 1.116 GB, free: 28.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.826e-05/1.21, allocations: 76.69 kB / 1.116 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.21, allocations: 0 / 1.116 GB, free: 28.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002788/1.21, allocations: 26.88 kB / 1.116 GB, free: 28.68 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.0002258/1.21, allocations: 105.4 kB / 1.116 GB, free: 28.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001931/1.21, allocations: 72.3 kB / 1.116 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.21, allocations: 3.938 kB / 1.116 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/1.211, allocations: 37.52 kB / 1.116 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/1.211, allocations: 3.844 kB / 1.116 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/1.211, allocations: 145.8 kB / 1.117 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.211, allocations: 0.686 MB / 1.117 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001371/1.211, allocations: 37.64 kB / 1.117 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/1.212, allocations: 12.67 kB / 1.117 GB, free: 27.74 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/1.212, allocations: 0 / 1.117 GB, free: 27.74 MB / 0.698 GB Notification: Performance of Templates: time 0.003374/1.215, allocations: 0.559 MB / 1.118 GB, free: 27.67 MB / 0.698 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)