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.619/2.619, allocations: 287.5 MB / 302.4 MB, free: 8.172 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.001599/0.001598, allocations: 172 kB / 371 MB, free: 10.8 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.209/2.209, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.9 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004791, allocations: 21.81 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.239, allocations: 137.1 MB / 1.112 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/1.24, allocations: 74.41 kB / 1.112 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00213/1.242, allocations: 0.5149 MB / 1.113 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.336e-06/1.242, allocations: 1.359 kB / 1.113 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.242, allocations: 0 / 1.113 GB, free: 31.29 MB / 0.698 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.0003426/1.242, allocations: 317 kB / 1.113 GB, free: 30.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.242, allocations: 12.86 kB / 1.113 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/1.242, allocations: 0 / 1.113 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/1.243, allocations: 167.4 kB / 1.113 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/1.243, allocations: 0 / 1.113 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/1.243, allocations: 3.531 kB / 1.113 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.243, allocations: 34.59 kB / 1.113 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.243, allocations: 0 / 1.113 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/1.243, allocations: 0 / 1.113 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.243, allocations: 3.938 kB / 1.113 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/1.243, allocations: 9.234 kB / 1.113 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/1.243, allocations: 155.3 kB / 1.114 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.001e-05/1.243, allocations: 18.42 kB / 1.114 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/1.243, allocations: 87.7 kB / 1.114 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.243, allocations: 32.64 kB / 1.114 GB, free: 30.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/1.243, allocations: 3.781 kB / 1.114 GB, free: 30.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001968/1.244, allocations: 45.97 kB / 1.114 GB, free: 30.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/1.244, allocations: 52.72 kB / 1.114 GB, free: 30.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.492e-05/1.244, allocations: 85 kB / 1.114 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.244, allocations: 25.7 kB / 1.114 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/1.244, allocations: 80.14 kB / 1.114 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/1.244, allocations: 8.344 kB / 1.114 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/1.244, allocations: 0 / 1.114 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.244, allocations: 315.4 kB / 1.114 GB, free: 29.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/1.244, allocations: 128 / 1.114 GB, free: 29.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/1.244, allocations: 9.609 kB / 1.114 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/1.244, allocations: 0 / 1.114 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.244, allocations: 0 / 1.114 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/1.244, allocations: 46.06 kB / 1.114 GB, free: 29.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.244, allocations: 13.97 kB / 1.114 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.244, allocations: 0 / 1.114 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.244, allocations: 1.594 kB / 1.114 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/1.245, allocations: 3.844 kB / 1.114 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.245, allocations: 3.938 kB / 1.114 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/1.245, allocations: 4.094 kB / 1.114 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.245, allocations: 1.688 kB / 1.114 GB, free: 29.68 MB / 0.698 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 () * Number of clocked 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.94e-05/1.245, allocations: 109.7 kB / 1.114 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/1.245, allocations: 3.953 kB / 1.114 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/1.245, allocations: 49.48 kB / 1.115 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.245, allocations: 1.312 kB / 1.115 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.245, allocations: 0 / 1.115 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.245, allocations: 0 / 1.115 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/1.245, allocations: 154.7 kB / 1.115 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.245, allocations: 0 / 1.115 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/1.245, allocations: 9.312 kB / 1.115 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.245, allocations: 3.953 kB / 1.115 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.245, allocations: 0 / 1.115 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.245, allocations: 1.406 kB / 1.115 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.245, allocations: 0 / 1.115 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/1.245, allocations: 58.75 kB / 1.115 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/1.245, allocations: 84.98 kB / 1.115 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/1.245, allocations: 5.547 kB / 1.115 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/1.245, allocations: 0 / 1.115 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/1.245, allocations: 5.328 kB / 1.115 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/1.246, allocations: 3.844 kB / 1.115 GB, free: 29.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.32e-05/1.246, allocations: 79.22 kB / 1.115 GB, free: 29.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.246, allocations: 0 / 1.115 GB, free: 29.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003911/1.246, allocations: 7.75 kB / 1.115 GB, free: 29.09 MB / 0.698 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 () * Number of clocked 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.0002215/1.246, allocations: 111.9 kB / 1.115 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.246, allocations: 5.531 kB / 1.115 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.246, allocations: 0 / 1.115 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/1.246, allocations: 8.641 kB / 1.115 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/1.247, allocations: 5.938 kB / 1.115 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/1.247, allocations: 82.08 kB / 1.115 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/1.247, allocations: 0.6706 MB / 1.116 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.787e-05/1.247, allocations: 17.45 kB / 1.116 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/1.247, allocations: 10.88 kB / 1.116 GB, free: 28.18 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.247, allocations: 0 / 1.116 GB, free: 28.18 MB / 0.698 GB Notification: Performance of Templates: time 0.003373/1.251, allocations: 301.3 kB / 1.116 GB, free: 28.14 MB / 0.698 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)