Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 288.4 MB / 304.3 MB, free: 8.035 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.0009794/0.0009795, allocations: 182.7 kB / 372.9 MB, free: 10.14 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.513/1.513, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.0009699/0.0009697, allocations: 86.36 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 16.53 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.00155/0.2313, allocations: 1.24 MB / 0.9819 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000291/0.2316, allocations: 120.5 kB / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.2316, allocations: 0 / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.2316, allocations: 0 / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.2317, allocations: 3.938 kB / 0.9821 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.2319, allocations: 27.97 kB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.232, allocations: 35.92 kB / 0.9821 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.2321, allocations: 15.98 kB / 0.9821 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.2321, allocations: 11.92 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.2322, allocations: 19.86 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2322, allocations: 0 / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.2323, allocations: 12 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2323, allocations: 7.984 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.2323, allocations: 41.62 kB / 0.9822 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.655e-05/0.2324, allocations: 35.88 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2324, allocations: 0 / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2324, allocations: 3.938 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2324, allocations: 0 / 0.9823 GB, free: 25.74 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.0003721/0.2328, allocations: 351.7 kB / 0.9826 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2329, allocations: 8.031 kB / 0.9826 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.2329, allocations: 0.9375 kB / 0.9826 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.233, allocations: 172.3 kB / 0.9828 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.233, allocations: 384 / 0.9828 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.233, allocations: 4.375 kB / 0.9828 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2332, allocations: 66.22 kB / 0.9828 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2332, allocations: 192 / 0.9828 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.2332, allocations: 7.938 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2332, allocations: 0 / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2334, allocations: 59.89 kB / 0.9829 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.2337, allocations: 293.5 kB / 0.9832 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.234, allocations: 62.55 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.2341, allocations: 32.89 kB / 0.9833 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.2343, allocations: 397.5 kB / 0.9837 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.2343, allocations: 42.5 kB / 0.9837 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2344, allocations: 0 / 0.9837 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003382/0.2347, allocations: 105.6 kB / 0.9838 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.332e-05/0.2347, allocations: 55.41 kB / 0.9839 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.2348, allocations: 113.8 kB / 0.984 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.2348, allocations: 25.7 kB / 0.984 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.2348, allocations: 80.14 kB / 0.9841 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.2348, allocations: 7.906 kB / 0.9841 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.2349, allocations: 0 / 0.9841 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.2349, allocations: 322.8 kB / 0.9844 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.235, allocations: 27.98 kB / 0.9844 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.2351, allocations: 31.91 kB / 0.9844 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2352, allocations: 52.77 kB / 0.9845 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2352, allocations: 4 kB / 0.9845 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001844/0.2354, allocations: 89.55 kB / 0.9846 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2354, allocations: 4 kB / 0.9846 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2355, allocations: 0 / 0.9846 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2355, allocations: 0 / 0.9846 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.2356, allocations: 23.92 kB / 0.9846 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2356, allocations: 0 / 0.9846 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.2356, allocations: 8 kB / 0.9846 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2356, allocations: 0 / 0.9846 GB, free: 23.03 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 6.207e-05/0.2357, allocations: 125.7 kB / 0.9847 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.2357, allocations: 4 kB / 0.9847 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.236, allocations: 97.55 kB / 0.9848 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.236, allocations: 0 / 0.9848 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.236, allocations: 0 / 0.9848 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.236, allocations: 81.02 kB / 0.9849 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.236, allocations: 8 kB / 0.9849 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.2361, allocations: 11.98 kB / 0.9849 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.2362, allocations: 11.92 kB / 0.9849 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002408/0.2364, allocations: 173.2 kB / 0.9851 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002162/0.2367, allocations: 258.8 kB / 0.9853 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.862e-05/0.2368, allocations: 31.97 kB / 0.9854 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.2368, allocations: 91.27 kB / 0.9855 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Backend: time 2.21e-07/0.2368, allocations: 0 / 0.9855 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.2372, allocations: 107.4 kB / 0.9856 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003686/0.2376, allocations: 0.5838 MB / 0.9861 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.002934/0.2405, allocations: 0.7428 MB / 0.9869 GB, free: 20.61 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)