Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.269/1.269, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0008798/0.0008798, allocations: 164.8 kB / 326.5 MB, free: 2.711 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.408/1.408, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007783/0.0007783, allocations: 83.98 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003271, allocations: 14.16 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1867, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001636/0.1884, allocations: 1.244 MB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.1888, allocations: 125.2 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1889, allocations: 3.938 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.1889, allocations: 3.984 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.189, allocations: 4 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1892, allocations: 23.91 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.1893, allocations: 20 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.1893, allocations: 15.86 kB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.1894, allocations: 12 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.1894, allocations: 11.92 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1895, allocations: 0 / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.1895, allocations: 11.98 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1895, allocations: 15.92 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1896, allocations: 7.938 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.1897, allocations: 27.95 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1897, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1897, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1897, allocations: 4 kB / 0.8982 GB, free: 66.65 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003368/0.19, allocations: 343.4 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1901, allocations: 11.97 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1901, allocations: 8.938 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.1902, allocations: 168.3 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1902, allocations: 384 / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1902, allocations: 8.375 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1904, allocations: 58.23 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1904, allocations: 192 / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1904, allocations: 3.938 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1904, allocations: 0 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1906, allocations: 59.89 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.191, allocations: 264.9 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1912, allocations: 74.53 kB / 0.8992 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.1913, allocations: 32.84 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.073e-05/0.1914, allocations: 81.05 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.1915, allocations: 42.55 kB / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1915, allocations: 0 / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003445/0.1918, allocations: 109.6 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.1918, allocations: 55.41 kB / 0.8995 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.1919, allocations: 105.8 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.1919, allocations: 25.7 kB / 0.8996 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.192, allocations: 80.14 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.192, allocations: 7.906 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.192, allocations: 13.72 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.192, allocations: 314.8 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1922, allocations: 27.98 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.1922, allocations: 27.91 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1924, allocations: 56.83 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1924, allocations: 0 / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001851/0.1926, allocations: 89.58 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1926, allocations: 4 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1926, allocations: 4 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1926, allocations: 3.938 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.1927, allocations: 15.98 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1927, allocations: 0 / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.1928, allocations: 8 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1928, allocations: 0 / 0.9003 GB, free: 64.34 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 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.291e-05/0.1929, allocations: 121.7 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1929, allocations: 8 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.1932, allocations: 89.14 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1932, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1932, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.1932, allocations: 81.02 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1932, allocations: 7.938 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.1933, allocations: 11.98 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1934, allocations: 15.92 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002433/0.1936, allocations: 172.9 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002086/0.1938, allocations: 247.4 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.852e-05/0.1939, allocations: 40 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.919e-05/0.194, allocations: 79.28 kB / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of Backend: time 2.11e-07/0.194, allocations: 0 / 0.9011 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.1944, allocations: 120.8 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003004/0.1947, allocations: 0.5554 MB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.002363/0.197, allocations: 0.6993 MB / 0.9024 GB, free: 62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)