Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.268/1.268, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 169.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006303/0.0006303, allocations: 93.11 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 9.906 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0006609/0.1749, allocations: 327.3 kB / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.1752, allocations: 51.8 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.106e-05/0.1752, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1752, allocations: 4 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.1752, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.1754, allocations: 8 kB / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.563e-05/0.1755, allocations: 11.97 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1755, allocations: 0 / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.1755, allocations: 3.938 kB / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.154e-05/0.1756, allocations: 4 kB / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1756, allocations: 0 / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.065e-05/0.1756, allocations: 8 kB / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1757, allocations: 0 / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.1757, allocations: 0 / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.726e-05/0.1758, allocations: 19.97 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1758, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1758, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1758, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 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.0002077/0.176, allocations: 327.3 kB / 0.8975 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.176, allocations: 8.031 kB / 0.8975 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1761, allocations: 0.9375 kB / 0.8975 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.251e-05/0.1761, allocations: 164.7 kB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1761, allocations: 384 / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1762, allocations: 384 / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.433e-05/0.1763, allocations: 42.25 kB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1763, allocations: 4.172 kB / 0.8977 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.1763, allocations: 3.938 kB / 0.8977 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1763, allocations: 0 / 0.8977 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.1763, allocations: 4 kB / 0.8977 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.986e-05/0.1764, allocations: 149.6 kB / 0.8978 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.555e-05/0.1765, allocations: 30.53 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.1765, allocations: 8.859 kB / 0.8979 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.1766, allocations: 85.11 kB / 0.898 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.1767, allocations: 34.56 kB / 0.898 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1767, allocations: 0 / 0.898 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001156/0.1768, allocations: 41.62 kB / 0.898 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.423e-05/0.1768, allocations: 59.34 kB / 0.8981 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.978e-05/0.1768, allocations: 93.86 kB / 0.8982 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.1768, allocations: 29.83 kB / 0.8982 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-06/0.1769, allocations: 80.14 kB / 0.8983 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.1769, allocations: 0 / 0.8983 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.1769, allocations: 9.719 kB / 0.8983 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.1769, allocations: 318.8 kB / 0.8986 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.177, allocations: 0 / 0.8986 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.177, allocations: 4 kB / 0.8986 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/0.177, allocations: 12.86 kB / 0.8986 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.177, allocations: 4.062 kB / 0.8986 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.672e-05/0.1771, allocations: 41.69 kB / 0.8987 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.1771, allocations: 10.59 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1771, allocations: 0 / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1771, allocations: 3.938 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.1772, allocations: 4 kB / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1772, allocations: 0 / 0.8987 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.1772, allocations: 3.938 kB / 0.8987 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1772, allocations: 7.984 kB / 0.8987 GB, free: 65.96 MB / 0.6042 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 (n,fac) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.1773, allocations: 110.6 kB / 0.8988 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.1773, allocations: 3.906 kB / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.1773, allocations: 44.81 kB / 0.8988 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1774, allocations: 3.938 kB / 0.8988 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.1774, allocations: 0 / 0.8988 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.1774, allocations: 77.11 kB / 0.8989 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.1774, allocations: 4 kB / 0.8989 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.1774, allocations: 3.984 kB / 0.8989 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.1774, allocations: 3.938 kB / 0.8989 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.703e-05/0.1775, allocations: 117 kB / 0.899 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 6.548e-05/0.1776, allocations: 210.8 kB / 0.8992 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.73e-05/0.1776, allocations: 11.92 kB / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.026e-05/0.1776, allocations: 75.28 kB / 0.8993 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of Backend: time 3.6e-07/0.1776, allocations: 0 / 0.8993 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.178, allocations: 90.47 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0001816/0.1781, allocations: 0.5309 MB / 0.8999 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.001759/0.1799, allocations: 341.5 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)