Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_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.004933/0.004933, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.001263/0.001263, allocations: 192 kB / 16.67 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8662/0.8662, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 69.94 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 80.2 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001589/0.1583, allocations: 0.572 MB / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.1586, allocations: 63.77 kB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.1586, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1587, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.1587, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.159, allocations: 19.92 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/0.1591, allocations: 27.97 kB / 0.6599 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.1591, allocations: 3.984 kB / 0.6599 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.1591, allocations: 15.94 kB / 0.6599 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.94e-05/0.1592, allocations: 15.98 kB / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1592, allocations: 3.938 kB / 0.6599 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.1593, allocations: 23.97 kB / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.1593, allocations: 4 kB / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.1594, allocations: 19.92 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.1595, allocations: 36.11 kB / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1595, allocations: 0 / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1595, allocations: 0 / 0.66 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.1595, allocations: 0 / 0.66 GB, free: 13.14 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.0004007/0.1599, allocations: 343.4 kB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1599, allocations: 12.03 kB / 0.6604 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.16, allocations: 34.75 kB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.16, allocations: 8.891 kB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1601, allocations: 168.7 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1602, allocations: 8.375 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1602, allocations: 4.375 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1603, allocations: 58.23 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1603, allocations: 3.938 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1604, allocations: 0 / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1604, allocations: 0 / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1605, allocations: 111.8 kB / 0.6607 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1607, allocations: 165.7 kB / 0.6609 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1609, allocations: 81.42 kB / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.1609, allocations: 33.17 kB / 0.661 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.1613, allocations: 401.5 kB / 0.6614 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1614, allocations: 34.56 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1614, allocations: 0 / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002519/0.1616, allocations: 121.5 kB / 0.6615 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1617, allocations: 59.34 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.102e-05/0.1617, allocations: 97.86 kB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1618, allocations: 25.7 kB / 0.6617 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.1618, allocations: 82.42 kB / 0.6618 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1618, allocations: 27.78 kB / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.1619, allocations: 33.7 kB / 0.6619 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1621, allocations: 318.8 kB / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.1621, allocations: 27.98 kB / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.1621, allocations: 19.98 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1623, allocations: 59.47 kB / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1623, allocations: 0 / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001463/0.1624, allocations: 97.55 kB / 0.6624 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1624, allocations: 11.88 kB / 0.6624 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1625, allocations: 7.938 kB / 0.6624 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1625, allocations: 0 / 0.6624 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1626, allocations: 20 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1626, allocations: 0 / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.1626, allocations: 11.92 kB / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1626, allocations: 4 kB / 0.6624 GB, free: 10.38 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.0001477/0.1628, allocations: 120 kB / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.1628, allocations: 11.88 kB / 0.6625 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.163, allocations: 121.5 kB / 0.6626 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1631, allocations: 4 kB / 0.6627 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1631, allocations: 0 / 0.6627 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1631, allocations: 4 kB / 0.6627 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1632, allocations: 169.6 kB / 0.6628 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1632, allocations: 3.938 kB / 0.6628 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.1633, allocations: 20 kB / 0.6628 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1633, allocations: 3.938 kB / 0.6628 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1633, allocations: 7.984 kB / 0.6629 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1634, allocations: 0 / 0.6629 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1634, allocations: 0 / 0.6629 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.1635, allocations: 117 kB / 0.663 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1636, allocations: 96.92 kB / 0.6631 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1636, allocations: 0 / 0.6631 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.1636, allocations: 4 kB / 0.6631 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1637, allocations: 7.984 kB / 0.6631 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1637, allocations: 4 kB / 0.6631 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.1637, allocations: 75.28 kB / 0.6631 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1637, allocations: 0 / 0.6631 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.164, allocations: 16 kB / 0.6632 GB, free: 9.496 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.0005581/0.1645, allocations: 0.6731 MB / 0.6638 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1647, allocations: 59.89 kB / 0.6639 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1647, allocations: 4 kB / 0.6639 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.1648, allocations: 35.92 kB / 0.6639 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1649, allocations: 8 kB / 0.6639 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1653, allocations: 170.5 kB / 0.6641 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1656, allocations: 0.6846 MB / 0.6647 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.874e-05/0.1657, allocations: 31.95 kB / 0.6648 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.1657, allocations: 23.38 kB / 0.6648 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1657, allocations: 0 / 0.6648 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.1877, allocations: 1.547 MB / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.395, allocations: 15.17 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)