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.001235/0.001235, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7794/0.7794, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008493/0.0008492, allocations: 109.5 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.67e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4697, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.6067, allocations: 109.9 MB / 0.7413 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.607, allocations: 71.94 kB / 0.7413 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001819/0.6088, allocations: 0.8338 MB / 0.7421 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6089, allocations: 4 kB / 0.7421 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6089, allocations: 0 / 0.7421 GB, free: 11.84 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.0003037/0.6092, allocations: 334.4 kB / 0.7425 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.6092, allocations: 12.03 kB / 0.7425 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.6093, allocations: 0 / 0.7425 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6094, allocations: 167 kB / 0.7426 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.6094, allocations: 4 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.6094, allocations: 4 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001803/0.6096, allocations: 95.88 kB / 0.7427 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.6097, allocations: 57.61 kB / 0.7428 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6098, allocations: 0 / 0.7428 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6098, allocations: 11.92 kB / 0.7428 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6098, allocations: 0 / 0.7428 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.6099, allocations: 142.2 kB / 0.7429 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.584e-05/0.61, allocations: 66.52 kB / 0.743 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.6101, allocations: 32.78 kB / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.6104, allocations: 401.5 kB / 0.7434 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6105, allocations: 30.89 kB / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.306e-06/0.6105, allocations: 7.984 kB / 0.7434 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0003125/0.6108, allocations: 97.44 kB / 0.7435 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.6108, allocations: 51.41 kB / 0.7436 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/0.6109, allocations: 93 kB / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.6109, allocations: 25.7 kB / 0.7437 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.6109, allocations: 80.33 kB / 0.7438 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.611, allocations: 23.66 kB / 0.7438 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.611, allocations: 0 / 0.7438 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6111, allocations: 314.8 kB / 0.7441 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.6111, allocations: 20 kB / 0.7441 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.6112, allocations: 19.98 kB / 0.7441 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.6113, allocations: 27.97 kB / 0.7442 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6113, allocations: 0 / 0.7442 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002179/0.6116, allocations: 93.55 kB / 0.7443 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6116, allocations: 7.953 kB / 0.7443 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6116, allocations: 0 / 0.7443 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6116, allocations: 0 / 0.7443 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6117, allocations: 19.98 kB / 0.7443 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6117, allocations: 0 / 0.7443 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.6118, allocations: 11.91 kB / 0.7443 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.6118, allocations: 0 / 0.7443 GB, free: 9.344 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 () * 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 8.41e-05/0.6119, allocations: 115.5 kB / 0.7444 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002134/0.6121, allocations: 89.61 kB / 0.7445 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.6121, allocations: 15.84 kB / 0.7445 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.6124, allocations: 110.2 kB / 0.7446 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6124, allocations: 4 kB / 0.7446 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6124, allocations: 4 kB / 0.7446 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6124, allocations: 0 / 0.7446 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.6125, allocations: 158 kB / 0.7448 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6126, allocations: 0 / 0.7448 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.6126, allocations: 19.94 kB / 0.7448 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6126, allocations: 7.953 kB / 0.7448 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.6127, allocations: 3.984 kB / 0.7448 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6127, allocations: 3.938 kB / 0.7448 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6127, allocations: 0 / 0.7448 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.6129, allocations: 122.1 kB / 0.7449 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.613, allocations: 81.02 kB / 0.745 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.613, allocations: 3.953 kB / 0.745 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.613, allocations: 0 / 0.745 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.613, allocations: 7.984 kB / 0.745 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.613, allocations: 4 kB / 0.745 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.6131, allocations: 75.28 kB / 0.7451 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6131, allocations: 3.938 kB / 0.7451 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002031/0.6133, allocations: 23.94 kB / 0.7451 GB, free: 8.418 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 () * 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.0005535/0.6138, allocations: 0.6632 MB / 0.7458 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.614, allocations: 51.92 kB / 0.7458 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.614, allocations: 4 kB / 0.7458 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.614, allocations: 35.98 kB / 0.7458 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.707e-05/0.6141, allocations: 5.844 kB / 0.7458 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.6145, allocations: 137.4 kB / 0.746 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.6147, allocations: 0.6852 MB / 0.7466 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.851e-05/0.6148, allocations: 35.94 kB / 0.7467 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.6148, allocations: 27.42 kB / 0.7467 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.6148, allocations: 0 / 0.7467 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.6324, allocations: 1.033 MB / 0.7477 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.6327, allocations: 137.7 kB / 0.7478 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.06, allocations: 0 / 0.7478 GB, free: 5.473 MB / 0.5261 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)