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.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001664/0.001664, allocations: 173 kB / 377.1 MB, free: 1.523 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.997/1.997, allocations: 205.4 MB / 0.6366 GB, free: 8.594 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.0009532/0.000953, allocations: 95.28 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7876/1.101, allocations: 138.3 MB / 1.123 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.101, allocations: 82.47 kB / 1.124 GB, free: 35.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001789/1.103, allocations: 0.8222 MB / 1.124 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/1.103, allocations: 4 kB / 1.124 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.103, allocations: 0 / 1.124 GB, free: 35.34 MB / 0.7292 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.0002344/1.103, allocations: 336 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.103, allocations: 16.55 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/1.103, allocations: 30.56 kB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/1.103, allocations: 15.91 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.241e-05/1.103, allocations: 172 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.103, allocations: 0 / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/1.103, allocations: 7.438 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/1.103, allocations: 57.53 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/1.103, allocations: 5.125 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.104, allocations: 4 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.104, allocations: 4.656 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/1.104, allocations: 95.36 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/1.104, allocations: 180.5 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.707e-05/1.104, allocations: 74 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/1.104, allocations: 405.7 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/1.104, allocations: 34.56 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/1.104, allocations: 0 / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002189/1.104, allocations: 110.6 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/1.104, allocations: 59.73 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.328e-05/1.104, allocations: 88.42 kB / 1.126 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.104, allocations: 29.7 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/1.104, allocations: 88.2 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/1.105, allocations: 20.28 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/1.105, allocations: 4 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/1.105, allocations: 318.3 kB / 1.126 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/1.105, allocations: 15.42 kB / 1.126 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/1.105, allocations: 19.94 kB / 1.126 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/1.105, allocations: 36.09 kB / 1.126 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.105, allocations: 0.6562 kB / 1.126 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001063/1.105, allocations: 93.05 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.105, allocations: 8.625 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.105, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.105, allocations: 0 / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/1.105, allocations: 23.41 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.105, allocations: 0.5 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/1.105, allocations: 4.781 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/1.105, allocations: 4.516 kB / 1.127 GB, free: 32.86 MB / 0.7292 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 6.878e-05/1.105, allocations: 125.4 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/1.105, allocations: 7.859 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/1.105, allocations: 124.3 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.105, allocations: 8.75 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.105, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.105, allocations: 0.7969 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.98e-05/1.105, allocations: 176.6 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.105, allocations: 0.5625 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/1.106, allocations: 24.27 kB / 1.127 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.106, allocations: 0 / 1.127 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.106, allocations: 7.953 kB / 1.127 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.106, allocations: 0 / 1.127 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.106, allocations: 0 / 1.127 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/1.106, allocations: 117.4 kB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/1.106, allocations: 92.98 kB / 1.127 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/1.106, allocations: 7.562 kB / 1.127 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/1.106, allocations: 5.328 kB / 1.127 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/1.106, allocations: 7.516 kB / 1.127 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/1.106, allocations: 4 kB / 1.127 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.418e-05/1.106, allocations: 75.28 kB / 1.127 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/1.106, allocations: 0.6562 kB / 1.127 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001841/1.106, allocations: 23.94 kB / 1.127 GB, free: 32.03 MB / 0.7292 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.0003768/1.106, allocations: 0.6691 MB / 1.128 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001212/1.107, allocations: 63.06 kB / 1.128 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.107, allocations: 0 / 1.128 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/1.107, allocations: 40.36 kB / 1.128 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.358e-05/1.107, allocations: 9.516 kB / 1.128 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/1.107, allocations: 191.5 kB / 1.128 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/1.107, allocations: 0.6874 MB / 1.129 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.859e-05/1.107, allocations: 35.77 kB / 1.129 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/1.107, allocations: 15.44 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.107, allocations: 0 / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/1.119, allocations: 1.32 MB / 1.13 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/1.119, allocations: 185.5 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.773, allocations: 0 / 1.131 GB, free: 29.34 MB / 0.7292 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)