Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.898/2.898, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001578/0.001578, allocations: 186.2 kB / 370.8 MB, free: 10.83 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.332/2.332, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001153/0.001152, allocations: 98 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000693/0.0006933, allocations: 17.62 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2608, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007277/0.2615, allocations: 325.8 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002429/0.2618, allocations: 49.55 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.2618, allocations: 4 kB / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.2619, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.2619, allocations: 0 / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2621, allocations: 15.92 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.2622, allocations: 23.91 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.2623, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.2623, allocations: 8 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.2624, allocations: 11.97 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2624, allocations: 4 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.2625, allocations: 19.98 kB / 0.9786 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.2625, allocations: 11.98 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.2625, allocations: 33.58 kB / 0.9787 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.881e-05/0.2626, allocations: 19.97 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2626, allocations: 0 / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2626, allocations: 0 / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2627, allocations: 0 / 0.9787 GB, free: 27.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002619/0.2629, allocations: 327.7 kB / 0.979 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.263, allocations: 8.031 kB / 0.979 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.263, allocations: 7.906 kB / 0.979 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.45e-05/0.2631, allocations: 171 kB / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2631, allocations: 0 / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2632, allocations: 8 kB / 0.9792 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.2633, allocations: 61.66 kB / 0.9793 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2633, allocations: 0 / 0.9793 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2634, allocations: 3.938 kB / 0.9793 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2634, allocations: 4 kB / 0.9793 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2636, allocations: 99.86 kB / 0.9794 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.2638, allocations: 177.6 kB / 0.9795 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2639, allocations: 74.53 kB / 0.9796 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.2642, allocations: 409.5 kB / 0.98 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2643, allocations: 34.56 kB / 0.98 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.2643, allocations: 0 / 0.98 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003106/0.2646, allocations: 113.4 kB / 0.9801 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2647, allocations: 55.41 kB / 0.9802 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.111e-05/0.2647, allocations: 98.17 kB / 0.9803 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2647, allocations: 29.7 kB / 0.9803 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.2647, allocations: 80.33 kB / 0.9804 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.2648, allocations: 27.59 kB / 0.9804 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.2648, allocations: 8 kB / 0.9804 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.2649, allocations: 310.8 kB / 0.9807 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.2649, allocations: 19.98 kB / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.265, allocations: 19.98 kB / 0.9808 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.2651, allocations: 27.98 kB / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2651, allocations: 3.938 kB / 0.9808 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001887/0.2653, allocations: 101.5 kB / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2653, allocations: 8 kB / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2653, allocations: 0 / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2654, allocations: 0 / 0.9809 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.2655, allocations: 19.98 kB / 0.9809 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2656, allocations: 4 kB / 0.9809 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.2656, allocations: 7.906 kB / 0.9809 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2656, allocations: 4 kB / 0.9809 GB, free: 25.25 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: 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 initialization (11): * Single equations (assignments): 11 * 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 0.00013/0.2658, allocations: 131.8 kB / 0.981 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.2658, allocations: 3.953 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2661, allocations: 121.6 kB / 0.9812 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2661, allocations: 4 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2661, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2661, allocations: 0 / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2663, allocations: 173.6 kB / 0.9813 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2663, allocations: 0 / 0.9813 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.2664, allocations: 20 kB / 0.9814 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2664, allocations: 11.88 kB / 0.9814 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2665, allocations: 7.938 kB / 0.9814 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2665, allocations: 0 / 0.9814 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2665, allocations: 0 / 0.9814 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.2667, allocations: 118.3 kB / 0.9815 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.2667, allocations: 89.03 kB / 0.9816 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2668, allocations: 3.953 kB / 0.9816 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.2668, allocations: 4 kB / 0.9816 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2668, allocations: 11.98 kB / 0.9816 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2669, allocations: 4 kB / 0.9816 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.551e-05/0.2669, allocations: 75.28 kB / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2669, allocations: 0 / 0.9817 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002841/0.2672, allocations: 16 kB / 0.9817 GB, free: 24.38 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: 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 (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.0001931/0.2674, allocations: 111.2 kB / 0.9818 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2676, allocations: 67.95 kB / 0.9819 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2676, allocations: 0 / 0.9819 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.2677, allocations: 35.92 kB / 0.9819 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.2679, allocations: 4 kB / 0.9819 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.2682, allocations: 150.7 kB / 0.982 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2683, allocations: 0.6809 MB / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.2685, allocations: 47.86 kB / 0.9827 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.2685, allocations: 15.42 kB / 0.9828 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.2685, allocations: 0 / 0.9828 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.00314/0.2717, allocations: 0.5567 MB / 0.9833 GB, free: 22.66 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)