Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 285.6 MB / 293.1 MB, free: 10.28 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.001002/0.001002, allocations: 172.9 kB / 361.4 MB, free: 6.883 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.857/1.857, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008329/0.0008329, allocations: 96.3 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.757e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.766, allocations: 115.3 MB / 0.9645 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.964, allocations: 136.6 MB / 1.098 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9643, allocations: 81.67 kB / 1.098 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002047/0.9664, allocations: 0.8255 MB / 1.099 GB, free: 2.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9664, allocations: 0 / 1.099 GB, free: 2.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.9664, allocations: 5 kB / 1.099 GB, free: 2.293 MB / 0.698 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.0003381/0.9668, allocations: 330.7 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.9669, allocations: 12.78 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.9669, allocations: 4.938 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.967, allocations: 163.6 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.9671, allocations: 4.5 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.9671, allocations: 0 / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001769/0.9673, allocations: 103.7 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.9674, allocations: 70.06 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.9674, allocations: 0 / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9674, allocations: 1.219 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9674, allocations: 0 / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.9676, allocations: 147 kB / 1.1 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.9677, allocations: 67.11 kB / 1.1 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.9678, allocations: 29.69 kB / 1.1 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.9681, allocations: 402.1 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.9682, allocations: 31.09 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.9682, allocations: 3.062 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003592/0.9686, allocations: 101.8 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.9686, allocations: 51.41 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.261e-05/0.9687, allocations: 85 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.9687, allocations: 30.3 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.9687, allocations: 80.95 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.9688, allocations: 29.05 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.9688, allocations: 0 / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9689, allocations: 310.8 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.969, allocations: 16.75 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.969, allocations: 20.06 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.9692, allocations: 28.56 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9692, allocations: 0 / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.9695, allocations: 90.3 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.9695, allocations: 11.77 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9695, allocations: 0 / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9695, allocations: 4.578 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.9696, allocations: 19.94 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.9697, allocations: 0.5 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.9697, allocations: 8.562 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.9697, allocations: 5.172 kB / 1.101 GB, free: 15.81 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: 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 0.0001045/0.9698, allocations: 105.7 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002389/0.9701, allocations: 101.9 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.9701, allocations: 7.953 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.9704, allocations: 115.9 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9704, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9705, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9705, allocations: 0.9375 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.9706, allocations: 154 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-06/0.9706, allocations: 6.594 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.9707, allocations: 12 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9707, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.9707, allocations: 11.78 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9707, allocations: 1.375 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.9708, allocations: 3.938 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.971, allocations: 116.8 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.9711, allocations: 84.95 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.9711, allocations: 0 / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.9711, allocations: 3.953 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.9712, allocations: 7.984 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.9712, allocations: 4.516 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.9712, allocations: 83.28 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9712, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002091/0.9714, allocations: 15.94 kB / 1.102 GB, free: 14.92 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: 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.0006667/0.9721, allocations: 0.6702 MB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.9723, allocations: 59.98 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9723, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.9723, allocations: 35.09 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.9724, allocations: 3.953 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.9728, allocations: 128.8 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.9731, allocations: 0.6846 MB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.073e-05/0.9732, allocations: 41.11 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.9732, allocations: 19.42 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.9732, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.9915, allocations: 1.042 MB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.9918, allocations: 155.8 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/2.396, allocations: 0.7031 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)