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.329/2.329, allocations: 253.2 MB / 260.6 MB, free: 7.504 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.001483/0.001483, allocations: 181.9 kB / 319.9 MB, free: 3.062 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.222/2.222, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001114/0.001114, allocations: 98.69 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.504e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1891, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.843/1.032, allocations: 131 MB / 1.017 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/1.033, allocations: 75.52 kB / 1.017 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002068/1.035, allocations: 0.5197 MB / 1.017 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.835e-06/1.035, allocations: 5.531 kB / 1.017 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.035, allocations: 0 / 1.017 GB, free: 5.75 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.0003986/1.035, allocations: 309.5 kB / 1.017 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/1.035, allocations: 12.02 kB / 1.017 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/1.035, allocations: 3.906 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/1.036, allocations: 163 kB / 1.018 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.036, allocations: 4 kB / 1.018 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.036, allocations: 4 kB / 1.018 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.449e-05/1.036, allocations: 2.938 kB / 1.018 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/1.036, allocations: 39.56 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.036, allocations: 0 / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.036, allocations: 0 / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.036, allocations: 0 / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/1.036, allocations: 134.1 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/1.036, allocations: 22.23 kB / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/1.037, allocations: 16.91 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/1.037, allocations: 81.09 kB / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/1.037, allocations: 34.56 kB / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.564e-06/1.037, allocations: 0 / 1.018 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002253/1.037, allocations: 37.02 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/1.037, allocations: 55.39 kB / 1.018 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/1.037, allocations: 85 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.037, allocations: 33.73 kB / 1.018 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/1.037, allocations: 80.14 kB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/1.037, allocations: 0.75 kB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.037, allocations: 0 / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.038, allocations: 314.5 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/1.038, allocations: 0 / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/1.038, allocations: 4 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/1.038, allocations: 0 / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.038, allocations: 4.062 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001613/1.038, allocations: 41.64 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.038, allocations: 11.94 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.038, allocations: 0 / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.038, allocations: 0 / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.038, allocations: 11.62 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/1.038, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/1.038, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/1.038, allocations: 0 / 1.019 GB, free: 4.082 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 0.0001266/1.038, allocations: 105.5 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/1.039, allocations: 15.84 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/1.039, allocations: 37.41 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/1.039, allocations: 4.812 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.039, allocations: 3.938 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.039, allocations: 0 / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/1.039, allocations: 130.2 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.039, allocations: 0 / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/1.039, allocations: 7.938 kB / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.039, allocations: 0 / 1.019 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.039, allocations: 7.984 kB / 1.019 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/1.039, allocations: 0.7031 kB / 1.019 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.039, allocations: 4 kB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/1.039, allocations: 64.25 kB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/1.04, allocations: 77.11 kB / 1.019 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/1.04, allocations: 0 / 1.019 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/1.04, allocations: 3.953 kB / 1.019 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/1.04, allocations: 8.016 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/1.04, allocations: 4 kB / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.759e-05/1.04, allocations: 75.28 kB / 1.019 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.82e-07/1.04, allocations: 0 / 1.019 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005387/1.04, allocations: 8 kB / 1.019 GB, free: 3.457 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.000296/1.041, allocations: 105.1 kB / 1.019 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001096/1.041, allocations: 15.3 kB / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.041, allocations: 0 / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/1.041, allocations: 8.062 kB / 1.019 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/1.041, allocations: 0 / 1.019 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/1.041, allocations: 59.88 kB / 1.019 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/1.042, allocations: 0.6729 MB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.553e-05/1.042, allocations: 4 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/1.042, allocations: 7.438 kB / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of SimCode: time 7.71e-07/1.042, allocations: 0 / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of Templates: time 0.003685/1.045, allocations: 300.2 kB / 1.02 GB, free: 2.254 MB / 0.6355 GB