Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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: 71.77 kB / 20.51 MB, free: 1.125 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.001412/0.001412, allocations: 165.4 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.407/1.407, allocations: 177.2 MB / 204.1 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9104/0.9104, allocations: 113.9 MB / 374.5 MB, free: 12.92 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.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.002129/0.002129, allocations: 63.89 kB / 0.5551 GB, free: 2.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1504, allocations: 89.14 MB / 0.6421 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001777/0.1521, allocations: 0.5836 MB / 0.6427 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.1524, allocations: 44.22 kB / 0.6427 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.1524, allocations: 0 / 0.6427 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.1525, allocations: 3.984 kB / 0.6427 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.1525, allocations: 0 / 0.6427 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1527, allocations: 27.91 kB / 0.6428 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.1528, allocations: 31.92 kB / 0.6428 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.1528, allocations: 0 / 0.6428 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.1529, allocations: 11.98 kB / 0.6428 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.1529, allocations: 11.98 kB / 0.6428 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1529, allocations: 4 kB / 0.6428 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.153, allocations: 27.97 kB / 0.6428 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.153, allocations: 7.984 kB / 0.6429 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1531, allocations: 15.94 kB / 0.6429 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.1532, allocations: 43.75 kB / 0.6429 GB, free: 8.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1532, allocations: 0 / 0.6429 GB, free: 8.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1532, allocations: 0 / 0.6429 GB, free: 8.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1532, allocations: 0 / 0.6429 GB, free: 8.742 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003402/0.1535, allocations: 262.3 kB / 0.6432 GB, free: 8.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1536, allocations: 12.03 kB / 0.6432 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1536, allocations: 0.9375 kB / 0.6432 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.1537, allocations: 110.5 kB / 0.6433 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1537, allocations: 8.312 kB / 0.6433 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1537, allocations: 4.375 kB / 0.6433 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1538, allocations: 62.22 kB / 0.6434 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1539, allocations: 192 / 0.6434 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1539, allocations: 11.94 kB / 0.6434 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1539, allocations: 0 / 0.6434 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.154, allocations: 95.86 kB / 0.6435 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1542, allocations: 113.3 kB / 0.6436 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1543, allocations: 74.47 kB / 0.6436 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.1543, allocations: 28.84 kB / 0.6437 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.1545, allocations: 19.98 kB / 0.6437 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1545, allocations: 34.89 kB / 0.6437 GB, free: 7.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1545, allocations: 0 / 0.6437 GB, free: 7.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002589/0.1548, allocations: 117.5 kB / 0.6438 GB, free: 7.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1548, allocations: 55.41 kB / 0.6439 GB, free: 7.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.1549, allocations: 93.86 kB / 0.644 GB, free: 7.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1549, allocations: 29.69 kB / 0.644 GB, free: 7.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.155, allocations: 80.14 kB / 0.6441 GB, free: 7.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.155, allocations: 27.78 kB / 0.6441 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.155, allocations: 33.7 kB / 0.6441 GB, free: 7.336 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1552, allocations: 314.8 kB / 0.6444 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.1552, allocations: 23.98 kB / 0.6445 GB, free: 6.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.1553, allocations: 24.36 kB / 0.6445 GB, free: 6.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1554, allocations: 64.98 kB / 0.6445 GB, free: 6.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1554, allocations: 0 / 0.6445 GB, free: 6.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001559/0.1555, allocations: 89.62 kB / 0.6446 GB, free: 6.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1556, allocations: 4 kB / 0.6446 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1556, allocations: 0 / 0.6446 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1556, allocations: 7.875 kB / 0.6446 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1557, allocations: 27.92 kB / 0.6447 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1557, allocations: 0 / 0.6447 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.1557, allocations: 15.88 kB / 0.6447 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1557, allocations: 4 kB / 0.6447 GB, free: 6.754 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001279/0.1558, allocations: 124.9 kB / 0.6448 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1559, allocations: 7.953 kB / 0.6448 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1561, allocations: 121.5 kB / 0.6449 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1561, allocations: 0 / 0.6449 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1561, allocations: 4 kB / 0.6449 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1561, allocations: 3.984 kB / 0.6449 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1562, allocations: 121.2 kB / 0.645 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1562, allocations: 4 kB / 0.6451 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.1563, allocations: 15.98 kB / 0.6451 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1563, allocations: 4 kB / 0.6451 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1563, allocations: 0 / 0.6451 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1563, allocations: 3.938 kB / 0.6451 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1563, allocations: 3.938 kB / 0.6451 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1565, allocations: 125 kB / 0.6452 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.1565, allocations: 3.953 kB / 0.6452 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1565, allocations: 7.938 kB / 0.6452 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.1565, allocations: 0 / 0.6452 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1566, allocations: 15.97 kB / 0.6452 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1566, allocations: 11.98 kB / 0.6452 GB, free: 6.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.1566, allocations: 75.28 kB / 0.6453 GB, free: 6.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1566, allocations: 0 / 0.6453 GB, free: 6.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002038/0.1568, allocations: 12 kB / 0.6453 GB, free: 6.035 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001409/0.1569, allocations: 105.6 kB / 0.6454 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1571, allocations: 63.83 kB / 0.6455 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1571, allocations: 0 / 0.6455 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.1572, allocations: 31.98 kB / 0.6455 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.1573, allocations: 10.03 kB / 0.6455 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.1576, allocations: 153.4 kB / 0.6457 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.548e-05/0.1576, allocations: 63.34 kB / 0.6457 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.026e-05/0.1577, allocations: 35.95 kB / 0.6458 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.1577, allocations: 16.5 kB / 0.6458 GB, free: 5.516 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1577, allocations: 0 / 0.6458 GB, free: 5.516 MB / 0.545 GB Notification: Performance of Templates: time 0.002932/0.1607, allocations: 0.5715 MB / 0.6463 GB, free: 4.945 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.187507660011761] Failed to read output from testmodel.py, exit status != 0: 0.16865119303110987 0.183462797 0.027160282 Calling exit ...