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.001163/0.001163, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.00118/0.00118, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.396/1.396, allocations: 205.1 MB / 222.8 MB, free: 4.648 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.661/1.661, allocations: 292.3 MB / 0.5492 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.001327/0.001327, allocations: 69.53 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2193, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001708/0.221, allocations: 0.6508 MB / 0.7842 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.2213, allocations: 59.77 kB / 0.7842 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.2213, allocations: 0 / 0.7842 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.2213, allocations: 0 / 0.7842 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.2213, allocations: 0 / 0.7842 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.2216, allocations: 15.98 kB / 0.7842 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.2217, allocations: 31.97 kB / 0.7843 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.2217, allocations: 3.984 kB / 0.7843 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.2217, allocations: 12 kB / 0.7843 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.2218, allocations: 11.97 kB / 0.7843 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.2218, allocations: 0 / 0.7843 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.2218, allocations: 16 kB / 0.7843 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.2219, allocations: 19.92 kB / 0.7843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.2219, allocations: 11.94 kB / 0.7843 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.222, allocations: 23.95 kB / 0.7844 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.222, allocations: 3.938 kB / 0.7844 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.222, allocations: 0 / 0.7844 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.222, allocations: 0 / 0.7844 GB, free: 13.05 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.0003049/0.2223, allocations: 335.9 kB / 0.7847 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2224, allocations: 8.031 kB / 0.7847 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2224, allocations: 4.844 kB / 0.7847 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.2225, allocations: 184.2 kB / 0.7849 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2225, allocations: 384 / 0.7849 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2225, allocations: 4.375 kB / 0.7849 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2227, allocations: 62.17 kB / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2227, allocations: 4.188 kB / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2227, allocations: 7.938 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.2227, allocations: 4 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2229, allocations: 99.86 kB / 0.785 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.223, allocations: 169.7 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2232, allocations: 82.47 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.2232, allocations: 24.84 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.2235, allocations: 405.5 kB / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2236, allocations: 34.56 kB / 0.7857 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2236, allocations: 0 / 0.7857 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002236/0.2238, allocations: 125.7 kB / 0.7858 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.2238, allocations: 55.41 kB / 0.7859 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.175e-05/0.2239, allocations: 93.86 kB / 0.786 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2239, allocations: 29.7 kB / 0.786 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.2239, allocations: 84.14 kB / 0.7861 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.224, allocations: 19.66 kB / 0.7861 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.224, allocations: 29.7 kB / 0.7861 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2241, allocations: 322.8 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.2242, allocations: 19.98 kB / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.2242, allocations: 19.98 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.2243, allocations: 61.44 kB / 0.7865 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2243, allocations: 0 / 0.7865 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00014/0.2244, allocations: 101.5 kB / 0.7866 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2245, allocations: 4 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2245, allocations: 3.938 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2245, allocations: 0 / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.2246, allocations: 19.98 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2246, allocations: 0 / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.2246, allocations: 3.906 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2246, allocations: 15.92 kB / 0.7867 GB, free: 10.34 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 0.0001342/0.2248, allocations: 125.8 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.2248, allocations: 4 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.225, allocations: 129.3 kB / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.225, allocations: 0 / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.225, allocations: 0 / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.225, allocations: 0 / 0.7869 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2252, allocations: 181.6 kB / 0.7871 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2252, allocations: 0 / 0.7871 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.2252, allocations: 16 kB / 0.7871 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2253, allocations: 7.922 kB / 0.7871 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2253, allocations: 0 / 0.7871 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2253, allocations: 3.984 kB / 0.7871 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2253, allocations: 4 kB / 0.7871 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2254, allocations: 121 kB / 0.7873 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2255, allocations: 96.89 kB / 0.7874 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2255, allocations: 4 kB / 0.7874 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.2255, allocations: 4 kB / 0.7874 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.2255, allocations: 7.984 kB / 0.7874 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2256, allocations: 8 kB / 0.7874 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.2256, allocations: 75.28 kB / 0.7874 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2256, allocations: 0 / 0.7874 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001911/0.2258, allocations: 8 kB / 0.7875 GB, free: 9.457 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.0001583/0.226, allocations: 119.2 kB / 0.7876 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.2261, allocations: 75.84 kB / 0.7876 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2261, allocations: 0 / 0.7876 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.2262, allocations: 35.92 kB / 0.7877 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.2263, allocations: 8 kB / 0.7877 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.2266, allocations: 182.5 kB / 0.7879 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2268, allocations: 0.6873 MB / 0.7885 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.2269, allocations: 19.42 kB / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2269, allocations: 0 / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.002181/0.229, allocations: 0.9497 MB / 0.7895 GB, free: 7.324 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)