Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.838/2.838, allocations: 284.8 MB / 297.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 184.8 kB / 365.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.2 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 90.8 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.624e-05, allocations: 8 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.8016, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/1.05, allocations: 137.1 MB / 1.104 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/1.05, allocations: 76.45 kB / 1.104 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001886/1.052, allocations: 0.5164 MB / 1.104 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/1.052, allocations: 0 / 1.104 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.221e-06/1.052, allocations: 0 / 1.104 GB, free: 14.78 MB / 0.7136 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.0003276/1.053, allocations: 318.8 kB / 1.105 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.053, allocations: 16.02 kB / 1.105 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/1.053, allocations: 1.203 kB / 1.105 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.053, allocations: 163 kB / 1.105 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/1.053, allocations: 0.875 kB / 1.105 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/1.053, allocations: 0 / 1.105 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/1.053, allocations: 33.67 kB / 1.105 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.053, allocations: 3.938 kB / 1.105 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.053, allocations: 1.375 kB / 1.105 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.053, allocations: 0 / 1.105 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/1.053, allocations: 7.984 kB / 1.105 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/1.053, allocations: 153.6 kB / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/1.053, allocations: 26.55 kB / 1.105 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/1.054, allocations: 11.95 kB / 1.105 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/1.054, allocations: 82.22 kB / 1.105 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1.054, allocations: 34.56 kB / 1.105 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/1.054, allocations: 0 / 1.105 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/1.054, allocations: 33.7 kB / 1.105 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/1.054, allocations: 56.66 kB / 1.105 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/1.054, allocations: 92.92 kB / 1.105 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.054, allocations: 25.7 kB / 1.105 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/1.054, allocations: 80.7 kB / 1.105 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/1.054, allocations: 7.156 kB / 1.106 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.054, allocations: 0 / 1.106 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.054, allocations: 310.8 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/1.055, allocations: 4 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/1.055, allocations: 4 kB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/1.055, allocations: 5.406 kB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.055, allocations: 0.7188 kB / 1.106 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001466/1.055, allocations: 41.64 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.055, allocations: 6.562 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.055, allocations: 0 / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.055, allocations: 4 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/1.055, allocations: 1.25 kB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.055, allocations: 0 / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/1.055, allocations: 7.938 kB / 1.106 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/1.055, allocations: 7.375 kB / 1.106 GB, free: 13.07 MB / 0.7136 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 9.574e-05/1.055, allocations: 107.7 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/1.055, allocations: 6.047 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/1.055, allocations: 40.81 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.055, allocations: 0 / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.055, allocations: 0 / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.055, allocations: 6.953 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/1.056, allocations: 154.7 kB / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.056, allocations: 0 / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/1.056, allocations: 4 kB / 1.106 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/1.056, allocations: 4.734 kB / 1.106 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.056, allocations: 0 / 1.106 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.056, allocations: 0.6875 kB / 1.106 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.056, allocations: 0 / 1.106 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/1.056, allocations: 70.84 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/1.056, allocations: 78.61 kB / 1.106 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/1.056, allocations: 5.109 kB / 1.106 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/1.056, allocations: 0 / 1.106 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/1.056, allocations: 4.609 kB / 1.106 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/1.056, allocations: 4 kB / 1.106 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.566e-05/1.056, allocations: 75.84 kB / 1.106 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.056, allocations: 0.5938 kB / 1.106 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003951/1.057, allocations: 5.812 kB / 1.106 GB, free: 12.43 MB / 0.7136 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.0002428/1.057, allocations: 111.2 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000103/1.057, allocations: 8.125 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.057, allocations: 10.53 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/1.057, allocations: 7.984 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/1.057, allocations: 4 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/1.057, allocations: 54 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.058, allocations: 0.677 MB / 1.107 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.533e-05/1.058, allocations: 0 / 1.107 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/1.058, allocations: 11.44 kB / 1.107 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.058, allocations: 0 / 1.107 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.004255/1.062, allocations: 317.8 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)