Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001598/0.001598, allocations: 184.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0009791/0.0009791, allocations: 96.25 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.68e-05, allocations: 11.98 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8574/0.8574, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/1.089, allocations: 137.6 MB / 1.108 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/1.09, allocations: 77.52 kB / 1.108 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003149/1.093, allocations: 0.8232 MB / 1.109 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.925e-06/1.093, allocations: 0.5 kB / 1.109 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.093, allocations: 4.531 kB / 1.109 GB, free: 11.68 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003779/1.093, allocations: 327.7 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/1.094, allocations: 8.906 kB / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/1.094, allocations: 7.906 kB / 1.109 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.094, allocations: 167.6 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/1.094, allocations: 4 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/1.094, allocations: 0.5312 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002779/1.094, allocations: 100.7 kB / 1.109 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.094, allocations: 57.61 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.094, allocations: 0.5312 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.094, allocations: 0.875 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.094, allocations: 0 / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/1.095, allocations: 147.3 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/1.095, allocations: 71.23 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/1.095, allocations: 32.84 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/1.095, allocations: 402.4 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/1.095, allocations: 31.59 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/1.095, allocations: 0 / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000536/1.096, allocations: 97.83 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.096, allocations: 53.44 kB / 1.11 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/1.096, allocations: 86.44 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.096, allocations: 25.7 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/1.096, allocations: 80.33 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/1.096, allocations: 24.28 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/1.096, allocations: 9.406 kB / 1.11 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.096, allocations: 318.8 kB / 1.111 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/1.096, allocations: 16 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/1.096, allocations: 21.27 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/1.097, allocations: 27.97 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.097, allocations: 0 / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004238/1.097, allocations: 90.3 kB / 1.111 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.097, allocations: 7.953 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.097, allocations: 0 / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.097, allocations: 0 / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/1.098, allocations: 19.98 kB / 1.111 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.098, allocations: 1.875 kB / 1.111 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.56e-05/1.098, allocations: 7.844 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/1.098, allocations: 6.688 kB / 1.111 GB, free: 9.207 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.0001308/1.098, allocations: 114.5 kB / 1.111 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004163/1.098, allocations: 85.61 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/1.098, allocations: 7.953 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/1.099, allocations: 124.1 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.099, allocations: 0 / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.099, allocations: 4 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.099, allocations: 4 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/1.099, allocations: 150.1 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.099, allocations: 0 / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.099, allocations: 16.78 kB / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.099, allocations: 3.984 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/1.099, allocations: 13.12 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.099, allocations: 0 / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.099, allocations: 0 / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/1.1, allocations: 118.9 kB / 1.111 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/1.1, allocations: 88.95 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.1, allocations: 0 / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/1.1, allocations: 6.578 kB / 1.111 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/1.1, allocations: 7.984 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/1.1, allocations: 8 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.441e-05/1.1, allocations: 76.09 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/1.1, allocations: 0.5 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003573/1.1, allocations: 19.94 kB / 1.112 GB, free: 8.301 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.0009019/1.101, allocations: 0.6708 MB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001792/1.102, allocations: 55.98 kB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.102, allocations: 0 / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.248e-05/1.102, allocations: 35.92 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/1.102, allocations: 3.953 kB / 1.112 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/1.102, allocations: 136.9 kB / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/1.103, allocations: 0.6846 MB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001336/1.103, allocations: 43.3 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/1.103, allocations: 19.42 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/1.103, allocations: 0 / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/1.124, allocations: 1.034 MB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/1.124, allocations: 150.2 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.648, allocations: 2.406 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)