Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 118.5 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 188.7 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2577, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001905/0.2596, allocations: 0.5966 MB / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.2599, allocations: 59.8 kB / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.26, allocations: 0 / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.26, allocations: 0 / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5e-06/0.26, allocations: 0 / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.2603, allocations: 15.97 kB / 0.7855 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2605, allocations: 27.97 kB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.2605, allocations: 4 kB / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.2606, allocations: 11.98 kB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.2606, allocations: 15.92 kB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2606, allocations: 7.938 kB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.2607, allocations: 19.98 kB / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.2607, allocations: 15.98 kB / 0.7856 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.2608, allocations: 15.92 kB / 0.7856 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.2609, allocations: 31.89 kB / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2609, allocations: 0 / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2609, allocations: 0 / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2609, allocations: 0 / 0.7856 GB, free: 2.367 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003618/0.2613, allocations: 331.6 kB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2613, allocations: 16.03 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.2614, allocations: 4.844 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2615, allocations: 172.2 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2615, allocations: 8.375 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.2615, allocations: 4.375 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2617, allocations: 62.17 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2617, allocations: 4.125 kB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2617, allocations: 3.938 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2617, allocations: 4 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.2619, allocations: 99.86 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.2621, allocations: 173.7 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2622, allocations: 70.55 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.2622, allocations: 32.84 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/0.2626, allocations: 401.5 kB / 0.7869 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.2627, allocations: 38.83 kB / 0.787 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.2627, allocations: 0 / 0.787 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002507/0.2629, allocations: 125.4 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.263, allocations: 59.41 kB / 0.7871 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.263, allocations: 93.86 kB / 0.7872 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.263, allocations: 25.7 kB / 0.7873 GB, free: 392 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2631, allocations: 80.14 kB / 0.7873 GB, free: 308 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.2631, allocations: 23.66 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.2632, allocations: 33.7 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3179/0.5811, allocations: 314.8 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.5812, allocations: 18.11 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.5812, allocations: 22.89 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.5814, allocations: 65.73 kB / 0.7878 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5814, allocations: 3.328 kB / 0.7878 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001478/0.5815, allocations: 85.81 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5816, allocations: 6.578 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5816, allocations: 3.562 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5816, allocations: 1 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5817, allocations: 20.62 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5817, allocations: 6.281 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.5817, allocations: 9.234 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5818, allocations: 5.844 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001135/0.5819, allocations: 115.7 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.5819, allocations: 6.562 kB / 0.788 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.5821, allocations: 122.7 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5821, allocations: 12.02 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5821, allocations: 0 / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5821, allocations: 0 / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.5822, allocations: 178.5 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5822, allocations: 0 / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.5823, allocations: 23.72 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5823, allocations: 1.406 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.5823, allocations: 3.562 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5823, allocations: 4.688 kB / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5823, allocations: 0 / 0.7884 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.5825, allocations: 129.7 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.5825, allocations: 80.89 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.5825, allocations: 6.75 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.5825, allocations: 3.938 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.5826, allocations: 8.203 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.5826, allocations: 3.062 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.257e-05/0.5826, allocations: 75.88 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5826, allocations: 0.5312 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002412/0.5828, allocations: 15.56 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001642/0.583, allocations: 116.1 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.5831, allocations: 64.52 kB / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5832, allocations: 0 / 0.7888 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.5832, allocations: 40.67 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.5833, allocations: 6.469 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.5836, allocations: 164.4 kB / 0.789 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.5837, allocations: 0.6832 MB / 0.7897 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.5837, allocations: 18.23 kB / 0.7897 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.5837, allocations: 2.469 kB / 0.7897 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.002073/0.5858, allocations: 0.9523 MB / 0.7907 GB, free: 47.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)