Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002243/0.002243, allocations: 177.9 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.505/2.505, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 98.81 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006304/0.0006305, allocations: 17.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2037, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/0.4405, allocations: 131.9 MB / 1.028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.4408, allocations: 75.95 kB / 1.028 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004568/0.4454, allocations: 1.047 MB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4455, allocations: 0 / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4455, allocations: 0 / 1.029 GB, free: 12.74 MB / 0.6823 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.0005372/0.446, allocations: 351.2 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4461, allocations: 12.03 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.4461, allocations: 7.906 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4463, allocations: 182.9 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4463, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4464, allocations: 4 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.4466, allocations: 61.67 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4467, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4467, allocations: 3.984 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4467, allocations: 4 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.4471, allocations: 55.95 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.4476, allocations: 288.7 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.4481, allocations: 66.52 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/0.4485, allocations: 397.7 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4485, allocations: 30.56 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.4486, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006416/0.4492, allocations: 117.6 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4493, allocations: 55.36 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4494, allocations: 105 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4494, allocations: 25.7 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.4495, allocations: 88.14 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.4495, allocations: 3.906 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.4495, allocations: 0 / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4496, allocations: 314.8 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4498, allocations: 27.97 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.45, allocations: 23.98 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4502, allocations: 31.91 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4502, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004124/0.4506, allocations: 93.5 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4507, allocations: 5.25 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4507, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4507, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4509, allocations: 11.98 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4509, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.451, allocations: 19.94 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.451, allocations: 3.938 kB / 1.031 GB, free: 10.09 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.0001056/0.4512, allocations: 115.2 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.4512, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.4517, allocations: 101.8 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4517, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4517, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4517, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.452, allocations: 173.6 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.452, allocations: 0 / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4521, allocations: 11.98 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4522, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4522, allocations: 11.98 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4522, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4522, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.4527, allocations: 183.4 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.4527, allocations: 81.53 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.4528, allocations: 7.984 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4529, allocations: 4 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.453, allocations: 7.984 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.453, allocations: 7.875 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.46e-05/0.4531, allocations: 92.31 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4531, allocations: 0 / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003079/0.4534, allocations: 15.94 kB / 1.032 GB, free: 9.188 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.0002053/0.4536, allocations: 119.2 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.454, allocations: 51.95 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.454, allocations: 0 / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.4542, allocations: 35.97 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4545, allocations: 7.953 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.4549, allocations: 128.5 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.4552, allocations: 0.6848 MB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.4553, allocations: 11.94 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.4553, allocations: 11.44 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/0.4553, allocations: 0 / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of Templates: time 0.003722/0.4591, allocations: 0.6257 MB / 1.033 GB, free: 7.453 MB / 0.6823 GB