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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001623, allocations: 104.9 kB / 16.41 MB, free: 6.504 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.00186/0.00186, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8193/0.8193, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.28 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.159, allocations: 80.94 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001881/0.1609, allocations: 0.5681 MB / 0.6659 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.1612, allocations: 58.39 kB / 0.666 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.1613, allocations: 0 / 0.666 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.1613, allocations: 0 / 0.666 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.1613, allocations: 0 / 0.666 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1617, allocations: 23.91 kB / 0.666 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.1618, allocations: 27.97 kB / 0.666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.1618, allocations: 4 kB / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.1618, allocations: 7.938 kB / 0.666 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.1619, allocations: 19.97 kB / 0.666 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1619, allocations: 0 / 0.666 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.162, allocations: 19.98 kB / 0.6661 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.162, allocations: 12 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.1621, allocations: 15.91 kB / 0.6661 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1622, allocations: 35.89 kB / 0.6661 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1622, allocations: 0 / 0.6661 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1622, allocations: 0 / 0.6661 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.1622, allocations: 0 / 0.6661 GB, free: 4.953 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003711/0.1626, allocations: 339.4 kB / 0.6664 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1626, allocations: 13.11 kB / 0.6665 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.1627, allocations: 0.9375 kB / 0.6665 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.1628, allocations: 172.3 kB / 0.6666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1629, allocations: 4.375 kB / 0.6666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1629, allocations: 16.25 kB / 0.6666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.163, allocations: 58.58 kB / 0.6667 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1631, allocations: 192 / 0.6667 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1631, allocations: 3.938 kB / 0.6667 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1631, allocations: 4 kB / 0.6667 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1632, allocations: 99.86 kB / 0.6668 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.1634, allocations: 169.6 kB / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1635, allocations: 82.47 kB / 0.667 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.1636, allocations: 33.17 kB / 0.6671 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.164, allocations: 401.5 kB / 0.6675 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.164, allocations: 34.5 kB / 0.6675 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.164, allocations: 0 / 0.6675 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002519/0.1643, allocations: 117.6 kB / 0.6676 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1643, allocations: 55.41 kB / 0.6677 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.207e-05/0.1644, allocations: 97.77 kB / 0.6677 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1644, allocations: 29.7 kB / 0.6678 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.1644, allocations: 80.14 kB / 0.6678 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.1645, allocations: 23.73 kB / 0.6679 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.1645, allocations: 37.7 kB / 0.6679 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1646, allocations: 318.8 kB / 0.6682 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.1647, allocations: 23.92 kB / 0.6682 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.1647, allocations: 24.42 kB / 0.6683 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1648, allocations: 61 kB / 0.6683 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1648, allocations: 4 kB / 0.6683 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001352/0.165, allocations: 93.5 kB / 0.6684 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.165, allocations: 8 kB / 0.6684 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.165, allocations: 3.938 kB / 0.6684 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.165, allocations: 0 / 0.6684 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1651, allocations: 23.92 kB / 0.6684 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1652, allocations: 0 / 0.6684 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.1652, allocations: 4 kB / 0.6684 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1652, allocations: 4 kB / 0.6685 GB, free: 2.246 MB / 0.4981 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.0001505/0.1654, allocations: 125.8 kB / 0.6686 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.1654, allocations: 3.906 kB / 0.6686 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.1656, allocations: 129.4 kB / 0.6687 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1656, allocations: 0 / 0.6687 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1656, allocations: 0 / 0.6687 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1656, allocations: 0 / 0.6687 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.1658, allocations: 173.7 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1658, allocations: 7.938 kB / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.1658, allocations: 12 kB / 0.6689 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.1659, allocations: 15.86 kB / 0.6689 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1659, allocations: 4 kB / 0.6689 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1659, allocations: 0 / 0.6689 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1659, allocations: 0 / 0.6689 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.166, allocations: 121 kB / 0.669 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1661, allocations: 88.97 kB / 0.6691 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1661, allocations: 0 / 0.6691 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.1661, allocations: 16 kB / 0.6691 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1662, allocations: 7.984 kB / 0.6691 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1662, allocations: 0 / 0.6691 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.1662, allocations: 75.28 kB / 0.6692 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 4 kB / 0.6692 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002089/0.1664, allocations: 12 kB / 0.6692 GB, free: 1.363 MB / 0.4981 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.0001802/0.1666, allocations: 112.5 kB / 0.6693 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1668, allocations: 71.84 kB / 0.6694 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1668, allocations: 0 / 0.6694 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.1669, allocations: 31.98 kB / 0.6694 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.167, allocations: 8 kB / 0.6694 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.1673, allocations: 183.1 kB / 0.6696 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1676, allocations: 0.6807 MB / 0.6703 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1677, allocations: 23.42 kB / 0.6703 GB, free: 200 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1677, allocations: 0 / 0.6703 GB, free: 200 kB / 0.4981 GB Notification: Performance of Templates: time 0.002494/0.1702, allocations: 0.9636 MB / 0.6712 GB, free: 15.23 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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)