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.001494/0.001494, allocations: 100 kB / 15.05 MB, free: 1.105 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.001792/0.001792, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.426/2.426, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.678/1.678, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005606, allocations: 17.12 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2542, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000951/0.2552, allocations: 303.1 kB / 0.5876 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.2555, allocations: 47.84 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.2556, allocations: 0 / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.2556, allocations: 3.984 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.224e-06/0.2556, allocations: 4 kB / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2559, allocations: 12 kB / 0.5876 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2561, allocations: 23.95 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.97e-05/0.2561, allocations: 0 / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.2562, allocations: 15.94 kB / 0.5877 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.2563, allocations: 15.97 kB / 0.5877 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2563, allocations: 7.938 kB / 0.5877 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.2564, allocations: 4 kB / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.2564, allocations: 15.98 kB / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.2565, allocations: 25.7 kB / 0.5877 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.179e-05/0.2566, allocations: 19.95 kB / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2566, allocations: 4 kB / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.2566, allocations: 7.938 kB / 0.5878 GB, free: 2.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.2566, allocations: 0 / 0.5878 GB, free: 2.539 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.0004262/0.2571, allocations: 327.3 kB / 0.5881 GB, free: 2.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.2571, allocations: 8.031 kB / 0.5881 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.2572, allocations: 34.56 kB / 0.5881 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.2572, allocations: 4 kB / 0.5881 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2574, allocations: 171.2 kB / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2574, allocations: 4 kB / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2574, allocations: 8 kB / 0.5883 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2576, allocations: 65.66 kB / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2577, allocations: 0 / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2577, allocations: 0 / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2577, allocations: 0 / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2579, allocations: 107.8 kB / 0.5885 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.2582, allocations: 173.5 kB / 0.5886 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2584, allocations: 77.33 kB / 0.5887 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.2588, allocations: 405.5 kB / 0.5891 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2589, allocations: 34.56 kB / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.2589, allocations: 0 / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003477/0.2592, allocations: 113.9 kB / 0.5892 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2593, allocations: 51.41 kB / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.2594, allocations: 97.84 kB / 0.5894 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2594, allocations: 29.7 kB / 0.5894 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.2595, allocations: 80.33 kB / 0.5895 GB, free: 496 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.2595, allocations: 31.64 kB / 0.5895 GB, free: 464 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.2595, allocations: 0 / 0.5895 GB, free: 464 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2597, allocations: 314.8 kB / 0.5898 GB, free: 140 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.2598, allocations: 19.98 kB / 0.5898 GB, free: 120 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.2598, allocations: 23.97 kB / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.142e-05/0.2599, allocations: 24 kB / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.2599, allocations: 3.953 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002584/0.2602, allocations: 98.91 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2602, allocations: 4 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2602, allocations: 0 / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2603, allocations: 4 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2604, allocations: 23.92 kB / 0.59 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2605, allocations: 0 / 0.59 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.2605, allocations: 7.906 kB / 0.59 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2605, allocations: 4 kB / 0.59 GB, free: 15.92 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.2607, allocations: 128.2 kB / 0.5901 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.2608, allocations: 7.953 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.2611, allocations: 133.5 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2611, allocations: 0 / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2611, allocations: 0 / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.2611, allocations: 0 / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2613, allocations: 177.6 kB / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2614, allocations: 0 / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.2615, allocations: 23.94 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2615, allocations: 0 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2615, allocations: 0 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2615, allocations: 4 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2615, allocations: 0 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.2618, allocations: 125 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.2618, allocations: 85.05 kB / 0.5907 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2619, allocations: 3.953 kB / 0.5907 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.2619, allocations: 0 / 0.5907 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.262, allocations: 15.92 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.262, allocations: 4 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.262, allocations: 79.28 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.262, allocations: 0 / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003576/0.2624, allocations: 16 kB / 0.5908 GB, free: 15.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006889/0.2631, allocations: 0.6691 MB / 0.5914 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.2633, allocations: 67.89 kB / 0.5915 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2633, allocations: 0 / 0.5915 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.2634, allocations: 35.92 kB / 0.5915 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.2636, allocations: 3.953 kB / 0.5915 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.2642, allocations: 180.4 kB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.2646, allocations: 0.6887 MB / 0.5924 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.2647, allocations: 39.97 kB / 0.5924 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.2648, allocations: 19.42 kB / 0.5924 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.2648, allocations: 0 / 0.5924 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2955, allocations: 1.331 MB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.2958, allocations: 177.4 kB / 0.5939 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/2.834, allocations: 3.938 kB / 0.5939 GB, free: 11.83 MB / 0.4981 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/linux/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) Environment - environmentSimulation: