Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 285.4 MB / 298 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 180.9 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008256/0.0008256, allocations: 95.39 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.235e-05, allocations: 4 kB / 0.8583 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8159, allocations: 115.3 MB / 0.9709 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/1.039, allocations: 137.2 MB / 1.105 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.039, allocations: 75.95 kB / 1.105 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001087/1.04, allocations: 0.5219 MB / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.375e-06/1.04, allocations: 0 / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.368e-06/1.04, allocations: 0 / 1.105 GB, free: 13.97 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.0002505/1.04, allocations: 316.9 kB / 1.106 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.04, allocations: 12.02 kB / 1.106 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/1.041, allocations: 0 / 1.106 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.041, allocations: 163.6 kB / 1.106 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.041, allocations: 5.688 kB / 1.106 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/1.041, allocations: 0 / 1.106 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/1.041, allocations: 29.7 kB / 1.106 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.041, allocations: 0 / 1.106 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/1.041, allocations: 1.25 kB / 1.106 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.041, allocations: 6.859 kB / 1.106 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.361e-05/1.041, allocations: 11.98 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/1.041, allocations: 149.4 kB / 1.106 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/1.041, allocations: 31.05 kB / 1.106 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/1.041, allocations: 8.297 kB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/1.041, allocations: 85.16 kB / 1.106 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.041, allocations: 30.56 kB / 1.106 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.041, allocations: 0 / 1.106 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/1.042, allocations: 37.7 kB / 1.106 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.042, allocations: 51.41 kB / 1.106 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/1.042, allocations: 89.5 kB / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/1.042, allocations: 26.23 kB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/1.042, allocations: 85.28 kB / 1.107 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/1.042, allocations: 7.906 kB / 1.107 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-06/1.042, allocations: 0 / 1.107 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.042, allocations: 312 kB / 1.107 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/1.042, allocations: 4 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/1.042, allocations: 5.906 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/1.042, allocations: 4 kB / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.042, allocations: 0 / 1.107 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.695e-05/1.042, allocations: 41.64 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.042, allocations: 4.906 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.042, allocations: 0 / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/1.042, allocations: 0.875 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/1.042, allocations: 4 kB / 1.107 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.042, allocations: 3.938 kB / 1.107 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/1.042, allocations: 2.375 kB / 1.107 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/1.042, allocations: 4.844 kB / 1.107 GB, free: 12.27 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 6.359e-05/1.042, allocations: 110.7 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/1.042, allocations: 3.953 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/1.042, allocations: 40.81 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/1.042, allocations: 2.625 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/1.042, allocations: 0 / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/1.042, allocations: 0 / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/1.043, allocations: 153.7 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.043, allocations: 0 / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/1.043, allocations: 2.25 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.043, allocations: 4 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/1.043, allocations: 3.953 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/1.043, allocations: 0.7188 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/1.043, allocations: 0 / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.655e-05/1.043, allocations: 66.81 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/1.043, allocations: 77.98 kB / 1.107 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/1.043, allocations: 4 kB / 1.107 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/1.043, allocations: 5.016 kB / 1.107 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/1.043, allocations: 6.891 kB / 1.107 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/1.043, allocations: 0 / 1.107 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.383e-05/1.043, allocations: 75.91 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.043, allocations: 0.75 kB / 1.107 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002011/1.043, allocations: 12 kB / 1.108 GB, free: 11.63 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.0002016/1.043, allocations: 108.7 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.733e-05/1.043, allocations: 12.91 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.043, allocations: 0 / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/1.043, allocations: 8.234 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.801e-05/1.043, allocations: 9.094 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001438/1.044, allocations: 54 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/1.044, allocations: 0.677 MB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.343e-05/1.044, allocations: 0 / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.562e-05/1.044, allocations: 11.44 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/1.044, allocations: 0 / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.001929/1.046, allocations: 311.5 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)