Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001587/0.001587, allocations: 182.9 kB / 370.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 2.291/2.291, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001625/0.001625, allocations: 104.8 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006593/0.0006595, allocations: 12.36 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2159, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001802/0.2178, allocations: 1.24 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.2182, allocations: 128.5 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.2183, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.2183, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.2184, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2186, allocations: 31.84 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.2187, allocations: 15.98 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.2188, allocations: 15.98 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.2189, allocations: 15.92 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.2189, allocations: 15.92 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.219, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.219, allocations: 15.98 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.2191, allocations: 3.984 kB / 0.9796 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.2191, allocations: 29.7 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.54e-05/0.2192, allocations: 27.94 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2192, allocations: 4 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2192, allocations: 4 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2192, allocations: 0 / 0.9797 GB, free: 26.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004883/0.2197, allocations: 347.5 kB / 0.98 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/0.2198, allocations: 12.02 kB / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.2199, allocations: 0 / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.22, allocations: 182.9 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.22, allocations: 7.875 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.22, allocations: 8 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2203, allocations: 62.67 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2203, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2204, allocations: 4 kB / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2204, allocations: 0 / 0.9803 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.2207, allocations: 55.95 kB / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.2211, allocations: 288.7 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.2217, allocations: 66.53 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.2219, allocations: 397.7 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.222, allocations: 30.56 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.222, allocations: 0 / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006083/0.2226, allocations: 121.5 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2226, allocations: 51.41 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.2227, allocations: 109.8 kB / 0.9814 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2228, allocations: 29.7 kB / 0.9814 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.2228, allocations: 84.14 kB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2228, allocations: 11.91 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-06/0.2229, allocations: 0 / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.2229, allocations: 318.8 kB / 0.9818 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2231, allocations: 19.98 kB / 0.9818 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2233, allocations: 23.98 kB / 0.9818 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2234, allocations: 27.97 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2234, allocations: 0 / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000384/0.2238, allocations: 89.59 kB / 0.9819 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2239, allocations: 8 kB / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.2239, allocations: 0 / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2239, allocations: 0 / 0.9819 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2241, allocations: 16.31 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2241, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2242, allocations: 15.84 kB / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2242, allocations: 4 kB / 0.982 GB, free: 24.14 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/0.2243, allocations: 115.7 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2243, allocations: 7.984 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.2248, allocations: 101.4 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2248, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2248, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2248, allocations: 4 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.225, allocations: 169.6 kB / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.225, allocations: 0 / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.2251, allocations: 12 kB / 0.9824 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2252, allocations: 3.984 kB / 0.9824 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2252, allocations: 3.938 kB / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2252, allocations: 0 / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2252, allocations: 0 / 0.9824 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.2256, allocations: 191.4 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2256, allocations: 77.11 kB / 0.9826 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.2257, allocations: 7.984 kB / 0.9826 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2258, allocations: 15.94 kB / 0.9827 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.2259, allocations: 7.984 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2259, allocations: 4 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.226, allocations: 87.56 kB / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.226, allocations: 0 / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003005/0.2263, allocations: 15.94 kB / 0.9828 GB, free: 23.24 MB / 0.6198 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 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001529/0.2264, allocations: 99.25 kB / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.2268, allocations: 55.95 kB / 0.9829 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2268, allocations: 0 / 0.9829 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.227, allocations: 31.97 kB / 0.9829 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2273, allocations: 15.89 kB / 0.983 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.2276, allocations: 124.6 kB / 0.9831 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.2278, allocations: 0.6848 MB / 0.9838 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.2279, allocations: 4 kB / 0.9838 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.2279, allocations: 15.44 kB / 0.9838 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of SimCode: time 7.22e-07/0.2279, allocations: 0 / 0.9838 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.00333/0.2313, allocations: 0.6343 MB / 0.9844 GB, free: 21.52 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)