Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001891/0.001891, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001755/0.001755, allocations: 197.9 kB / 18.02 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7111/0.7111, allocations: 115.3 MB / 407.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 69.45 kB / 0.5583 GB, free: 32.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1607, allocations: 76.17 MB / 0.6327 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002902/0.1637, allocations: 1.527 MB / 0.6342 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.1641, allocations: 124.5 kB / 0.6343 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.1641, allocations: 4 kB / 0.6344 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.1641, allocations: 3.938 kB / 0.6344 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.1642, allocations: 7.938 kB / 0.6344 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1645, allocations: 39.89 kB / 0.6344 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.1646, allocations: 31.86 kB / 0.6344 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1647, allocations: 12 kB / 0.6344 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.1648, allocations: 19.91 kB / 0.6345 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.1648, allocations: 23.92 kB / 0.6345 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1649, allocations: 4 kB / 0.6345 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.509e-05/0.1649, allocations: 19.98 kB / 0.6345 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.165, allocations: 7.984 kB / 0.6345 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.165, allocations: 11.94 kB / 0.6345 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1651, allocations: 51.8 kB / 0.6346 GB, free: 2.375 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1651, allocations: 0 / 0.6346 GB, free: 2.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1652, allocations: 0 / 0.6346 GB, free: 2.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1652, allocations: 0 / 0.6346 GB, free: 2.375 MB / 478.1 MB 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.0005273/0.1657, allocations: 351.4 kB / 0.6349 GB, free: 1.98 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1657, allocations: 12.03 kB / 0.6349 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1658, allocations: 4.938 kB / 0.6349 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1659, allocations: 172.2 kB / 0.6351 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1659, allocations: 4.375 kB / 0.6351 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.166, allocations: 4.375 kB / 0.6351 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1662, allocations: 62.23 kB / 0.6352 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1662, allocations: 192 / 0.6352 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1662, allocations: 3.938 kB / 0.6352 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1662, allocations: 0 / 0.6352 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.1664, allocations: 47.95 kB / 0.6352 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1668, allocations: 288.6 kB / 0.6355 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.1672, allocations: 54.59 kB / 0.6355 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.1673, allocations: 28.84 kB / 0.6356 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.1676, allocations: 401.5 kB / 0.6359 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1676, allocations: 30.56 kB / 0.636 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 4.458e-06/0.1676, allocations: 3.984 kB / 0.636 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003939/0.168, allocations: 101.6 kB / 0.6361 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.168, allocations: 55.34 kB / 0.6361 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1682, allocations: 109.8 kB / 0.6362 GB, free: 400 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1682, allocations: 25.7 kB / 0.6363 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.1683, allocations: 92.08 kB / 0.6363 GB, free: 272 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1683, allocations: 7.891 kB / 0.6364 GB, free: 264 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1683, allocations: 17.72 kB / 0.6364 GB, free: 240 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1685, allocations: 314.8 kB / 0.6367 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.1686, allocations: 23.97 kB / 0.6367 GB, free: 15.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.1687, allocations: 23.98 kB / 0.6367 GB, free: 15.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1689, allocations: 40.81 kB / 0.6368 GB, free: 15.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1689, allocations: 0 / 0.6368 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002223/0.1691, allocations: 81.5 kB / 0.6368 GB, free: 15.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1691, allocations: 5.406 kB / 0.6368 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1691, allocations: 4 kB / 0.6368 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1691, allocations: 4 kB / 0.6368 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.1692, allocations: 11.98 kB / 0.6369 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1693, allocations: 0 / 0.6369 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.1693, allocations: 11.98 kB / 0.6369 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1693, allocations: 0 / 0.6369 GB, free: 15.71 MB / 494.1 MB 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.308e-05/0.1694, allocations: 117.8 kB / 0.637 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1695, allocations: 0 / 0.637 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1697, allocations: 89.48 kB / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1697, allocations: 0 / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1697, allocations: 0 / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1698, allocations: 3.984 kB / 0.6371 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1699, allocations: 169.6 kB / 0.6372 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1699, allocations: 0 / 0.6372 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.17, allocations: 11.98 kB / 0.6372 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.17, allocations: 0 / 0.6372 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.17, allocations: 0 / 0.6372 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.17, allocations: 4 kB / 0.6372 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1701, allocations: 320 / 0.6372 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1703, allocations: 183.3 kB / 0.6374 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.1704, allocations: 85.45 kB / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1704, allocations: 0 / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1705, allocations: 4 kB / 0.6375 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.1706, allocations: 15.98 kB / 0.6375 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1706, allocations: 0 / 0.6375 GB, free: 14.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.1707, allocations: 95.19 kB / 0.6376 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1707, allocations: 0 / 0.6376 GB, free: 14.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1709, allocations: 12 kB / 0.6376 GB, free: 14.82 MB / 494.1 MB 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.0002318/0.1711, allocations: 103.2 kB / 0.6377 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1714, allocations: 47.89 kB / 0.6378 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1714, allocations: 4 kB / 0.6378 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.784e-05/0.1715, allocations: 27.91 kB / 0.6378 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1718, allocations: 8.016 kB / 0.6378 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.1721, allocations: 151.2 kB / 0.638 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1724, allocations: 0.6768 MB / 0.6386 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1724, allocations: 15.42 kB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1724, allocations: 4 kB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of Templates: time 0.002253/0.1747, allocations: 0.7978 MB / 0.6394 GB, free: 12.93 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)