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.0008716/0.0008716, allocations: 92.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.9 kB / 16.92 MB, free: 6.684 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 11.98 kB / 495.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 77.54 MB / 0.56 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001705/0.1718, allocations: 1.242 MB / 0.5612 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000364/0.1722, allocations: 132.5 kB / 0.5613 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.1722, allocations: 0 / 0.5613 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1723, allocations: 7.938 kB / 0.5613 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.1723, allocations: 3.984 kB / 0.5613 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1725, allocations: 31.84 kB / 0.5613 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.1726, allocations: 35.86 kB / 0.5614 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.1727, allocations: 8 kB / 0.5614 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.1727, allocations: 11.98 kB / 0.5614 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.1728, allocations: 23.91 kB / 0.5614 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1728, allocations: 0 / 0.5614 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.1729, allocations: 19.98 kB / 0.5614 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1729, allocations: 7.938 kB / 0.5614 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.1729, allocations: 37.64 kB / 0.5615 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.173, allocations: 39.86 kB / 0.5615 GB, free: 7.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.173, allocations: 0 / 0.5615 GB, free: 7.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1731, allocations: 0 / 0.5615 GB, free: 7.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1731, allocations: 0 / 0.5615 GB, free: 7.492 MB / 430.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.0004305/0.1735, allocations: 365.4 kB / 0.5619 GB, free: 7.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1735, allocations: 8.031 kB / 0.5619 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1736, allocations: 4.938 kB / 0.5619 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1737, allocations: 164.3 kB / 0.562 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1737, allocations: 4.375 kB / 0.562 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1737, allocations: 4.375 kB / 0.562 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1739, allocations: 70.22 kB / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1739, allocations: 4.125 kB / 0.5621 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.174, allocations: 7.938 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.174, allocations: 0 / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1742, allocations: 55.95 kB / 0.5622 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1745, allocations: 280.8 kB / 0.5624 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1749, allocations: 70.45 kB / 0.5625 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.175, allocations: 36.89 kB / 0.5625 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.1752, allocations: 397.5 kB / 0.5629 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1753, allocations: 34.56 kB / 0.563 GB, free: 5.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1753, allocations: 0 / 0.563 GB, free: 5.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004008/0.1757, allocations: 117.5 kB / 0.5631 GB, free: 5.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1757, allocations: 51.41 kB / 0.5631 GB, free: 5.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.1758, allocations: 105.8 kB / 0.5632 GB, free: 5.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1758, allocations: 29.64 kB / 0.5632 GB, free: 5.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.1759, allocations: 88.14 kB / 0.5633 GB, free: 5.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.1759, allocations: 3.906 kB / 0.5633 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.1759, allocations: 9.719 kB / 0.5633 GB, free: 5.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.176, allocations: 330.8 kB / 0.5637 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/0.1761, allocations: 23.98 kB / 0.5637 GB, free: 4.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.1762, allocations: 23.97 kB / 0.5637 GB, free: 4.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1764, allocations: 56.83 kB / 0.5638 GB, free: 4.883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1764, allocations: 0 / 0.5638 GB, free: 4.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002187/0.1766, allocations: 93.58 kB / 0.5638 GB, free: 4.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1767, allocations: 5.719 kB / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1767, allocations: 0 / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1767, allocations: 0 / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.1768, allocations: 23.86 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1768, allocations: 0 / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1769, allocations: 11.91 kB / 0.5639 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1769, allocations: 0 / 0.5639 GB, free: 4.746 MB / 430.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.149e-05/0.177, allocations: 125.8 kB / 0.564 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.177, allocations: 0 / 0.564 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.1772, allocations: 89.55 kB / 0.5641 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1773, allocations: 0 / 0.5641 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1773, allocations: 8 kB / 0.5641 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1773, allocations: 0 / 0.5641 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1774, allocations: 169.6 kB / 0.5643 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1774, allocations: 0 / 0.5643 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.696e-05/0.1775, allocations: 19.92 kB / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1775, allocations: 0 / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1775, allocations: 0 / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1776, allocations: 0 / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1776, allocations: 0 / 0.5643 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1778, allocations: 199.7 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.1779, allocations: 77.11 kB / 0.5645 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1779, allocations: 0 / 0.5645 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.178, allocations: 15.98 kB / 0.5646 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.178, allocations: 4 kB / 0.5646 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1781, allocations: 3.984 kB / 0.5646 GB, free: 3.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.1781, allocations: 87.28 kB / 0.5647 GB, free: 3.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1781, allocations: 0 / 0.5647 GB, free: 3.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1783, allocations: 8 kB / 0.5647 GB, free: 3.852 MB / 430.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.000146/0.1785, allocations: 107.2 kB / 0.5648 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1787, allocations: 55.89 kB / 0.5648 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1787, allocations: 0 / 0.5648 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1789, allocations: 27.98 kB / 0.5648 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1791, allocations: 19.88 kB / 0.5649 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.1794, allocations: 128.6 kB / 0.565 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1797, allocations: 0.6809 MB / 0.5656 GB, free: 2.781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.1797, allocations: 4 kB / 0.5657 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.1797, allocations: 11.44 kB / 0.5657 GB, free: 2.766 MB / 430.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1798, allocations: 3.938 kB / 0.5657 GB, free: 2.762 MB / 430.1 MB Notification: Performance of Templates: time 0.002618/0.1824, allocations: 0.6611 MB / 0.5663 GB, free: 2.105 MB / 430.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)