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.001468/0.001468, allocations: 103.3 kB / 16.4 MB, free: 6.473 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.001595/0.001595, allocations: 188.2 kB / 17.34 MB, free: 5.715 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8481/0.8481, allocations: 135.2 MB / 426.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 73.72 kB / 0.5864 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1583, allocations: 80.93 MB / 0.6654 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001637/0.16, allocations: 0.5681 MB / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.1603, allocations: 62.38 kB / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1603, allocations: 4 kB / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.1603, allocations: 0 / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.1603, allocations: 0 / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1606, allocations: 19.91 kB / 0.666 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.742e-05/0.1607, allocations: 27.98 kB / 0.6661 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.1607, allocations: 7.984 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.1607, allocations: 11.92 kB / 0.6661 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.076e-05/0.1608, allocations: 15.98 kB / 0.6661 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1608, allocations: 0 / 0.6661 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.1609, allocations: 15.98 kB / 0.6661 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.1609, allocations: 11.98 kB / 0.6661 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.1609, allocations: 15.94 kB / 0.6661 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.161, allocations: 39.83 kB / 0.6662 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.161, allocations: 0 / 0.6662 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.161, allocations: 0 / 0.6662 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.161, allocations: 0 / 0.6662 GB, free: 4.895 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.0003844/0.1614, allocations: 343.4 kB / 0.6665 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1615, allocations: 9.109 kB / 0.6665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1615, allocations: 8.891 kB / 0.6665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1616, allocations: 164.3 kB / 0.6667 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1616, allocations: 8.375 kB / 0.6667 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1616, allocations: 4.375 kB / 0.6667 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1618, allocations: 66.56 kB / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1618, allocations: 192 / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1618, allocations: 3.938 kB / 0.6668 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1618, allocations: 0 / 0.6668 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.162, allocations: 103.9 kB / 0.6669 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.1622, allocations: 165.7 kB / 0.667 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1623, allocations: 82.41 kB / 0.6671 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.1624, allocations: 25.17 kB / 0.6671 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.1627, allocations: 413.4 kB / 0.6675 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1628, allocations: 34.56 kB / 0.6675 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1628, allocations: 0 / 0.6675 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002533/0.163, allocations: 113.5 kB / 0.6677 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.1631, allocations: 55.34 kB / 0.6677 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.1631, allocations: 97.84 kB / 0.6678 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1631, allocations: 33.7 kB / 0.6678 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.1632, allocations: 80.14 kB / 0.6679 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1632, allocations: 23.8 kB / 0.6679 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.1633, allocations: 33.7 kB / 0.668 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1634, allocations: 318.8 kB / 0.6683 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.1634, allocations: 23.92 kB / 0.6683 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.1635, allocations: 20.42 kB / 0.6683 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1636, allocations: 60.98 kB / 0.6684 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1636, allocations: 4 kB / 0.6684 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001527/0.1637, allocations: 97.56 kB / 0.6685 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1637, allocations: 7.938 kB / 0.6685 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1638, allocations: 3.938 kB / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1638, allocations: 0 / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1639, allocations: 19.98 kB / 0.6685 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1639, allocations: 0 / 0.6685 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.1639, allocations: 7.938 kB / 0.6685 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1639, allocations: 0 / 0.6685 GB, free: 2.195 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.0001225/0.164, allocations: 125.8 kB / 0.6686 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.164, allocations: 7.953 kB / 0.6686 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1643, allocations: 125.5 kB / 0.6688 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1643, allocations: 0 / 0.6688 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1643, allocations: 3.984 kB / 0.6688 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1643, allocations: 4 kB / 0.6688 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1644, allocations: 165.7 kB / 0.6689 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1644, allocations: 0 / 0.6689 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.1645, allocations: 23.92 kB / 0.6689 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1645, allocations: 7.938 kB / 0.6689 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1645, allocations: 0 / 0.6689 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1645, allocations: 4 kB / 0.6689 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1645, allocations: 4 kB / 0.669 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1647, allocations: 121 kB / 0.6691 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.1647, allocations: 84.98 kB / 0.6692 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1647, allocations: 11.94 kB / 0.6692 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1648, allocations: 3.984 kB / 0.6692 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1648, allocations: 8 kB / 0.6692 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1648, allocations: 4 kB / 0.6692 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.1648, allocations: 79.28 kB / 0.6693 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1648, allocations: 0 / 0.6693 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001966/0.165, allocations: 11.98 kB / 0.6693 GB, free: 1.312 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.0001699/0.1652, allocations: 115.2 kB / 0.6694 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1654, allocations: 63.83 kB / 0.6694 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1654, allocations: 4 kB / 0.6694 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.1654, allocations: 31.92 kB / 0.6695 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1656, allocations: 10.8 kB / 0.6695 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1659, allocations: 178.4 kB / 0.6696 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1662, allocations: 0.6846 MB / 0.6703 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.1662, allocations: 11.44 kB / 0.6703 GB, free: 160 kB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1662, allocations: 0 / 0.6703 GB, free: 160 kB / 0.4981 GB Notification: Performance of Templates: time 0.00256/0.1688, allocations: 0.9597 MB / 0.6713 GB, free: 15.2 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)