Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_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.001102/0.001102, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7736/0.7736, allocations: 133.4 MB / 146.7 MB, free: 10.81 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.591/1.591, allocations: 221.3 MB / 400.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.0009772, allocations: 83.89 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.326e-05/5.329e-05, allocations: 4.5 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2003, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5623/0.7627, allocations: 110.6 MB / 0.7485 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.763, allocations: 80.64 kB / 0.7486 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002254/0.7653, allocations: 0.8194 MB / 0.7494 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7653, allocations: 1.219 kB / 0.7494 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.7653, allocations: 3.938 kB / 0.7494 GB, free: 27.55 MB / 0.5105 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.000303/0.7656, allocations: 340.4 kB / 0.7497 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.7657, allocations: 7.656 kB / 0.7497 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.7657, allocations: 40.77 kB / 0.7497 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.7657, allocations: 0 / 0.7497 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.7658, allocations: 166.8 kB / 0.7499 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.7659, allocations: 0 / 0.7499 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.7659, allocations: 7.469 kB / 0.7499 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.766, allocations: 63 kB / 0.75 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.766, allocations: 3.938 kB / 0.75 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.7661, allocations: 0 / 0.75 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7661, allocations: 11.83 kB / 0.75 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.7662, allocations: 96.95 kB / 0.7501 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.7664, allocations: 170.4 kB / 0.7502 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.7665, allocations: 74.55 kB / 0.7503 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.7665, allocations: 34.2 kB / 0.7503 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.7668, allocations: 406.9 kB / 0.7507 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.7669, allocations: 37.62 kB / 0.7508 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.7669, allocations: 4 kB / 0.7508 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0001889/0.7671, allocations: 87.52 kB / 0.7508 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7671, allocations: 55.34 kB / 0.7509 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.7672, allocations: 95.16 kB / 0.751 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.7672, allocations: 25.7 kB / 0.751 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.7672, allocations: 80.33 kB / 0.7511 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.7673, allocations: 22.84 kB / 0.7511 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.7673, allocations: 3.5 kB / 0.7511 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.7674, allocations: 321.4 kB / 0.7514 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.7674, allocations: 16.83 kB / 0.7514 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.7675, allocations: 20.55 kB / 0.7515 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.7675, allocations: 24.86 kB / 0.7515 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7675, allocations: 0 / 0.7515 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001181/0.7676, allocations: 96.88 kB / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7677, allocations: 3.875 kB / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7677, allocations: 0 / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7677, allocations: 0 / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.7678, allocations: 21 kB / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7678, allocations: 0.625 kB / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.7678, allocations: 11.75 kB / 0.7516 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.7678, allocations: 8.422 kB / 0.7516 GB, free: 25.48 MB / 0.5105 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 7.596e-05/0.7679, allocations: 116.8 kB / 0.7517 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.7679, allocations: 7.891 kB / 0.7517 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.7681, allocations: 120 kB / 0.7519 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7681, allocations: 10.66 kB / 0.7519 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7682, allocations: 0 / 0.7519 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7682, allocations: 0 / 0.7519 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.7683, allocations: 169 kB / 0.752 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7683, allocations: 3.938 kB / 0.752 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.7684, allocations: 18.5 kB / 0.752 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.7684, allocations: 7.797 kB / 0.7521 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7684, allocations: 8.5 kB / 0.7521 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7684, allocations: 0 / 0.7521 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7684, allocations: 0 / 0.7521 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.7685, allocations: 125.5 kB / 0.7522 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.7686, allocations: 84.89 kB / 0.7523 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.7686, allocations: 7.516 kB / 0.7523 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/0.7686, allocations: 0 / 0.7523 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.7687, allocations: 8.047 kB / 0.7523 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7687, allocations: 6.078 kB / 0.7523 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.7687, allocations: 78.91 kB / 0.7524 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7687, allocations: 0 / 0.7524 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001878/0.7689, allocations: 23.47 kB / 0.7524 GB, free: 24.85 MB / 0.5105 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.0005017/0.7694, allocations: 0.6678 MB / 0.753 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.7695, allocations: 62.36 kB / 0.7531 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7696, allocations: 3.844 kB / 0.7531 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.7696, allocations: 35.55 kB / 0.7531 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.78e-05/0.7697, allocations: 8.516 kB / 0.7531 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.77, allocations: 145.7 kB / 0.7533 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.7703, allocations: 0.6865 MB / 0.7539 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.286e-05/0.7704, allocations: 36.14 kB / 0.754 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.7704, allocations: 21.67 kB / 0.754 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.7704, allocations: 4 kB / 0.754 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.7837, allocations: 1.317 MB / 0.7553 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.784, allocations: 162 kB / 0.7554 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.182, allocations: 0 / 0.7554 GB, free: 22.99 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)