Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.32/2.32, allocations: 284.7 MB / 297.2 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 176.7 kB / 365.6 MB, free: 2.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.1 MB / 0.624 GB, free: 8.273 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.00105, allocations: 102.5 kB / 0.7371 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.98e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7521, allocations: 115.2 MB / 0.9699 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.9793, allocations: 138.1 MB / 1.105 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.9796, allocations: 74.34 kB / 1.105 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004451/0.9841, allocations: 1.05 MB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9841, allocations: 2.219 kB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9842, allocations: 0 / 1.106 GB, free: 13.28 MB / 0.7136 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.0004841/0.9847, allocations: 354.4 kB / 1.106 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.9847, allocations: 12.03 kB / 1.106 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.9848, allocations: 34.55 kB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.9848, allocations: 5.109 kB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.985, allocations: 167 kB / 1.106 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.985, allocations: 4 kB / 1.106 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.985, allocations: 7.938 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.9852, allocations: 54.28 kB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.9852, allocations: 1.078 kB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.9852, allocations: 0 / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9852, allocations: 3.125 kB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.9853, allocations: 20 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.9858, allocations: 284.7 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.9862, allocations: 46.25 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.9862, allocations: 19.61 kB / 1.107 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.9866, allocations: 407.5 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.9867, allocations: 30.56 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.9867, allocations: 0.5312 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002106/0.9869, allocations: 50.31 kB / 1.107 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.9869, allocations: 61.8 kB / 1.107 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.987, allocations: 101 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.9871, allocations: 25.7 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.9872, allocations: 84.05 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.9872, allocations: 19.95 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.9872, allocations: 0 / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9874, allocations: 312.2 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.9874, allocations: 8 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.9875, allocations: 17.34 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.9875, allocations: 7.984 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9875, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/0.9877, allocations: 53.58 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9877, allocations: 12.7 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9877, allocations: 0 / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.9878, allocations: 0.8125 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.9879, allocations: 12.64 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.9879, allocations: 6.359 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.9881, allocations: 10.14 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.9881, allocations: 0 / 1.108 GB, free: 10.82 MB / 0.7136 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.733e-05/0.9882, allocations: 105 kB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.9882, allocations: 7.891 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.9884, allocations: 61.72 kB / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.9884, allocations: 0 / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9884, allocations: 0 / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.9884, allocations: 0 / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.9887, allocations: 177.5 kB / 1.108 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9887, allocations: 0 / 1.108 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.9888, allocations: 15.98 kB / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9889, allocations: 0 / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.9889, allocations: 1.688 kB / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9889, allocations: 0 / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9889, allocations: 4 kB / 1.108 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.9891, allocations: 147.5 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.9891, allocations: 85.02 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.9892, allocations: 4 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.9893, allocations: 7.984 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.9894, allocations: 7.984 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.9894, allocations: 4 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.9895, allocations: 89.86 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9895, allocations: 3.938 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002968/0.9898, allocations: 15.94 kB / 1.109 GB, free: 9.992 MB / 0.7136 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.0005411/0.9904, allocations: 0.6931 MB / 1.109 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.9905, allocations: 27.98 kB / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.9905, allocations: 0 / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.9906, allocations: 19.92 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.9908, allocations: 0.6562 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.9913, allocations: 113 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.9916, allocations: 0.6809 MB / 1.11 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.436e-05/0.9917, allocations: 8 kB / 1.11 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.9917, allocations: 21.05 kB / 1.11 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.9918, allocations: 0 / 1.11 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/1.011, allocations: 1.379 MB / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/1.012, allocations: 160.9 kB / 1.112 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.114, allocations: 0 / 1.112 GB, free: 6.957 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)