Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7374/0.7374, allocations: 131 MB / 146.3 MB, free: 1.301 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 188.2 kB / 176.4 MB, free: 4.875 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.7 MB / 432 MB, free: 8.707 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000719/0.000719, allocations: 93.22 kB / 0.5003 GB, free: 9.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 8 kB / 0.5885 GB, free: 72.67 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 79.61 MB / 0.6663 GB, free: 8.898 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001901/0.163, allocations: 1.246 MB / 0.6675 GB, free: 7.641 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.1636, allocations: 204.8 kB / 0.6677 GB, free: 7.422 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.1636, allocations: 0 / 0.6677 GB, free: 7.422 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.1637, allocations: 3.938 kB / 0.6677 GB, free: 7.418 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.1637, allocations: 0 / 0.6677 GB, free: 7.418 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.164, allocations: 31.95 kB / 0.6677 GB, free: 7.387 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.593e-05/0.1641, allocations: 31.86 kB / 0.6677 GB, free: 7.355 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1642, allocations: 16 kB / 0.6678 GB, free: 7.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1643, allocations: 11.98 kB / 0.6678 GB, free: 7.328 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.1643, allocations: 15.91 kB / 0.6678 GB, free: 7.312 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1644, allocations: 4 kB / 0.6678 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.1644, allocations: 12 kB / 0.6678 GB, free: 7.297 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1645, allocations: 11.92 kB / 0.6678 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.1645, allocations: 37.58 kB / 0.6678 GB, free: 7.242 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1646, allocations: 47.86 kB / 0.6679 GB, free: 7.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1647, allocations: 0 / 0.6679 GB, free: 7.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1647, allocations: 0 / 0.6679 GB, free: 7.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1647, allocations: 7.938 kB / 0.6679 GB, free: 7.188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004606/0.1651, allocations: 347.7 kB / 0.6682 GB, free: 6.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1652, allocations: 8.031 kB / 0.6682 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1652, allocations: 8.922 kB / 0.6682 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1653, allocations: 160.4 kB / 0.6684 GB, free: 6.586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1654, allocations: 4.312 kB / 0.6684 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1654, allocations: 4.375 kB / 0.6684 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1656, allocations: 70.22 kB / 0.6685 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1656, allocations: 4.188 kB / 0.6685 GB, free: 6.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1656, allocations: 3.938 kB / 0.6685 GB, free: 6.496 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1657, allocations: 0 / 0.6685 GB, free: 6.496 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.1659, allocations: 59.89 kB / 0.6685 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.1663, allocations: 284.7 kB / 0.6688 GB, free: 6.109 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.1666, allocations: 67.28 kB / 0.6689 GB, free: 6.035 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.1667, allocations: 28.91 kB / 0.6689 GB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.167, allocations: 409.5 kB / 0.6693 GB, free: 5.512 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.167, allocations: 30.56 kB / 0.6693 GB, free: 5.473 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.167, allocations: 3.984 kB / 0.6693 GB, free: 5.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003836/0.1674, allocations: 109.5 kB / 0.6694 GB, free: 5.355 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1674, allocations: 55.39 kB / 0.6695 GB, free: 5.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.1675, allocations: 109.9 kB / 0.6696 GB, free: 5.172 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1676, allocations: 29.7 kB / 0.6696 GB, free: 5.137 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.1676, allocations: 88.12 kB / 0.6697 GB, free: 5.047 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1676, allocations: 3.906 kB / 0.6697 GB, free: 5.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.1676, allocations: 4 kB / 0.6697 GB, free: 5.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1678, allocations: 314.8 kB / 0.67 GB, free: 4.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.1678, allocations: 31.91 kB / 0.67 GB, free: 4.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.1679, allocations: 27.98 kB / 0.6701 GB, free: 4.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1681, allocations: 56.81 kB / 0.6701 GB, free: 4.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1681, allocations: 0 / 0.6701 GB, free: 4.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002099/0.1683, allocations: 81.66 kB / 0.6702 GB, free: 4.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1684, allocations: 4 kB / 0.6702 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1684, allocations: 0 / 0.6702 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1684, allocations: 0 / 0.6702 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.1685, allocations: 15.98 kB / 0.6702 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1685, allocations: 4 kB / 0.6702 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.1686, allocations: 19.89 kB / 0.6702 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1686, allocations: 3.938 kB / 0.6702 GB, free: 4.473 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: 2 (rea2Int.y,falFac.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 7.785e-05/0.1687, allocations: 113.8 kB / 0.6703 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1687, allocations: 3.938 kB / 0.6704 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.169, allocations: 97.55 kB / 0.6704 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.169, allocations: 0 / 0.6704 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.169, allocations: 3.938 kB / 0.6704 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.169, allocations: 0 / 0.6704 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1692, allocations: 169.6 kB / 0.6706 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1692, allocations: 4 kB / 0.6706 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.1693, allocations: 23.98 kB / 0.6706 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1693, allocations: 0 / 0.6706 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1693, allocations: 0 / 0.6706 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1693, allocations: 0 / 0.6706 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1693, allocations: 3.938 kB / 0.6706 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1696, allocations: 183.5 kB / 0.6708 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.1696, allocations: 85 kB / 0.6709 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1697, allocations: 432 / 0.6709 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1697, allocations: 8 kB / 0.6709 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1698, allocations: 11.98 kB / 0.6709 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1698, allocations: 0 / 0.6709 GB, free: 3.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.1699, allocations: 87.58 kB / 0.671 GB, free: 3.594 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1699, allocations: 4 kB / 0.671 GB, free: 3.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.1701, allocations: 12 kB / 0.671 GB, free: 3.578 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: 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.0001823/0.1703, allocations: 109.6 kB / 0.6711 GB, free: 3.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1705, allocations: 59.89 kB / 0.6712 GB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1705, allocations: 4 kB / 0.6712 GB, free: 3.402 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.1706, allocations: 31.97 kB / 0.6712 GB, free: 3.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1709, allocations: 7.875 kB / 0.6712 GB, free: 3.363 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.1713, allocations: 143 kB / 0.6714 GB, free: 3.195 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1716, allocations: 0.677 MB / 0.672 GB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.1716, allocations: 8.219 kB / 0.672 GB, free: 2.484 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.1716, allocations: 15.42 kB / 0.672 GB, free: 2.469 MB / 442.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1716, allocations: 0 / 0.672 GB, free: 2.469 MB / 442.7 MB Notification: Performance of Templates: time 0.003127/0.1748, allocations: 0.6655 MB / 0.6727 GB, free: 1.805 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)