Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 109.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.219/1.219, allocations: 173.4 MB / 471.3 MB, free: 6.645 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.16 kB / 0.649 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1634, allocations: 89.53 MB / 0.7365 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001703/0.1652, allocations: 0.5873 MB / 0.737 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.1655, allocations: 55.77 kB / 0.7371 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1655, allocations: 0 / 0.7371 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.1655, allocations: 0 / 0.7371 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1656, allocations: 0 / 0.7371 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1659, allocations: 19.98 kB / 0.7371 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.166, allocations: 35.97 kB / 0.7371 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.166, allocations: 0 / 0.7371 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.166, allocations: 15.98 kB / 0.7372 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.783e-05/0.1661, allocations: 4 kB / 0.7372 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1661, allocations: 3.938 kB / 0.7372 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.1662, allocations: 19.97 kB / 0.7372 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.1662, allocations: 19.92 kB / 0.7372 GB, free: 2.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.1663, allocations: 11.94 kB / 0.7372 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.1664, allocations: 35.83 kB / 0.7372 GB, free: 2.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1664, allocations: 0 / 0.7372 GB, free: 2.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1664, allocations: 0 / 0.7372 GB, free: 2.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.1664, allocations: 4 kB / 0.7372 GB, free: 2.789 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.0004102/0.1668, allocations: 339.8 kB / 0.7376 GB, free: 2.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1669, allocations: 12.03 kB / 0.7376 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1669, allocations: 0.9375 kB / 0.7376 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1671, allocations: 164.4 kB / 0.7377 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1671, allocations: 4.375 kB / 0.7377 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1671, allocations: 4.375 kB / 0.7377 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1673, allocations: 62.22 kB / 0.7378 GB, free: 2.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1673, allocations: 4.125 kB / 0.7378 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1673, allocations: 7.938 kB / 0.7378 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1673, allocations: 7.938 kB / 0.7378 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1675, allocations: 95.88 kB / 0.7379 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1677, allocations: 185.5 kB / 0.7381 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1678, allocations: 70.55 kB / 0.7382 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.1679, allocations: 28.84 kB / 0.7382 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.1683, allocations: 405.5 kB / 0.7386 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.1684, allocations: 46.5 kB / 0.7386 GB, free: 1.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1684, allocations: 0 / 0.7386 GB, free: 1.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002668/0.1686, allocations: 113.9 kB / 0.7387 GB, free: 1.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1687, allocations: 51.41 kB / 0.7388 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.1688, allocations: 101.8 kB / 0.7389 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1688, allocations: 25.7 kB / 0.7389 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.1688, allocations: 84.14 kB / 0.739 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1688, allocations: 19.89 kB / 0.739 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.1689, allocations: 33.7 kB / 0.739 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1691, allocations: 314.8 kB / 0.7393 GB, free: 352 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.1691, allocations: 19.98 kB / 0.7394 GB, free: 332 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.1691, allocations: 19.98 kB / 0.7394 GB, free: 312 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1693, allocations: 69.36 kB / 0.7394 GB, free: 240 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1693, allocations: 0 / 0.7394 GB, free: 240 kB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001474/0.1694, allocations: 93.56 kB / 0.7395 GB, free: 140 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1694, allocations: 4 kB / 0.7395 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1695, allocations: 3.938 kB / 0.7395 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1695, allocations: 4 kB / 0.7395 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1696, allocations: 23.98 kB / 0.7396 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1696, allocations: 0 / 0.7396 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/0.1696, allocations: 3.938 kB / 0.7396 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1696, allocations: 4 kB / 0.7396 GB, free: 96 kB / 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.0001811/0.1698, allocations: 125.8 kB / 0.7397 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.1698, allocations: 7.953 kB / 0.7397 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1701, allocations: 129.5 kB / 0.7398 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1701, allocations: 0 / 0.7398 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1701, allocations: 0 / 0.7398 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1701, allocations: 0 / 0.7398 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1703, allocations: 181.5 kB / 0.74 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1703, allocations: 0 / 0.74 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.1704, allocations: 27.92 kB / 0.74 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1704, allocations: 3.938 kB / 0.74 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1704, allocations: 0 / 0.74 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1704, allocations: 4 kB / 0.74 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1704, allocations: 4 kB / 0.74 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.1706, allocations: 125 kB / 0.7401 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1706, allocations: 85 kB / 0.7402 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1707, allocations: 4 kB / 0.7402 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/0.1707, allocations: 4 kB / 0.7402 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1707, allocations: 11.97 kB / 0.7402 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1707, allocations: 4 kB / 0.7403 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.1708, allocations: 79.22 kB / 0.7403 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 4 kB / 0.7403 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001958/0.171, allocations: 12 kB / 0.7403 GB, free: 15.18 MB / 0.5606 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.0002112/0.1712, allocations: 115.2 kB / 0.7405 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1714, allocations: 55.97 kB / 0.7405 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1714, allocations: 0 / 0.7405 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.448e-05/0.1714, allocations: 39.84 kB / 0.7405 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1716, allocations: 8 kB / 0.7406 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.1719, allocations: 171.4 kB / 0.7407 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1722, allocations: 0.6884 MB / 0.7414 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.1723, allocations: 15.42 kB / 0.7414 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.1723, allocations: 0 / 0.7414 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.002641/0.1749, allocations: 0.9606 MB / 0.7423 GB, free: 13.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.912359747104347] Failed to read output from testmodel.py, exit status != 0: 0.18138841283507645 0.19669992900000002 0.0274392 Calling exit ...