Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.567/2.567, allocations: 284.8 MB / 297.3 MB, free: 6.309 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.001373/0.001373, allocations: 184.7 kB / 365.7 MB, free: 2.574 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.02/2.02, allocations: 205.1 MB / 0.6241 GB, free: 8.168 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.001179/0.001179, allocations: 100.7 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.854e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9383/0.9384, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/1.193, allocations: 138.1 MB / 1.105 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.193, allocations: 68.91 kB / 1.105 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004516/1.198, allocations: 1.051 MB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/1.198, allocations: 0 / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.715e-06/1.198, allocations: 3.781 kB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005272/1.199, allocations: 347.2 kB / 1.106 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.199, allocations: 8.031 kB / 1.106 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/1.199, allocations: 9.109 kB / 1.106 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.199, allocations: 163 kB / 1.106 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/1.199, allocations: 4 kB / 1.106 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/1.199, allocations: 5.094 kB / 1.106 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/1.199, allocations: 57.52 kB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.199, allocations: 0.6562 kB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.199, allocations: 4.906 kB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.199, allocations: 6.438 kB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/1.199, allocations: 20.52 kB / 1.107 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/1.2, allocations: 283.8 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/1.2, allocations: 46.56 kB / 1.107 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/1.2, allocations: 15.52 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/1.201, allocations: 405.5 kB / 1.107 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.201, allocations: 30.56 kB / 1.107 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/1.201, allocations: 0 / 1.107 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/1.201, allocations: 57.62 kB / 1.107 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.201, allocations: 55.89 kB / 1.107 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.201, allocations: 100.1 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.201, allocations: 25.7 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/1.201, allocations: 96.91 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/1.201, allocations: 0 / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/1.201, allocations: 0 / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.201, allocations: 315.6 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/1.201, allocations: 11.16 kB / 1.108 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/1.201, allocations: 8 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/1.202, allocations: 11.98 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.202, allocations: 0 / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001505/1.202, allocations: 57.53 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.202, allocations: 9.031 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.202, allocations: 3.375 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.202, allocations: 0 / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/1.202, allocations: 16.8 kB / 1.108 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.202, allocations: 1.156 kB / 1.108 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.202, allocations: 11.95 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/1.202, allocations: 0.5625 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.709e-05/1.202, allocations: 111.5 kB / 1.108 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/1.202, allocations: 4 kB / 1.108 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/1.202, allocations: 57.62 kB / 1.108 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.202, allocations: 0 / 1.108 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.202, allocations: 3.469 kB / 1.108 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.203, allocations: 11.36 kB / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/1.203, allocations: 165.6 kB / 1.108 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.203, allocations: 7.938 kB / 1.108 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.203, allocations: 11.98 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.203, allocations: 0 / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.203, allocations: 1.562 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.203, allocations: 4 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.203, allocations: 2.812 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/1.203, allocations: 147.5 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/1.203, allocations: 77.11 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/1.203, allocations: 0 / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/1.203, allocations: 15.98 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/1.204, allocations: 7.984 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/1.204, allocations: 4 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.425e-05/1.204, allocations: 81.55 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.204, allocations: 3.938 kB / 1.109 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003106/1.204, allocations: 23.84 kB / 1.109 GB, free: 9.934 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002074/1.204, allocations: 111.2 kB / 1.109 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001259/1.204, allocations: 20 kB / 1.109 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.204, allocations: 4 kB / 1.109 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/1.204, allocations: 15.98 kB / 1.109 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/1.205, allocations: 17.81 kB / 1.109 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/1.205, allocations: 71.27 kB / 1.109 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.205, allocations: 0.6809 MB / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.607e-05/1.205, allocations: 11.98 kB / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/1.205, allocations: 7.438 kB / 1.11 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/1.205, allocations: 0 / 1.11 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.003713/1.209, allocations: 0.6371 MB / 1.11 GB, free: 8.344 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)