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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 75.11 kB / 20.51 MB, free: 1.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 164.2 kB / 23.76 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.029/1.029, allocations: 113.9 MB / 374.5 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 73.53 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1568, allocations: 89.14 MB / 0.6421 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002806/0.1596, allocations: 1.551 MB / 0.6436 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.16, allocations: 131.6 kB / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.16, allocations: 0 / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.1601, allocations: 0 / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.1601, allocations: 7.922 kB / 0.6437 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1604, allocations: 35.91 kB / 0.6438 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.1604, allocations: 35.84 kB / 0.6438 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.1605, allocations: 8 kB / 0.6438 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.1606, allocations: 19.97 kB / 0.6438 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.1606, allocations: 15.92 kB / 0.6438 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1606, allocations: 4 kB / 0.6438 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.1607, allocations: 23.92 kB / 0.6439 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1607, allocations: 15.97 kB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1608, allocations: 11.94 kB / 0.6439 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1609, allocations: 47.77 kB / 0.6439 GB, free: 7.629 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1609, allocations: 0 / 0.6439 GB, free: 7.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1609, allocations: 0 / 0.6439 GB, free: 7.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.1609, allocations: 0 / 0.6439 GB, free: 7.629 MB / 0.545 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.0004598/0.1614, allocations: 274.3 kB / 0.6442 GB, free: 7.328 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1614, allocations: 8.031 kB / 0.6442 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.1614, allocations: 8.891 kB / 0.6442 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1615, allocations: 126.3 kB / 0.6443 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1616, allocations: 4.375 kB / 0.6443 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.1616, allocations: 4.375 kB / 0.6444 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1618, allocations: 62.22 kB / 0.6444 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1618, allocations: 192 / 0.6444 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1618, allocations: 3.938 kB / 0.6444 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1618, allocations: 0 / 0.6444 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.162, allocations: 47.95 kB / 0.6445 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1624, allocations: 224.5 kB / 0.6447 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1627, allocations: 54.48 kB / 0.6447 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1628, allocations: 28.89 kB / 0.6448 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1629, allocations: 23.98 kB / 0.6448 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1629, allocations: 34.56 kB / 0.6448 GB, free: 6.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1629, allocations: 0 / 0.6448 GB, free: 6.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004056/0.1633, allocations: 101.5 kB / 0.6449 GB, free: 6.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.1634, allocations: 51.41 kB / 0.645 GB, free: 6.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.1635, allocations: 105.8 kB / 0.6451 GB, free: 6.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1635, allocations: 25.7 kB / 0.6451 GB, free: 6.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1635, allocations: 92.09 kB / 0.6452 GB, free: 6.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1635, allocations: 3.953 kB / 0.6452 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1636, allocations: 17.72 kB / 0.6452 GB, free: 6.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1637, allocations: 318.8 kB / 0.6455 GB, free: 5.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/0.1638, allocations: 15.98 kB / 0.6455 GB, free: 5.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.1639, allocations: 27.97 kB / 0.6455 GB, free: 5.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1641, allocations: 48.77 kB / 0.6456 GB, free: 5.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1641, allocations: 3.938 kB / 0.6456 GB, free: 5.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.1643, allocations: 69.64 kB / 0.6457 GB, free: 5.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1643, allocations: 8 kB / 0.6457 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1643, allocations: 0 / 0.6457 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1644, allocations: 3.938 kB / 0.6457 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.1644, allocations: 15.98 kB / 0.6457 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1644, allocations: 0 / 0.6457 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1645, allocations: 8 kB / 0.6457 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1645, allocations: 3.984 kB / 0.6457 GB, free: 5.664 MB / 0.545 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 8.341e-05/0.1646, allocations: 117.7 kB / 0.6458 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.1646, allocations: 7.891 kB / 0.6458 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1649, allocations: 89.27 kB / 0.6459 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1649, allocations: 0 / 0.6459 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1649, allocations: 4 kB / 0.6459 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1649, allocations: 0 / 0.6459 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1651, allocations: 113.3 kB / 0.646 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1651, allocations: 0 / 0.646 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.1651, allocations: 11.98 kB / 0.646 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1651, allocations: 0 / 0.646 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1652, allocations: 256 / 0.646 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1652, allocations: 0 / 0.646 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.1652, allocations: 11.98 kB / 0.646 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1655, allocations: 179.4 kB / 0.6462 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.1655, allocations: 7.953 kB / 0.6462 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1655, allocations: 0 / 0.6462 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.1656, allocations: 7.984 kB / 0.6462 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.1656, allocations: 4 kB / 0.6462 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1656, allocations: 4.406 kB / 0.6462 GB, free: 5.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.1657, allocations: 83.28 kB / 0.6463 GB, free: 4.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 0.6463 GB, free: 4.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002363/0.1659, allocations: 8 kB / 0.6463 GB, free: 4.961 MB / 0.545 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.0001291/0.166, allocations: 107.2 kB / 0.6464 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.1663, allocations: 47.94 kB / 0.6465 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1663, allocations: 0 / 0.6465 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1664, allocations: 31.91 kB / 0.6465 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1666, allocations: 3.938 kB / 0.6465 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.1669, allocations: 125.4 kB / 0.6466 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.167, allocations: 67.34 kB / 0.6467 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.167, allocations: 3.938 kB / 0.6467 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.167, allocations: 12.5 kB / 0.6467 GB, free: 4.512 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.167, allocations: 0 / 0.6467 GB, free: 4.512 MB / 0.545 GB Notification: Performance of Templates: time 0.003171/0.1702, allocations: 0.766 MB / 0.6474 GB, free: 3.75 MB / 0.545 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.374527239007875] Failed to read output from testmodel.py, exit status != 0: 0.17805335100274533 0.19250270900000002 0.028624128000000002 Calling exit ...