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.001044/0.001044, allocations: 103.9 kB / 16.4 MB, free: 6.504 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.00122/0.00122, allocations: 196 kB / 17.34 MB, free: 5.742 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 64.12 kB / 0.5577 GB, free: 32.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 76.17 MB / 0.6321 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00237/0.1589, allocations: 1.53 MB / 0.6336 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003265/0.1592, allocations: 128.5 kB / 0.6337 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.1593, allocations: 4 kB / 0.6337 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.1593, allocations: 7.875 kB / 0.6337 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.1594, allocations: 7.922 kB / 0.6337 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1596, allocations: 27.98 kB / 0.6337 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.879e-05/0.1597, allocations: 47.83 kB / 0.6338 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.1598, allocations: 8 kB / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.1599, allocations: 15.92 kB / 0.6338 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.1599, allocations: 19.92 kB / 0.6338 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1599, allocations: 4 kB / 0.6338 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.16, allocations: 19.97 kB / 0.6338 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.16, allocations: 8 kB / 0.6339 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.16, allocations: 19.92 kB / 0.6339 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1602, allocations: 51.75 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1602, allocations: 0 / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1602, allocations: 4 kB / 0.6339 GB, free: 2.363 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1602, allocations: 0 / 0.6339 GB, free: 2.363 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.0004221/0.1606, allocations: 351.4 kB / 0.6343 GB, free: 1.969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.1606, allocations: 8.031 kB / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1607, allocations: 4.938 kB / 0.6343 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1608, allocations: 164.3 kB / 0.6344 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1608, allocations: 8.375 kB / 0.6344 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1608, allocations: 384 / 0.6344 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.161, allocations: 66.22 kB / 0.6345 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.161, allocations: 192 / 0.6345 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.161, allocations: 7.875 kB / 0.6345 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1611, allocations: 3.984 kB / 0.6345 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.1612, allocations: 43.95 kB / 0.6346 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1616, allocations: 288.7 kB / 0.6348 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1619, allocations: 58.48 kB / 0.6349 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.162, allocations: 28.89 kB / 0.6349 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.1623, allocations: 393.6 kB / 0.6353 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1623, allocations: 42.56 kB / 0.6353 GB, free: 0.668 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1623, allocations: 0 / 0.6353 GB, free: 0.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003554/0.1626, allocations: 89.62 kB / 0.6354 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.1627, allocations: 51.41 kB / 0.6355 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.1628, allocations: 118.1 kB / 0.6356 GB, free: 396 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1628, allocations: 25.7 kB / 0.6356 GB, free: 364 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.1628, allocations: 92.02 kB / 0.6357 GB, free: 268 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.1629, allocations: 7.906 kB / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1629, allocations: 17.7 kB / 0.6357 GB, free: 236 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.163, allocations: 322.8 kB / 0.636 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1631, allocations: 11.98 kB / 0.636 GB, free: 15.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.809e-05/0.1632, allocations: 23.97 kB / 0.6361 GB, free: 15.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1634, allocations: 56.75 kB / 0.6361 GB, free: 15.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1634, allocations: 0 / 0.6361 GB, free: 15.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.1636, allocations: 73.56 kB / 0.6362 GB, free: 15.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1636, allocations: 8 kB / 0.6362 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1636, allocations: 0 / 0.6362 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1636, allocations: 0 / 0.6362 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.1637, allocations: 19.92 kB / 0.6362 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1637, allocations: 4.062 kB / 0.6362 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.1638, allocations: 11.98 kB / 0.6362 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1638, allocations: 0 / 0.6362 GB, free: 15.69 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 6.807e-05/0.1639, allocations: 117.8 kB / 0.6363 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1639, allocations: 0 / 0.6363 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.1641, allocations: 81.55 kB / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1642, allocations: 0 / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1642, allocations: 0 / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1642, allocations: 4 kB / 0.6364 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1643, allocations: 169.6 kB / 0.6366 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1643, allocations: 0 / 0.6366 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.1644, allocations: 16.3 kB / 0.6366 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1644, allocations: 0 / 0.6366 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1645, allocations: 4 kB / 0.6366 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1645, allocations: 3.984 kB / 0.6366 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1645, allocations: 0 / 0.6366 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1647, allocations: 179.3 kB / 0.6368 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.1648, allocations: 81.05 kB / 0.6368 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1648, allocations: 4 kB / 0.6369 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.1649, allocations: 7.984 kB / 0.6369 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1649, allocations: 7.984 kB / 0.6369 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.1649, allocations: 3.938 kB / 0.6369 GB, free: 14.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.165, allocations: 87.28 kB / 0.637 GB, free: 14.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.165, allocations: 4 kB / 0.637 GB, free: 14.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1652, allocations: 8 kB / 0.637 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.0001435/0.1653, allocations: 111.2 kB / 0.6371 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1656, allocations: 43.89 kB / 0.6371 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1656, allocations: 0 / 0.6371 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.1657, allocations: 27.97 kB / 0.6371 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1659, allocations: 17.5 kB / 0.6372 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.1662, allocations: 109.5 kB / 0.6373 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1665, allocations: 0.6807 MB / 0.6379 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1665, allocations: 3.938 kB / 0.6379 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1665, allocations: 19.42 kB / 0.6379 GB, free: 13.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/0.1665, allocations: 0 / 0.6379 GB, free: 13.75 MB / 494.1 MB Notification: Performance of Templates: time 0.00276/0.1693, allocations: 0.7643 MB / 0.6387 GB, free: 12.99 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)