Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008167, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004996/0.004997, allocations: 170.9 kB / 16.26 MB, free: 6.676 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.279/1.279, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.715/1.715, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004994/0.0004994, allocations: 14.62 kB / 0.6743 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001614/0.2123, allocations: 1.251 MB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000368/0.2127, allocations: 141.5 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.2128, allocations: 0 / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2128, allocations: 4 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.2129, allocations: 3.938 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.2131, allocations: 19.98 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.163e-05/0.2132, allocations: 35.84 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.2132, allocations: 15.98 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.2133, allocations: 8 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2133, allocations: 11.92 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2133, allocations: 4 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.2134, allocations: 19.98 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2134, allocations: 11.92 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.2135, allocations: 41.62 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.984e-05/0.2136, allocations: 43.86 kB / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2136, allocations: 0 / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2136, allocations: 0 / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2136, allocations: 0 / 0.7894 GB, free: 9.953 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004188/0.214, allocations: 351.7 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2141, allocations: 8.031 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.2141, allocations: 4.938 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2142, allocations: 172.2 kB / 0.7899 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2142, allocations: 384 / 0.7899 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2143, allocations: 12.38 kB / 0.79 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2145, allocations: 62.22 kB / 0.79 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2145, allocations: 4.188 kB / 0.79 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2145, allocations: 15.88 kB / 0.79 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2145, allocations: 0 / 0.79 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.2148, allocations: 47.95 kB / 0.7901 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.2151, allocations: 296.6 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2155, allocations: 54.55 kB / 0.7904 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.2156, allocations: 32.89 kB / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.2159, allocations: 405.5 kB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2159, allocations: 30.56 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2159, allocations: 0 / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003977/0.2163, allocations: 117.5 kB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2163, allocations: 59.41 kB / 0.791 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.2164, allocations: 109.8 kB / 0.7911 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2165, allocations: 25.7 kB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.2165, allocations: 84.22 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.2165, allocations: 11.89 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.2165, allocations: 13.7 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.2166, allocations: 322.8 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2168, allocations: 19.98 kB / 0.7916 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.2169, allocations: 27.97 kB / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.2171, allocations: 64.75 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2171, allocations: 0 / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002438/0.2173, allocations: 93.56 kB / 0.7918 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2173, allocations: 4 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2173, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2174, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.2175, allocations: 15.98 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2175, allocations: 0 / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.2175, allocations: 7.984 kB / 0.7918 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2176, allocations: 4 kB / 0.7918 GB, free: 7.207 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.136e-05/0.2177, allocations: 122.4 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.2177, allocations: 4 kB / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.218, allocations: 93.48 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.218, allocations: 4 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.218, allocations: 0 / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.218, allocations: 0 / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2182, allocations: 169.6 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2182, allocations: 0 / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.2183, allocations: 15.98 kB / 0.7922 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2183, allocations: 0 / 0.7922 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2183, allocations: 0 / 0.7922 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2183, allocations: 0 / 0.7922 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.2183, allocations: 3.984 kB / 0.7922 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.2186, allocations: 195.2 kB / 0.7924 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.2187, allocations: 77.11 kB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.2187, allocations: 4 kB / 0.7925 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.2188, allocations: 15.98 kB / 0.7925 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2189, allocations: 4.406 kB / 0.7925 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2189, allocations: 4 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.2189, allocations: 83.28 kB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2189, allocations: 0 / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002368/0.2192, allocations: 15.94 kB / 0.7926 GB, free: 6.305 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001602/0.2194, allocations: 111.2 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.2196, allocations: 55.95 kB / 0.7927 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2196, allocations: 0 / 0.7927 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2198, allocations: 35.91 kB / 0.7928 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.2201, allocations: 11.94 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2204, allocations: 136.5 kB / 0.7929 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.2206, allocations: 0.6809 MB / 0.7936 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.459e-05/0.2207, allocations: 8 kB / 0.7936 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2207, allocations: 7.438 kB / 0.7936 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2207, allocations: 0 / 0.7936 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.002737/0.2235, allocations: 0.66 MB / 0.7942 GB, free: 4.551 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: