Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.908/4.908, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002624/0.002623, allocations: 358.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.262/4.262, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001713/0.001712, allocations: 180.1 kB / 1.226 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.0005455, allocations: 16.69 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 115.3 MB / 1.461 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9648/1.177, allocations: 138.2 MB / 1.596 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/1.178, allocations: 77.52 kB / 1.596 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.01245/1.19, allocations: 1.05 MB / 1.597 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.548e-06/1.19, allocations: 0 / 1.597 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.605e-05/1.19, allocations: 0 / 1.597 GB, free: 2.531 MB / 0.6667 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.0007204/1.191, allocations: 364.9 kB / 1.598 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.191, allocations: 8.031 kB / 1.598 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/1.191, allocations: 3.938 kB / 1.598 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/1.191, allocations: 175 kB / 1.598 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/1.191, allocations: 0 / 1.598 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/1.191, allocations: 7 kB / 1.598 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/1.192, allocations: 72.02 kB / 1.598 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.192, allocations: 0 / 1.598 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/1.192, allocations: 4 kB / 1.598 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.192, allocations: 0 / 1.598 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/1.192, allocations: 57.58 kB / 1.598 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/1.193, allocations: 285.1 kB / 1.598 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/1.193, allocations: 59.92 kB / 1.598 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/1.194, allocations: 35.39 kB / 1.598 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/1.194, allocations: 397.5 kB / 1.599 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.194, allocations: 34.5 kB / 1.599 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/1.194, allocations: 0 / 1.599 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0007926/1.195, allocations: 111.1 kB / 1.599 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.195, allocations: 55.36 kB / 1.599 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.195, allocations: 115.9 kB / 1.599 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.195, allocations: 29.7 kB / 1.599 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/1.195, allocations: 86.31 kB / 1.599 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/1.195, allocations: 10.66 kB / 1.599 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/1.195, allocations: 4 kB / 1.599 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.195, allocations: 314.8 kB / 1.6 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.196, allocations: 23.05 kB / 1.6 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.196, allocations: 31.34 kB / 1.6 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/1.196, allocations: 27.11 kB / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.196, allocations: 0 / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004271/1.196, allocations: 87.41 kB / 1.6 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.196, allocations: 4 kB / 1.6 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.196, allocations: 0 / 1.6 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.196, allocations: 4.312 kB / 1.6 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/1.197, allocations: 12 kB / 1.6 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.197, allocations: 0 / 1.6 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/1.197, allocations: 23.94 kB / 1.6 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.197, allocations: 0 / 1.6 GB, free: 15.93 MB / 0.6823 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 () * Number of clocked 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 0.0001036/1.197, allocations: 117.2 kB / 1.6 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/1.197, allocations: 3.906 kB / 1.6 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/1.197, allocations: 103.2 kB / 1.6 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/1.197, allocations: 0 / 1.6 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.197, allocations: 0 / 1.6 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.197, allocations: 0 / 1.6 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/1.198, allocations: 176.4 kB / 1.6 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.198, allocations: 0 / 1.6 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.198, allocations: 19.92 kB / 1.6 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.198, allocations: 0 / 1.6 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.198, allocations: 0 / 1.6 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/1.198, allocations: 0 / 1.6 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.198, allocations: 7.938 kB / 1.6 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/1.198, allocations: 189.6 kB / 1.6 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/1.198, allocations: 81.02 kB / 1.6 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.198, allocations: 4 kB / 1.6 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/1.199, allocations: 11.98 kB / 1.6 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/1.199, allocations: 4 kB / 1.6 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.199, allocations: 3.188 kB / 1.6 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.952e-05/1.199, allocations: 86.58 kB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/1.199, allocations: 0 / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003082/1.199, allocations: 12 kB / 1.601 GB, free: 15.06 MB / 0.6823 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 () * Number of clocked 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.0002087/1.199, allocations: 115.8 kB / 1.601 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003874/1.2, allocations: 50.52 kB / 1.601 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.2, allocations: 0 / 1.601 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/1.2, allocations: 34.73 kB / 1.601 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/1.2, allocations: 11.52 kB / 1.601 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/1.201, allocations: 124.9 kB / 1.601 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.201, allocations: 0.6842 MB / 1.602 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.52e-05/1.201, allocations: 8 kB / 1.602 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/1.201, allocations: 11.42 kB / 1.602 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/1.201, allocations: 4 kB / 1.602 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.005112/1.206, allocations: 0.6362 MB / 1.602 GB, free: 13.35 MB / 0.6823 GB