Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8103/0.8103, allocations: 128.7 MB / 143.7 MB, free: 2.336 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 176.3 kB / 173.7 MB, free: 6.141 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009124/0.0009122, allocations: 101.2 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 10.69 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 76.78 MB / 0.6354 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.2768, allocations: 101.9 MB / 0.735 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.2771, allocations: 87.94 kB / 0.735 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002133/0.2792, allocations: 0.9062 MB / 0.7359 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2793, allocations: 4 kB / 0.7359 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2793, allocations: 0 / 0.7359 GB, free: 7.367 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.0003184/0.2796, allocations: 335.3 kB / 0.7362 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2796, allocations: 12.03 kB / 0.7363 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.2797, allocations: 34.56 kB / 0.7363 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2797, allocations: 15.84 kB / 0.7363 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2798, allocations: 159.1 kB / 0.7365 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2799, allocations: 0 / 0.7365 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2799, allocations: 8 kB / 0.7365 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.28, allocations: 69.55 kB / 0.7365 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.28, allocations: 0 / 0.7365 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2801, allocations: 4 kB / 0.7365 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2801, allocations: 3.984 kB / 0.7365 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2802, allocations: 107.8 kB / 0.7366 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.2804, allocations: 173.6 kB / 0.7368 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2805, allocations: 70.48 kB / 0.7369 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.2809, allocations: 397.9 kB / 0.7373 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2809, allocations: 54.42 kB / 0.7373 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2809, allocations: 0 / 0.7373 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002478/0.2812, allocations: 109.6 kB / 0.7374 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.2812, allocations: 51.41 kB / 0.7375 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.247e-05/0.2813, allocations: 89 kB / 0.7375 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2813, allocations: 25.7 kB / 0.7376 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.2813, allocations: 80.33 kB / 0.7376 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.2814, allocations: 27.66 kB / 0.7377 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.2814, allocations: 0 / 0.7377 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2815, allocations: 326.8 kB / 0.738 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.2815, allocations: 23.92 kB / 0.738 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.2816, allocations: 19.98 kB / 0.738 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.2816, allocations: 27.92 kB / 0.738 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2817, allocations: 0 / 0.738 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001341/0.2818, allocations: 89.61 kB / 0.7381 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2818, allocations: 8 kB / 0.7381 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2818, allocations: 0 / 0.7381 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2818, allocations: 0 / 0.7381 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.282, allocations: 23.98 kB / 0.7382 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.282, allocations: 0 / 0.7382 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.282, allocations: 3.906 kB / 0.7382 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.282, allocations: 4 kB / 0.7382 GB, free: 4.746 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 () * 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.0001122/0.2821, allocations: 133.7 kB / 0.7383 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.2822, allocations: 3.938 kB / 0.7383 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.2824, allocations: 125.7 kB / 0.7384 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2824, allocations: 0 / 0.7384 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2824, allocations: 0 / 0.7384 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2824, allocations: 3.984 kB / 0.7384 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.2826, allocations: 173.6 kB / 0.7386 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2826, allocations: 7.938 kB / 0.7386 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.2826, allocations: 19.92 kB / 0.7386 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2827, allocations: 4 kB / 0.7386 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.2827, allocations: 0 / 0.7386 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2827, allocations: 0 / 0.7386 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2827, allocations: 8 kB / 0.7386 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.2828, allocations: 122.2 kB / 0.7387 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.2829, allocations: 85.05 kB / 0.7388 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2829, allocations: 4 kB / 0.7388 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.2829, allocations: 0 / 0.7388 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.283, allocations: 7.984 kB / 0.7388 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.283, allocations: 8 kB / 0.7388 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.283, allocations: 75.28 kB / 0.7389 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.283, allocations: 4 kB / 0.7389 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000198/0.2832, allocations: 12 kB / 0.7389 GB, free: 3.859 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 () * 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.000537/0.2838, allocations: 0.6892 MB / 0.7396 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2839, allocations: 63.91 kB / 0.7397 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2839, allocations: 4 kB / 0.7397 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.284, allocations: 31.97 kB / 0.7397 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.173e-05/0.2841, allocations: 4 kB / 0.7397 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.2845, allocations: 196.1 kB / 0.7399 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2848, allocations: 0.6848 MB / 0.7406 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.2849, allocations: 43.92 kB / 0.7406 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2849, allocations: 19.42 kB / 0.7406 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.2849, allocations: 0 / 0.7406 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2973, allocations: 1.347 MB / 0.7419 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.2975, allocations: 199.6 kB / 0.7421 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.756, allocations: 0 / 0.7421 GB, free: 0.6211 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)