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.0008981/0.0008981, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009508/0.0009508, allocations: 197.1 kB / 16.26 MB, free: 6.621 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.121/1.121, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.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.457/1.457, allocations: 292.2 MB / 0.5485 GB, free: 13.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.0012/0.0012, allocations: 74.64 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001619/0.169, allocations: 0.6535 MB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.1693, allocations: 55.84 kB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.1693, allocations: 0 / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.1693, allocations: 0 / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.1694, allocations: 0 / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.1696, allocations: 19.92 kB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.1696, allocations: 31.95 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.939e-05/0.1697, allocations: 4 kB / 0.7836 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.1697, allocations: 8 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.199e-05/0.1697, allocations: 19.97 kB / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1697, allocations: 0 / 0.7836 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.1698, allocations: 15.98 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1698, allocations: 19.88 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1699, allocations: 15.92 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.612e-05/0.1699, allocations: 35.89 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.17, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.17, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.17, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 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.0002519/0.1702, allocations: 331.8 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.1703, allocations: 12.03 kB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.1703, allocations: 8.844 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.1704, allocations: 164.3 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.1704, allocations: 12.31 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1704, allocations: 4.375 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1705, allocations: 66.16 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1705, allocations: 192 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1705, allocations: 3.938 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.1706, allocations: 0 / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1707, allocations: 103.9 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1708, allocations: 169.7 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.1709, allocations: 74.48 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.171, allocations: 40.83 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.1712, allocations: 401.5 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.1712, allocations: 34.56 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.1713, allocations: 0 / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002037/0.1715, allocations: 121.7 kB / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1715, allocations: 59.41 kB / 0.7852 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.38e-05/0.1715, allocations: 97.84 kB / 0.7853 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1715, allocations: 25.7 kB / 0.7854 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.1716, allocations: 84.08 kB / 0.7854 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1716, allocations: 23.66 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1716, allocations: 33.7 kB / 0.7855 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.1717, allocations: 310.8 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.1718, allocations: 23.98 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.1718, allocations: 19.98 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.1719, allocations: 64.77 kB / 0.7859 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1719, allocations: 0 / 0.7859 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001121/0.172, allocations: 85.67 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.172, allocations: 4 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.172, allocations: 7.938 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.172, allocations: 0 / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.1721, allocations: 31.86 kB / 0.786 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.1721, allocations: 0 / 0.786 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.1722, allocations: 7.906 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.1722, allocations: 7.984 kB / 0.786 GB, free: 10.29 MB / 0.6075 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 8.177e-05/0.1723, allocations: 118.5 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.1723, allocations: 0 / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.1725, allocations: 137.2 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1725, allocations: 7.984 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1725, allocations: 4 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1725, allocations: 0 / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.1726, allocations: 169.7 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1726, allocations: 0 / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.1727, allocations: 23.98 kB / 0.7865 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1727, allocations: 3.938 kB / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1727, allocations: 4 kB / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1727, allocations: 0 / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1727, allocations: 3.984 kB / 0.7865 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1728, allocations: 121.9 kB / 0.7866 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1729, allocations: 92.89 kB / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.1729, allocations: 0 / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.1729, allocations: 7.984 kB / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.1729, allocations: 4 kB / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.173, allocations: 7.984 kB / 0.7867 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.173, allocations: 75.28 kB / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 0 / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001878/0.1732, allocations: 16 kB / 0.7868 GB, free: 9.406 MB / 0.6075 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.0001466/0.1733, allocations: 118.6 kB / 0.7869 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1735, allocations: 79.88 kB / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1735, allocations: 0 / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.1735, allocations: 39.92 kB / 0.787 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.1736, allocations: 0 / 0.787 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.1739, allocations: 164.8 kB / 0.7872 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.1741, allocations: 0.6836 MB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.477e-05/0.1741, allocations: 35.94 kB / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.1742, allocations: 11.44 kB / 0.7879 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1742, allocations: 0 / 0.7879 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.002027/0.1762, allocations: 0.611 MB / 0.7885 GB, free: 7.617 MB / 0.6075 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)