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.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 191.7 kB / 16.14 MB, free: 6.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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7509/0.7509, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.56 kB / 0.5012 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 80.2 MB / 0.5795 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001709/0.1527, allocations: 0.6388 MB / 0.5801 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002715/0.153, allocations: 59.78 kB / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.1531, allocations: 0 / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.1531, allocations: 3.938 kB / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1531, allocations: 0 / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1533, allocations: 11.98 kB / 0.5802 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.1534, allocations: 39.91 kB / 0.5802 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1535, allocations: 4 kB / 0.5802 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.1535, allocations: 15.92 kB / 0.5803 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.594e-05/0.1535, allocations: 7.984 kB / 0.5803 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1535, allocations: 4 kB / 0.5803 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.534e-05/0.1536, allocations: 15.98 kB / 0.5803 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.1536, allocations: 11.98 kB / 0.5803 GB, free: 8.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.1537, allocations: 11.92 kB / 0.5803 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.1538, allocations: 31.89 kB / 0.5803 GB, free: 8.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1538, allocations: 0 / 0.5803 GB, free: 8.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1538, allocations: 4 kB / 0.5803 GB, free: 8.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1538, allocations: 0 / 0.5803 GB, free: 8.238 MB / 494.1 MB 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.0003211/0.1541, allocations: 343.5 kB / 0.5807 GB, free: 7.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1542, allocations: 11.97 kB / 0.5807 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.1542, allocations: 42.73 kB / 0.5807 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.1543, allocations: 0.9375 kB / 0.5807 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.1543, allocations: 164.6 kB / 0.5809 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1544, allocations: 4.375 kB / 0.5809 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1544, allocations: 4.375 kB / 0.5809 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1545, allocations: 70.16 kB / 0.581 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1545, allocations: 7.938 kB / 0.581 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1545, allocations: 4 kB / 0.581 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1546, allocations: 0 / 0.581 GB, free: 7.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1547, allocations: 99.88 kB / 0.5811 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1549, allocations: 173.6 kB / 0.5812 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.155, allocations: 74.55 kB / 0.5813 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.155, allocations: 33.11 kB / 0.5813 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.1553, allocations: 409.5 kB / 0.5817 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1554, allocations: 34.5 kB / 0.5818 GB, free: 6.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1554, allocations: 0 / 0.5818 GB, free: 6.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002351/0.1556, allocations: 117.3 kB / 0.5819 GB, free: 6.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.1557, allocations: 55.41 kB / 0.5819 GB, free: 6.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.678e-05/0.1557, allocations: 93.84 kB / 0.582 GB, free: 6.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1557, allocations: 29.7 kB / 0.582 GB, free: 6.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1558, allocations: 80.14 kB / 0.5821 GB, free: 6.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1558, allocations: 27.64 kB / 0.5821 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1558, allocations: 37.64 kB / 0.5822 GB, free: 6.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.1559, allocations: 314.8 kB / 0.5825 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.156, allocations: 23.92 kB / 0.5825 GB, free: 5.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.156, allocations: 23.92 kB / 0.5825 GB, free: 5.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.582e-05/0.1561, allocations: 56.83 kB / 0.5826 GB, free: 5.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1561, allocations: 0 / 0.5826 GB, free: 5.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001279/0.1563, allocations: 93.61 kB / 0.5827 GB, free: 5.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1563, allocations: 11.94 kB / 0.5827 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1563, allocations: 4 kB / 0.5827 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1563, allocations: 0 / 0.5827 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1564, allocations: 23.92 kB / 0.5827 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1564, allocations: 0 / 0.5827 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1565, allocations: 3.906 kB / 0.5827 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1565, allocations: 8 kB / 0.5827 GB, free: 5.484 MB / 494.1 MB 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.0001123/0.1566, allocations: 121.8 kB / 0.5828 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1566, allocations: 3.938 kB / 0.5828 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.1568, allocations: 133 kB / 0.583 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1569, allocations: 3.938 kB / 0.583 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1569, allocations: 0 / 0.583 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1569, allocations: 3.984 kB / 0.583 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.157, allocations: 165.7 kB / 0.5831 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.157, allocations: 4 kB / 0.5831 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.1571, allocations: 15.98 kB / 0.5832 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1571, allocations: 11.88 kB / 0.5832 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1571, allocations: 4 kB / 0.5832 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1571, allocations: 0 / 0.5832 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1571, allocations: 0 / 0.5832 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1573, allocations: 125 kB / 0.5833 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.1573, allocations: 92.91 kB / 0.5834 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1573, allocations: 0 / 0.5834 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.1574, allocations: 0 / 0.5834 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1574, allocations: 11.98 kB / 0.5834 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1574, allocations: 8 kB / 0.5834 GB, free: 4.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.37e-05/0.1574, allocations: 75.28 kB / 0.5835 GB, free: 4.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1574, allocations: 0 / 0.5835 GB, free: 4.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.1576, allocations: 12 kB / 0.5835 GB, free: 4.609 MB / 494.1 MB 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.0004533/0.1581, allocations: 0.6773 MB / 0.5841 GB, free: 3.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1582, allocations: 59.91 kB / 0.5842 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1582, allocations: 3.938 kB / 0.5842 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.1583, allocations: 39.91 kB / 0.5842 GB, free: 3.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1584, allocations: 14.75 kB / 0.5843 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.1588, allocations: 185.8 kB / 0.5844 GB, free: 3.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.159, allocations: 0.6848 MB / 0.5851 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.743e-05/0.1591, allocations: 31.97 kB / 0.5851 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.1592, allocations: 23.42 kB / 0.5851 GB, free: 2.809 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1592, allocations: 0 / 0.5851 GB, free: 2.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01018/0.1693, allocations: 1.397 MB / 0.5865 GB, free: 1.523 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.1696, allocations: 195 kB / 0.5867 GB, free: 1.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.812, allocations: 4 kB / 0.5867 GB, free: 1.27 MB / 494.1 MB (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)