Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 252.6 MB / 265.2 MB, free: 5.77 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.001471/0.00147, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.00108/0.00108, allocations: 94.08 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.281e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.814/0.9989, allocations: 130.7 MB / 1.023 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.9993, allocations: 72.83 kB / 1.023 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001445/1.001, allocations: 0.5115 MB / 1.023 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/1.001, allocations: 2.625 kB / 1.023 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.001, allocations: 0 / 1.023 GB, free: 3.293 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002563/1.001, allocations: 313.2 kB / 1.023 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.001, allocations: 8.031 kB / 1.023 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/1.001, allocations: 15.59 kB / 1.023 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/1.001, allocations: 167 kB / 1.024 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.001, allocations: 0 / 1.024 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.001, allocations: 0 / 1.024 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/1.001, allocations: 33.69 kB / 1.024 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.001, allocations: 3.938 kB / 1.024 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/1.001, allocations: 0 / 1.024 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/1.001, allocations: 0 / 1.024 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/1.002, allocations: 4 kB / 1.024 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/1.002, allocations: 162 kB / 1.024 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/1.002, allocations: 26.28 kB / 1.024 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/1.002, allocations: 8.922 kB / 1.024 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/1.002, allocations: 77.11 kB / 1.024 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.002, allocations: 34.56 kB / 1.024 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.797e-06/1.002, allocations: 3.984 kB / 1.024 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/1.002, allocations: 45.44 kB / 1.024 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/1.002, allocations: 55.41 kB / 1.024 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.672e-05/1.002, allocations: 85 kB / 1.024 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.002, allocations: 25.7 kB / 1.024 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/1.002, allocations: 80.14 kB / 1.024 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/1.002, allocations: 0 / 1.024 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/1.002, allocations: 3.938 kB / 1.024 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.003, allocations: 314.3 kB / 1.025 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/1.003, allocations: 4 kB / 1.025 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/1.003, allocations: 4.031 kB / 1.025 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/1.003, allocations: 7.953 kB / 1.025 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.003, allocations: 0 / 1.025 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.047e-05/1.003, allocations: 41.62 kB / 1.025 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.003, allocations: 5.094 kB / 1.025 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.003, allocations: 0 / 1.025 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.003, allocations: 4 kB / 1.025 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/1.003, allocations: 2.688 kB / 1.025 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.003, allocations: 0 / 1.025 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/1.003, allocations: 10.97 kB / 1.025 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/1.003, allocations: 3.984 kB / 1.025 GB, free: 1.574 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 (fac,n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.6e-05/1.003, allocations: 104.9 kB / 1.025 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/1.003, allocations: 3.906 kB / 1.025 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/1.003, allocations: 48.03 kB / 1.025 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.003, allocations: 3.984 kB / 1.025 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.003, allocations: 3.938 kB / 1.025 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.003, allocations: 0 / 1.025 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/1.003, allocations: 153.3 kB / 1.025 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.003, allocations: 3.953 kB / 1.025 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/1.003, allocations: 4 kB / 1.025 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.003, allocations: 0 / 1.025 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.003, allocations: 3.984 kB / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.003, allocations: 0 / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.003, allocations: 0 / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/1.003, allocations: 60.2 kB / 1.025 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/1.004, allocations: 89.08 kB / 1.025 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.004, allocations: 0 / 1.025 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/1.004, allocations: 0 / 1.025 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/1.004, allocations: 0 / 1.025 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/1.004, allocations: 4 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.799e-05/1.004, allocations: 79.22 kB / 1.025 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/1.004, allocations: 0 / 1.025 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002321/1.004, allocations: 7.5 kB / 1.025 GB, free: 0.9297 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 (fac,n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001842/1.004, allocations: 113.1 kB / 1.025 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.206e-05/1.004, allocations: 4 kB / 1.025 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.004, allocations: 0 / 1.025 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/1.004, allocations: 4 kB / 1.025 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/1.004, allocations: 15.12 kB / 1.025 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/1.005, allocations: 66.2 kB / 1.025 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/1.005, allocations: 0.6768 MB / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.645e-05/1.005, allocations: 128 / 1.026 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/1.005, allocations: 15.44 kB / 1.026 GB, free: 0 / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/1.005, allocations: 0 / 1.026 GB, free: 0 / 0.6355 GB Notification: Performance of Templates: time 0.002618/1.007, allocations: 304.5 kB / 1.026 GB, free: 15.71 MB / 0.6511 GB