Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.606/1.606, allocations: 287.4 MB / 303.2 MB, free: 8.188 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.001065/0.001065, allocations: 194.9 kB / 371.8 MB, free: 10.84 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.359/1.359, allocations: 205.4 MB / 0.6304 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007263/0.0007263, allocations: 93.36 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003802, allocations: 14.05 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1846, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.0005855/0.1852, allocations: 319.5 kB / 0.9796 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.1854, allocations: 35.91 kB / 0.9796 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.372e-05/0.1854, allocations: 4 kB / 0.9796 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.999e-06/0.1855, allocations: 0 / 0.9796 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.1855, allocations: 7.938 kB / 0.9796 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.1857, allocations: 11.97 kB / 0.9796 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.884e-05/0.1857, allocations: 4 kB / 0.9797 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1858, allocations: 0 / 0.9797 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.1858, allocations: 0 / 0.9797 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.443e-05/0.1858, allocations: 4 kB / 0.9797 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.1858, allocations: 0 / 0.9797 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.1859, allocations: 11.98 kB / 0.9797 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.1859, allocations: 0 / 0.9797 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.1859, allocations: 29.7 kB / 0.9797 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.281e-05/0.186, allocations: 8 kB / 0.9797 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.186, allocations: 0 / 0.9797 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.412e-06/0.186, allocations: 0 / 0.9797 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.186, allocations: 0 / 0.9797 GB, free: 27.77 MB / 0.6198 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.000184/0.1862, allocations: 315.5 kB / 0.98 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1863, allocations: 8.031 kB / 0.98 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.1863, allocations: 0.9375 kB / 0.98 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.09e-05/0.1863, allocations: 164.3 kB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1864, allocations: 4.375 kB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-06/0.1864, allocations: 4.375 kB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.1865, allocations: 34.19 kB / 0.9802 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1865, allocations: 192 / 0.9802 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1865, allocations: 7.875 kB / 0.9802 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1865, allocations: 4 kB / 0.9802 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.1865, allocations: 0 / 0.9802 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.881e-05/0.1866, allocations: 157.7 kB / 0.9804 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.1867, allocations: 34.55 kB / 0.9804 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.1867, allocations: 8.922 kB / 0.9804 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1868, allocations: 81.09 kB / 0.9805 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1869, allocations: 34.56 kB / 0.9805 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1869, allocations: 0 / 0.9805 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000114/0.187, allocations: 41.64 kB / 0.9806 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.4e-05/0.187, allocations: 51.41 kB / 0.9806 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.826e-05/0.187, allocations: 97.92 kB / 0.9807 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.187, allocations: 25.7 kB / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.387e-06/0.1871, allocations: 84.12 kB / 0.9808 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1871, allocations: 7.906 kB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-06/0.1871, allocations: 0 / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.1871, allocations: 314.8 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.1871, allocations: 0 / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.1872, allocations: 4 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.1872, allocations: 12.92 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1872, allocations: 0 / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.872e-05/0.1873, allocations: 41.69 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1873, allocations: 4 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1873, allocations: 3.984 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1873, allocations: 7.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.1874, allocations: 3.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1874, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.1874, allocations: 4.281 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.1874, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 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 3.984e-05/0.1874, allocations: 117.8 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.1875, allocations: 11.98 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.023e-05/0.1875, allocations: 36.83 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1875, allocations: 3.938 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1875, allocations: 0 / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.1876, allocations: 81.09 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.1876, allocations: 8 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.1876, allocations: 3.938 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1876, allocations: 4.031 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.245e-05/0.1877, allocations: 120.9 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.027e-05/0.1878, allocations: 210.8 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.953e-05/0.1878, allocations: 11.94 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.099e-05/0.1878, allocations: 75.28 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of Backend: time 7.21e-07/0.1878, allocations: 4.062 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.1882, allocations: 88.41 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000187/0.1884, allocations: 0.5311 MB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.001967/0.1903, allocations: 325 kB / 0.9828 GB, free: 24.29 MB / 0.6198 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)