Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.005922/0.005922, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7578/0.7578, 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.485/1.485, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009072/0.0009072, allocations: 91.62 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4187, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5663, allocations: 111.7 MB / 0.7586 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5665, allocations: 75.95 kB / 0.7587 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00302/0.5696, allocations: 1.06 MB / 0.7597 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5696, allocations: 0 / 0.7597 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.5696, allocations: 0 / 0.7597 GB, free: 3.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004184/0.57, allocations: 363.2 kB / 0.7601 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5701, allocations: 8.031 kB / 0.7601 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.5701, allocations: 34.55 kB / 0.7601 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.5701, allocations: 4 kB / 0.7601 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.5703, allocations: 170.9 kB / 0.7603 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.5703, allocations: 8 kB / 0.7603 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5703, allocations: 3.938 kB / 0.7603 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5705, allocations: 73.66 kB / 0.7604 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5705, allocations: 0 / 0.7604 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.5706, allocations: 0 / 0.7604 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5706, allocations: 0 / 0.7604 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.5708, allocations: 63.88 kB / 0.7604 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.5712, allocations: 276.8 kB / 0.7607 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.5715, allocations: 62.59 kB / 0.7607 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.5718, allocations: 397.6 kB / 0.7611 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5719, allocations: 38.56 kB / 0.7612 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.845e-06/0.5719, allocations: 0 / 0.7612 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004031/0.5723, allocations: 121.4 kB / 0.7613 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.5723, allocations: 55.41 kB / 0.7613 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.5724, allocations: 104.9 kB / 0.7614 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.5724, allocations: 25.7 kB / 0.7615 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.5725, allocations: 84.14 kB / 0.7615 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.5725, allocations: 7.906 kB / 0.7615 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5725, allocations: 0 / 0.7615 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5726, allocations: 318.8 kB / 0.7619 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.907e-05/0.5727, allocations: 23.98 kB / 0.7619 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.592e-05/0.5728, allocations: 27.97 kB / 0.7619 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.5729, allocations: 23.98 kB / 0.7619 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.573, allocations: 4 kB / 0.7619 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002227/0.5732, allocations: 89.5 kB / 0.762 GB, free: 500 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5732, allocations: 4 kB / 0.762 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5732, allocations: 0 / 0.762 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5732, allocations: 0 / 0.762 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.5733, allocations: 19.98 kB / 0.762 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5734, allocations: 0 / 0.762 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.5734, allocations: 11.98 kB / 0.762 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.5734, allocations: 3.953 kB / 0.7621 GB, free: 460 kB / 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.513e-05/0.5735, allocations: 114.5 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.5736, allocations: 0 / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.5739, allocations: 93.55 kB / 0.7622 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5739, allocations: 3.984 kB / 0.7623 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5739, allocations: 0 / 0.7623 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5739, allocations: 3.938 kB / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.5741, allocations: 181.5 kB / 0.7624 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.5741, allocations: 4 kB / 0.7624 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.5742, allocations: 19.98 kB / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5742, allocations: 0 / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.5742, allocations: 0 / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5742, allocations: 0 / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5742, allocations: 0 / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5745, allocations: 191.7 kB / 0.7626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.5746, allocations: 81.14 kB / 0.7627 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.5746, allocations: 4 kB / 0.7627 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.5747, allocations: 11.94 kB / 0.7627 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.5748, allocations: 7.984 kB / 0.7627 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.5748, allocations: 0 / 0.7627 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.5748, allocations: 91.27 kB / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5748, allocations: 4 kB / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002245/0.5751, allocations: 15.94 kB / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006687/0.5757, allocations: 0.7241 MB / 0.7635 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.576, allocations: 59.89 kB / 0.7636 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.576, allocations: 4 kB / 0.7636 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.5761, allocations: 35.91 kB / 0.7636 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.5763, allocations: 5.094 kB / 0.7636 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.5772, allocations: 454.4 kB / 0.7641 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5775, allocations: 0.6926 MB / 0.7648 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.5776, allocations: 4 kB / 0.7648 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.5776, allocations: 7.438 kB / 0.7648 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5776, allocations: 0 / 0.7648 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.5903, allocations: 1.366 MB / 0.7661 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.5905, allocations: 164 kB / 0.7663 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.059, allocations: 0 / 0.7663 GB, free: 11.96 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)