Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_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.001063/0.001063, 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.7792/0.7792, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.46/1.46, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.000865/0.0008648, allocations: 104.4 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.145e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4558, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.6135, allocations: 111 MB / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.6138, allocations: 79.94 kB / 0.7424 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003167/0.617, allocations: 1.052 MB / 0.7434 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/0.617, allocations: 4 kB / 0.7434 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.617, allocations: 0 / 0.7434 GB, free: 10.55 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.0004807/0.6175, allocations: 354.4 kB / 0.7437 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6176, allocations: 8.031 kB / 0.7438 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.6176, allocations: 0 / 0.7438 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.6178, allocations: 174.9 kB / 0.7439 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.6178, allocations: 0 / 0.7439 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.6178, allocations: 8 kB / 0.7439 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.6179, allocations: 20 kB / 0.7439 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.618, allocations: 41.69 kB / 0.744 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6181, allocations: 0 / 0.744 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6181, allocations: 3.938 kB / 0.744 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6181, allocations: 7.984 kB / 0.744 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.6186, allocations: 257.2 kB / 0.7442 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.6188, allocations: 46.56 kB / 0.7443 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.6189, allocations: 12.92 kB / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/0.6192, allocations: 397.6 kB / 0.7447 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.6193, allocations: 30.56 kB / 0.7447 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.6193, allocations: 0 / 0.7447 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002476/0.6195, allocations: 53.72 kB / 0.7448 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6196, allocations: 59.34 kB / 0.7448 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.6197, allocations: 101 kB / 0.7449 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.6197, allocations: 25.7 kB / 0.7449 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.6198, allocations: 84.05 kB / 0.745 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.6198, allocations: 11.84 kB / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.6198, allocations: 0 / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6199, allocations: 322.8 kB / 0.7453 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.62, allocations: 4 kB / 0.7453 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.62, allocations: 8 kB / 0.7453 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.62, allocations: 12 kB / 0.7454 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6201, allocations: 0 / 0.7454 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.6202, allocations: 49.69 kB / 0.7454 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6202, allocations: 4 kB / 0.7454 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6202, allocations: 0 / 0.7454 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6202, allocations: 0 / 0.7454 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6203, allocations: 15.98 kB / 0.7454 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6203, allocations: 3.984 kB / 0.7454 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.6204, allocations: 15.92 kB / 0.7454 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.6204, allocations: 4 kB / 0.7454 GB, free: 8.164 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: 2 (falFac.y,falFac.k) * Number of discrete 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 7.861e-05/0.6205, allocations: 104.9 kB / 0.7455 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001286/0.6207, allocations: 57.59 kB / 0.7456 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.6207, allocations: 0 / 0.7456 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.6208, allocations: 53.8 kB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6209, allocations: 0 / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6209, allocations: 0 / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6209, allocations: 11.94 kB / 0.7457 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.621, allocations: 146.2 kB / 0.7458 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.621, allocations: 256 / 0.7458 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.6212, allocations: 19.98 kB / 0.7458 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6212, allocations: 0 / 0.7458 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.6212, allocations: 0 / 0.7458 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6212, allocations: 0 / 0.7458 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6212, allocations: 0 / 0.7458 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.6214, allocations: 155.4 kB / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.6214, allocations: 88.94 kB / 0.7461 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.6215, allocations: 4 kB / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.6216, allocations: 4 kB / 0.7461 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.6216, allocations: 7.984 kB / 0.7461 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.6216, allocations: 0 / 0.7461 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.6217, allocations: 83.28 kB / 0.7462 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6217, allocations: 0 / 0.7462 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002364/0.6219, allocations: 27.92 kB / 0.7462 GB, free: 7.32 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: 2 (falFac.y,falFac.k) * Number of discrete 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.0005513/0.6225, allocations: 0.6853 MB / 0.7468 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.6226, allocations: 23.98 kB / 0.7469 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6226, allocations: 0 / 0.7469 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.6227, allocations: 11.94 kB / 0.7469 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.6229, allocations: 13.72 kB / 0.7469 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.6233, allocations: 109.5 kB / 0.747 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6237, allocations: 0.6807 MB / 0.7477 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.6237, allocations: 7.984 kB / 0.7477 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.6238, allocations: 11.44 kB / 0.7477 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.6238, allocations: 0 / 0.7477 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.6471, allocations: 1.013 MB / 0.7487 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.6475, allocations: 129.5 kB / 0.7488 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.143, allocations: 0 / 0.7488 GB, free: 4.496 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)