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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00537/0.00537, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001264/0.001264, allocations: 191.4 kB / 16.67 MB, free: 5.961 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8348/0.8348, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.25 kB / 0.5852 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 80.92 MB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001814/0.1619, allocations: 0.5759 MB / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.1623, allocations: 62.36 kB / 0.6648 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1623, allocations: 0 / 0.6648 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.1624, allocations: 0 / 0.6648 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.1624, allocations: 0 / 0.6648 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1627, allocations: 23.92 kB / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.695e-05/0.1628, allocations: 27.98 kB / 0.6649 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.1629, allocations: 3.984 kB / 0.6649 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.1629, allocations: 19.92 kB / 0.6649 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.163, allocations: 4 kB / 0.6649 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.163, allocations: 0 / 0.6649 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.1631, allocations: 23.97 kB / 0.6649 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.1631, allocations: 11.98 kB / 0.6649 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1632, allocations: 11.94 kB / 0.6649 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.1633, allocations: 35.89 kB / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1633, allocations: 7.938 kB / 0.665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1633, allocations: 0 / 0.665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.1633, allocations: 0 / 0.665 GB, free: 5.422 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.0003568/0.1637, allocations: 339.5 kB / 0.6653 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1637, allocations: 9.109 kB / 0.6653 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1638, allocations: 34.75 kB / 0.6653 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1638, allocations: 4.938 kB / 0.6653 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1639, allocations: 163.5 kB / 0.6655 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1639, allocations: 4.375 kB / 0.6655 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1639, allocations: 4.375 kB / 0.6655 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1641, allocations: 78.09 kB / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1641, allocations: 3.938 kB / 0.6656 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1641, allocations: 0 / 0.6656 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1642, allocations: 0 / 0.6656 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1643, allocations: 103.9 kB / 0.6657 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.1645, allocations: 170.1 kB / 0.6659 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1647, allocations: 70.55 kB / 0.6659 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1647, allocations: 37.11 kB / 0.666 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/0.1651, allocations: 413.4 kB / 0.6663 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1651, allocations: 34.55 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.1651, allocations: 0 / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002615/0.1654, allocations: 113.6 kB / 0.6665 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1654, allocations: 55.41 kB / 0.6665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.1655, allocations: 105.8 kB / 0.6666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1655, allocations: 25.7 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.1656, allocations: 84.14 kB / 0.6667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1656, allocations: 20.03 kB / 0.6668 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.1656, allocations: 33.7 kB / 0.6668 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1658, allocations: 310.8 kB / 0.6671 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.1658, allocations: 27.86 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.1658, allocations: 19.98 kB / 0.6671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.052e-05/0.1659, allocations: 60.83 kB / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1659, allocations: 0 / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001348/0.1661, allocations: 94.17 kB / 0.6673 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1661, allocations: 11.94 kB / 0.6673 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1661, allocations: 0 / 0.6673 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1661, allocations: 7.984 kB / 0.6673 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1663, allocations: 15.94 kB / 0.6673 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1663, allocations: 4 kB / 0.6673 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.1663, allocations: 11.88 kB / 0.6673 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1663, allocations: 7.984 kB / 0.6673 GB, free: 2.672 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.0001385/0.1665, allocations: 119.2 kB / 0.6675 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1665, allocations: 11.84 kB / 0.6675 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.1667, allocations: 117.7 kB / 0.6676 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1667, allocations: 7.984 kB / 0.6676 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1667, allocations: 0 / 0.6676 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1667, allocations: 0 / 0.6676 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.1669, allocations: 173.6 kB / 0.6678 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1669, allocations: 0 / 0.6678 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.1669, allocations: 23.92 kB / 0.6678 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1669, allocations: 3.938 kB / 0.6678 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.167, allocations: 12 kB / 0.6678 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.167, allocations: 4 kB / 0.6678 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.167, allocations: 3.984 kB / 0.6678 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.1671, allocations: 117.1 kB / 0.6679 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.1672, allocations: 88.98 kB / 0.668 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1672, allocations: 3.984 kB / 0.668 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.1672, allocations: 4 kB / 0.668 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1672, allocations: 4 kB / 0.668 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1673, allocations: 7.984 kB / 0.668 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.636e-05/0.1673, allocations: 79.28 kB / 0.6681 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.1673, allocations: 0 / 0.6681 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000192/0.1675, allocations: 16 kB / 0.6681 GB, free: 1.789 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.0004688/0.168, allocations: 0.6747 MB / 0.6688 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1681, allocations: 59.91 kB / 0.6688 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1681, allocations: 0 / 0.6688 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.1682, allocations: 39.91 kB / 0.6689 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1683, allocations: 4 kB / 0.6689 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.1687, allocations: 182.5 kB / 0.669 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.169, allocations: 0.6846 MB / 0.6697 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.419e-05/0.1691, allocations: 35.95 kB / 0.6697 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1691, allocations: 19.44 kB / 0.6698 GB, free: 0 / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1691, allocations: 0 / 0.6698 GB, free: 0 / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.1887, allocations: 1.568 MB / 0.6713 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.424, allocations: 6.828 kB / 0.6713 GB, free: 14.52 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)