Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7573/0.7573, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 184.5 kB / 174.2 MB, free: 5.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205 MB / 408.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 95.69 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 59.06 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1665, allocations: 75.48 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00232/0.1689, allocations: 0.637 MB / 0.6323 GB, free: 32.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.1693, allocations: 61.16 kB / 0.6324 GB, free: 32.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.1693, allocations: 7.938 kB / 0.6324 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.723e-05/0.1694, allocations: 0 / 0.6324 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.1694, allocations: 0 / 0.6324 GB, free: 32.35 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1697, allocations: 7.984 kB / 0.6324 GB, free: 32.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.1698, allocations: 39.95 kB / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.1699, allocations: 4 kB / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.1699, allocations: 4 kB / 0.6324 GB, free: 32.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.1699, allocations: 15.97 kB / 0.6324 GB, free: 32.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1699, allocations: 4 kB / 0.6325 GB, free: 32.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.17, allocations: 15.98 kB / 0.6325 GB, free: 32.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.1701, allocations: 12 kB / 0.6325 GB, free: 32.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1701, allocations: 11.88 kB / 0.6325 GB, free: 32.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.1702, allocations: 35.83 kB / 0.6325 GB, free: 32.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1702, allocations: 0 / 0.6325 GB, free: 32.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1702, allocations: 0 / 0.6325 GB, free: 32.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1702, allocations: 0 / 0.6325 GB, free: 32.2 MB / 442.7 MB 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.0003359/0.1706, allocations: 343.6 kB / 0.6329 GB, free: 31.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1706, allocations: 11.97 kB / 0.6329 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1707, allocations: 8.844 kB / 0.6329 GB, free: 31.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.586e-05/0.1708, allocations: 164.6 kB / 0.633 GB, free: 31.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1708, allocations: 4.375 kB / 0.633 GB, free: 31.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1708, allocations: 8.375 kB / 0.633 GB, free: 31.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1709, allocations: 62.22 kB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.171, allocations: 192 / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.171, allocations: 7.938 kB / 0.6331 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.171, allocations: 0 / 0.6331 GB, free: 31.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1711, allocations: 99.88 kB / 0.6332 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1713, allocations: 181.5 kB / 0.6334 GB, free: 31.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.1714, allocations: 78.48 kB / 0.6335 GB, free: 31.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.1714, allocations: 24.84 kB / 0.6335 GB, free: 31.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.1717, allocations: 405.5 kB / 0.6339 GB, free: 30.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1718, allocations: 34.56 kB / 0.6339 GB, free: 30.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.1718, allocations: 0 / 0.6339 GB, free: 30.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000245/0.172, allocations: 121.8 kB / 0.634 GB, free: 30.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.172, allocations: 51.41 kB / 0.6341 GB, free: 30.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.099e-05/0.1721, allocations: 97.75 kB / 0.6342 GB, free: 30.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1721, allocations: 37.7 kB / 0.6342 GB, free: 30.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.71e-05/0.1721, allocations: 80.14 kB / 0.6343 GB, free: 30.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1722, allocations: 19.75 kB / 0.6343 GB, free: 30.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1722, allocations: 25.7 kB / 0.6343 GB, free: 30.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.1723, allocations: 322.8 kB / 0.6346 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.1723, allocations: 19.98 kB / 0.6346 GB, free: 29.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.1723, allocations: 20.42 kB / 0.6347 GB, free: 29.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.1724, allocations: 64.98 kB / 0.6347 GB, free: 29.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1724, allocations: 4 kB / 0.6347 GB, free: 29.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00011/0.1726, allocations: 97.45 kB / 0.6348 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1726, allocations: 4 kB / 0.6348 GB, free: 29.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1726, allocations: 3.938 kB / 0.6348 GB, free: 29.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1726, allocations: 4 kB / 0.6348 GB, free: 29.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.1727, allocations: 19.98 kB / 0.6348 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1727, allocations: 0 / 0.6348 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1728, allocations: 11.94 kB / 0.6349 GB, free: 29.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1728, allocations: 0 / 0.6349 GB, free: 29.49 MB / 442.7 MB 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.0001141/0.1729, allocations: 125.8 kB / 0.635 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.1729, allocations: 7.906 kB / 0.635 GB, free: 29.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.1731, allocations: 125.4 kB / 0.6351 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1731, allocations: 0 / 0.6351 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1731, allocations: 0 / 0.6351 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1731, allocations: 7.984 kB / 0.6351 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.445e-05/0.1732, allocations: 177.5 kB / 0.6353 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1732, allocations: 4 kB / 0.6353 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.1733, allocations: 19.98 kB / 0.6353 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1733, allocations: 3.938 kB / 0.6353 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1733, allocations: 0 / 0.6353 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1733, allocations: 4 kB / 0.6353 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1733, allocations: 0 / 0.6353 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1736, allocations: 0.698 MB / 0.636 GB, free: 28.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.1737, allocations: 85.02 kB / 0.6361 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1737, allocations: 4 kB / 0.6361 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.1737, allocations: 4 kB / 0.6361 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.1737, allocations: 7.984 kB / 0.6361 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1737, allocations: 4 kB / 0.6361 GB, free: 28.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.254e-05/0.1738, allocations: 75.28 kB / 0.6362 GB, free: 28.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1738, allocations: 0 / 0.6362 GB, free: 28.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.174, allocations: 15.94 kB / 0.6362 GB, free: 28 MB / 442.7 MB 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.0001588/0.1742, allocations: 119.2 kB / 0.6363 GB, free: 27.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1743, allocations: 55.91 kB / 0.6363 GB, free: 27.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1743, allocations: 4 kB / 0.6364 GB, free: 27.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.1744, allocations: 31.97 kB / 0.6364 GB, free: 27.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1745, allocations: 8.766 kB / 0.6364 GB, free: 27.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.1748, allocations: 281.5 kB / 0.6367 GB, free: 27.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.175, allocations: 0.6887 MB / 0.6373 GB, free: 26.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.175, allocations: 35.94 kB / 0.6374 GB, free: 26.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.1751, allocations: 19.42 kB / 0.6374 GB, free: 26.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1751, allocations: 0 / 0.6374 GB, free: 26.68 MB / 442.7 MB Notification: Performance of Templates: time 0.002287/0.1774, allocations: 0.6218 MB / 0.638 GB, free: 26.06 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)