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.37/2.37, allocations: 253.2 MB / 260.6 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 184.7 kB / 319.9 MB, free: 3.07 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.034/2.034, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001106/0.001106, allocations: 84.45 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.451e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.862/1.057, allocations: 132.1 MB / 1.018 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.058, allocations: 73.11 kB / 1.018 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004347/1.062, allocations: 1.036 MB / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.52e-06/1.062, allocations: 4 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.062, allocations: 3.938 kB / 1.019 GB, free: 4.258 MB / 0.6355 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.0005169/1.062, allocations: 346.1 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.063, allocations: 16.02 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/1.063, allocations: 4 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/1.063, allocations: 174.9 kB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/1.063, allocations: 4 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/1.063, allocations: 3.938 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.839e-05/1.063, allocations: 22.67 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/1.063, allocations: 48.05 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.063, allocations: 0.75 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.063, allocations: 4 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.063, allocations: 0 / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/1.064, allocations: 258.2 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/1.064, allocations: 41.31 kB / 1.02 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/1.064, allocations: 15.81 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/1.064, allocations: 404.9 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.064, allocations: 34.56 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/1.064, allocations: 3.938 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002363/1.065, allocations: 57.09 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/1.065, allocations: 51.41 kB / 1.02 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/1.065, allocations: 98.02 kB / 1.02 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/1.065, allocations: 25.7 kB / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/1.065, allocations: 90.5 kB / 1.02 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/1.065, allocations: 3.906 kB / 1.02 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/1.065, allocations: 4 kB / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.065, allocations: 312.8 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/1.065, allocations: 7 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/1.065, allocations: 6.812 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.529e-05/1.065, allocations: 11.48 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.065, allocations: 4 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001352/1.065, allocations: 44.94 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.065, allocations: 4 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.065, allocations: 0 / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.065, allocations: 3.938 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.066, allocations: 23.92 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.066, allocations: 0 / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/1.066, allocations: 19.33 kB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.066, allocations: 3.953 kB / 1.021 GB, free: 1.934 MB / 0.6355 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.219e-05/1.066, allocations: 102.4 kB / 1.021 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/1.066, allocations: 4 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/1.066, allocations: 56.56 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.066, allocations: 3.984 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.066, allocations: 0 / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.066, allocations: 0 / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/1.066, allocations: 141.6 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.066, allocations: 3.984 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/1.066, allocations: 15.94 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/1.067, allocations: 3.938 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.067, allocations: 3.984 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.067, allocations: 4 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.067, allocations: 0 / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.067, allocations: 147.6 kB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/1.067, allocations: 81.02 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/1.067, allocations: 0 / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.067, allocations: 14.52 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/1.067, allocations: 8.266 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.067, allocations: 4 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.819e-05/1.067, allocations: 82.84 kB / 1.021 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/1.067, allocations: 0 / 1.021 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003137/1.067, allocations: 23.81 kB / 1.021 GB, free: 1.188 MB / 0.6355 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.0001913/1.068, allocations: 113.2 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.068, allocations: 22.44 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.068, allocations: 0 / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/1.068, allocations: 15.38 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.068, allocations: 3.953 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/1.068, allocations: 82.58 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/1.069, allocations: 0.6807 MB / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.779e-05/1.069, allocations: 0 / 1.022 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/1.069, allocations: 11.44 kB / 1.022 GB, free: 228 kB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/1.069, allocations: 4 kB / 1.022 GB, free: 224 kB / 0.6355 GB Notification: Performance of Templates: time 0.003514/1.072, allocations: 0.5886 MB / 1.023 GB, free: 15.64 MB / 0.6511 GB