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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.007982/0.007981, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8285/0.8285, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009549, allocations: 98.41 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4807, allocations: 82.29 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.6575, allocations: 110.6 MB / 0.7576 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.6578, allocations: 71.95 kB / 0.7576 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002124/0.66, allocations: 0.8299 MB / 0.7585 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.545e-06/0.66, allocations: 0 / 0.7585 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.66, allocations: 0 / 0.7585 GB, free: 4.43 MB / 0.5261 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.0003248/0.6603, allocations: 343.2 kB / 0.7588 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.6604, allocations: 8.031 kB / 0.7588 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.6604, allocations: 38.56 kB / 0.7588 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.6605, allocations: 0 / 0.7588 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.6606, allocations: 167 kB / 0.759 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.6606, allocations: 15.88 kB / 0.759 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.6606, allocations: 8 kB / 0.759 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.6608, allocations: 61.66 kB / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6608, allocations: 0 / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.6608, allocations: 0 / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6608, allocations: 0 / 0.7591 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.661, allocations: 103.9 kB / 0.7592 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.6612, allocations: 173.6 kB / 0.7593 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.6614, allocations: 74.48 kB / 0.7594 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.6617, allocations: 409.5 kB / 0.7598 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.6618, allocations: 34.56 kB / 0.7598 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.6618, allocations: 0 / 0.7598 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002768/0.6621, allocations: 109.9 kB / 0.7599 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6621, allocations: 51.41 kB / 0.76 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.6622, allocations: 100.9 kB / 0.7601 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.6622, allocations: 25.7 kB / 0.7601 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.6622, allocations: 84.33 kB / 0.7602 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.6623, allocations: 19.72 kB / 0.7602 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.6623, allocations: 0 / 0.7602 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6624, allocations: 314.8 kB / 0.7605 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.6625, allocations: 23.92 kB / 0.7605 GB, free: 2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.6625, allocations: 19.98 kB / 0.7605 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/0.6626, allocations: 28.58 kB / 0.7606 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6626, allocations: 0 / 0.7606 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001878/0.6628, allocations: 101.5 kB / 0.7607 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6628, allocations: 4 kB / 0.7607 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6628, allocations: 4 kB / 0.7607 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6628, allocations: 0 / 0.7607 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.663, allocations: 19.98 kB / 0.7607 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.663, allocations: 7.922 kB / 0.7607 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.663, allocations: 11.84 kB / 0.7607 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.663, allocations: 4 kB / 0.7607 GB, free: 1.797 MB / 0.5261 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.0001146/0.6631, allocations: 121.8 kB / 0.7608 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.6632, allocations: 7.953 kB / 0.7608 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.6634, allocations: 121.7 kB / 0.761 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6635, allocations: 0 / 0.761 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6635, allocations: 4 kB / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6635, allocations: 4 kB / 0.761 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.6637, allocations: 177.6 kB / 0.7611 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6637, allocations: 7.875 kB / 0.7611 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.6638, allocations: 19.98 kB / 0.7612 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.6638, allocations: 7.938 kB / 0.7612 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.6638, allocations: 4 kB / 0.7612 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6638, allocations: 0 / 0.7612 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6638, allocations: 4 kB / 0.7612 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.664, allocations: 121.4 kB / 0.7613 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.6641, allocations: 81.05 kB / 0.7614 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6641, allocations: 3.953 kB / 0.7614 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.541e-05/0.6641, allocations: 4 kB / 0.7614 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.6641, allocations: 11.92 kB / 0.7614 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.6642, allocations: 8 kB / 0.7614 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.6642, allocations: 79.28 kB / 0.7615 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6642, allocations: 0 / 0.7615 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002131/0.6645, allocations: 19.94 kB / 0.7615 GB, free: 0.8984 MB / 0.5261 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.0006781/0.6651, allocations: 0.6742 MB / 0.7621 GB, free: 204 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.6653, allocations: 59.91 kB / 0.7622 GB, free: 144 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6653, allocations: 0 / 0.7622 GB, free: 144 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.6654, allocations: 39.86 kB / 0.7622 GB, free: 104 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.6655, allocations: 8.828 kB / 0.7622 GB, free: 96 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.666, allocations: 184.4 kB / 0.7624 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.6664, allocations: 0.6893 MB / 0.7631 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.443e-05/0.6665, allocations: 35.94 kB / 0.7631 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.6665, allocations: 15.44 kB / 0.7631 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.6665, allocations: 0 / 0.7631 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.6808, allocations: 1.316 MB / 0.7644 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.6812, allocations: 175.8 kB / 0.7646 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.183, allocations: 64 / 0.7646 GB, free: 13.68 MB / 0.5417 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)