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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001269/0.001269, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.481/1.481, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8671/0.8671, allocations: 128.4 MB / 426.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 60.09 kB / 0.5912 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1653, allocations: 83.27 MB / 0.6725 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002821/0.1681, allocations: 1.526 MB / 0.674 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.1685, allocations: 132.5 kB / 0.6741 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.1686, allocations: 0 / 0.6741 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.1686, allocations: 3.938 kB / 0.6741 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.1686, allocations: 7.875 kB / 0.6741 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.169, allocations: 35.89 kB / 0.6741 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.169, allocations: 35.92 kB / 0.6742 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.1691, allocations: 11.98 kB / 0.6742 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.1692, allocations: 19.92 kB / 0.6742 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.1692, allocations: 19.91 kB / 0.6742 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1692, allocations: 7.938 kB / 0.6742 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.1693, allocations: 15.98 kB / 0.6742 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.1693, allocations: 8 kB / 0.6743 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.1693, allocations: 15.92 kB / 0.6743 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1695, allocations: 55.75 kB / 0.6743 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1695, allocations: 0 / 0.6743 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1695, allocations: 4 kB / 0.6743 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.1695, allocations: 0 / 0.6743 GB, free: 1.973 MB / 0.4981 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.000498/0.17, allocations: 347.4 kB / 0.6747 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.17, allocations: 12.03 kB / 0.6747 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.17, allocations: 4.891 kB / 0.6747 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1702, allocations: 176.3 kB / 0.6748 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1702, allocations: 384 / 0.6748 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1702, allocations: 4.375 kB / 0.6748 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1704, allocations: 70.2 kB / 0.6749 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1704, allocations: 192 / 0.6749 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1705, allocations: 3.938 kB / 0.6749 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1705, allocations: 0 / 0.6749 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1707, allocations: 43.95 kB / 0.675 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1711, allocations: 284.7 kB / 0.6752 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1714, allocations: 62.53 kB / 0.6753 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.1715, allocations: 24.89 kB / 0.6753 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.1719, allocations: 397.5 kB / 0.6757 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1719, allocations: 34.56 kB / 0.6757 GB, free: 288 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1719, allocations: 0 / 0.6757 GB, free: 288 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003858/0.1723, allocations: 105.6 kB / 0.6758 GB, free: 176 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1723, allocations: 51.41 kB / 0.6759 GB, free: 112 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1724, allocations: 109.8 kB / 0.676 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1724, allocations: 25.7 kB / 0.676 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.1725, allocations: 92.03 kB / 0.6761 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.1725, allocations: 3.953 kB / 0.6761 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.1725, allocations: 17.72 kB / 0.6761 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1727, allocations: 322.8 kB / 0.6764 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.1728, allocations: 19.98 kB / 0.6764 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.1728, allocations: 23.97 kB / 0.6765 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.173, allocations: 40.83 kB / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.173, allocations: 0 / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002216/0.1732, allocations: 81.58 kB / 0.6766 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1732, allocations: 8 kB / 0.6766 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1733, allocations: 0 / 0.6766 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1733, allocations: 0 / 0.6766 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.1734, allocations: 15.98 kB / 0.6766 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1734, allocations: 3.938 kB / 0.6766 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.1734, allocations: 4 kB / 0.6766 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1734, allocations: 3.984 kB / 0.6766 GB, free: 15.31 MB / 0.5137 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 9.869e-05/0.1735, allocations: 121.7 kB / 0.6767 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1735, allocations: 3.953 kB / 0.6767 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.1738, allocations: 89.48 kB / 0.6768 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1738, allocations: 384 / 0.6768 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1738, allocations: 0 / 0.6768 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1738, allocations: 0 / 0.6768 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.174, allocations: 169.6 kB / 0.677 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.174, allocations: 3.984 kB / 0.677 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.1741, allocations: 15.98 kB / 0.677 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1741, allocations: 0 / 0.677 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1741, allocations: 0 / 0.677 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1741, allocations: 0 / 0.677 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.1741, allocations: 4 kB / 0.677 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1744, allocations: 171.4 kB / 0.6772 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1744, allocations: 89 kB / 0.6773 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1744, allocations: 0 / 0.6773 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.1745, allocations: 11.92 kB / 0.6773 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1746, allocations: 11.98 kB / 0.6773 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1746, allocations: 4 kB / 0.6773 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.1746, allocations: 87.28 kB / 0.6774 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1746, allocations: 0 / 0.6774 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000245/0.1749, allocations: 8 kB / 0.6774 GB, free: 14.43 MB / 0.5137 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.0001625/0.175, allocations: 107.2 kB / 0.6775 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1753, allocations: 43.95 kB / 0.6775 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1753, allocations: 0 / 0.6775 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1754, allocations: 27.92 kB / 0.6775 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1757, allocations: 7.922 kB / 0.6775 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.176, allocations: 125.5 kB / 0.6777 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1764, allocations: 0.6807 MB / 0.6783 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.1764, allocations: 4 kB / 0.6783 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.1765, allocations: 7.438 kB / 0.6783 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1765, allocations: 0 / 0.6783 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.0036/0.1801, allocations: 0.7769 MB / 0.6791 GB, free: 12.6 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (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) [Timeout 480]