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 3.063/3.063, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001351/0.001351, allocations: 183.4 kB / 371 MB, free: 10.86 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.12/2.12, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009446/0.0009442, allocations: 102.3 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 12.94 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007611/0.2213, allocations: 323.4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.2216, allocations: 43.91 kB / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.2216, allocations: 0 / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.2217, allocations: 4 kB / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-06/0.2217, allocations: 3.938 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2219, allocations: 11.98 kB / 0.9787 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.222, allocations: 35.89 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.2221, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2221, allocations: 8 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.2222, allocations: 15.97 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2222, allocations: 8 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.2223, allocations: 16 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.2223, allocations: 7.984 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.2224, allocations: 29.7 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.881e-05/0.2224, allocations: 27.89 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2224, allocations: 0 / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2225, allocations: 0 / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2225, allocations: 0 / 0.9789 GB, free: 27.82 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.0002724/0.2228, allocations: 323.7 kB / 0.9792 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2228, allocations: 12.03 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.2228, allocations: 7.906 kB / 0.9792 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.2229, allocations: 167 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.223, allocations: 0 / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.223, allocations: 4 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2232, allocations: 69.59 kB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.2232, allocations: 0 / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2232, allocations: 8 kB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2232, allocations: 0 / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2234, allocations: 103.8 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2236, allocations: 177.6 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2237, allocations: 74.48 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.2238, allocations: 24.84 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.2241, allocations: 405.5 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.2241, allocations: 30.56 kB / 0.9802 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.2242, allocations: 4 kB / 0.9802 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003102/0.2245, allocations: 117.8 kB / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.2245, allocations: 59.41 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.018e-05/0.2246, allocations: 93.84 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2246, allocations: 29.7 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.2246, allocations: 84.33 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2246, allocations: 23.64 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.2247, allocations: 4 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.2247, allocations: 314.8 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.2248, allocations: 23.92 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.2249, allocations: 23.98 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.431e-05/0.2249, allocations: 31.92 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.225, allocations: 3.953 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001791/0.2251, allocations: 85.61 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2252, allocations: 7.984 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2252, allocations: 4 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2252, allocations: 0 / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.2254, allocations: 16 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2254, allocations: 0 / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.2254, allocations: 11.89 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2255, allocations: 7.984 kB / 0.9811 GB, free: 25.2 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.0001294/0.2256, allocations: 128 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.2256, allocations: 7.938 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.2259, allocations: 129.6 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2259, allocations: 4 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2259, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.226, allocations: 4 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2261, allocations: 165.7 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2261, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2262, allocations: 19.95 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2262, allocations: 0 / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2263, allocations: 15.92 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2263, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2263, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.2265, allocations: 118.2 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.2265, allocations: 93.03 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2266, allocations: 3.953 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.2266, allocations: 4 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2266, allocations: 7.984 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2267, allocations: 4 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.537e-05/0.2267, allocations: 75.28 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2267, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002691/0.227, allocations: 20 kB / 0.9819 GB, free: 24.32 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.0001887/0.2272, allocations: 111.2 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.2274, allocations: 67.94 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2274, allocations: 0 / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.2275, allocations: 35.92 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.2276, allocations: 8 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.228, allocations: 150.6 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2281, allocations: 0.6848 MB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.2282, allocations: 35.94 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.2283, allocations: 15.44 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of SimCode: time 6.52e-07/0.2283, allocations: 0 / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003238/0.2315, allocations: 0.5673 MB / 0.9835 GB, free: 22.6 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)