Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001042/0.001042, allocations: 176.9 kB / 361.4 MB, free: 6.824 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.49/1.49, 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.0008087/0.0008087, allocations: 89.64 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.895e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6232, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.8144, allocations: 137.6 MB / 1.099 GB, free: 2.113 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.8146, allocations: 72.94 kB / 1.099 GB, free: 2.043 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003061/0.8177, allocations: 1.052 MB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8177, allocations: 3.938 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.8177, allocations: 4.594 kB / 1.1 GB, free: 1.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003779/0.8181, allocations: 340.5 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8182, allocations: 8.031 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.8182, allocations: 13.67 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.8183, allocations: 167 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8184, allocations: 4.594 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.8184, allocations: 5.344 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.094e-05/0.8185, allocations: 16.69 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.8186, allocations: 42.28 kB / 1.101 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8186, allocations: 3.938 kB / 1.101 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.8186, allocations: 4.562 kB / 1.101 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8186, allocations: 0.7188 kB / 1.101 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.8191, allocations: 259.2 kB / 1.101 GB, free: 48 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.8193, allocations: 44.16 kB / 1.101 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.8193, allocations: 8.922 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.8196, allocations: 402.1 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.8197, allocations: 36.8 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8197, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.8199, allocations: 50.28 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.8199, allocations: 52.41 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.82, allocations: 99.11 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.82, allocations: 27.36 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.8201, allocations: 92.05 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.8201, allocations: 4.594 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.8201, allocations: 0.625 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8202, allocations: 320.1 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.8202, allocations: 11.94 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.8202, allocations: 8 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.8203, allocations: 11.19 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8203, allocations: 0 / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.333e-05/0.8204, allocations: 58.34 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8204, allocations: 6.719 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8204, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8205, allocations: 4 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.8206, allocations: 12.52 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.8206, allocations: 1.062 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.8206, allocations: 14.2 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.8207, allocations: 0 / 1.102 GB, free: 14.67 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.438e-05/0.8207, allocations: 107.8 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001/0.8208, allocations: 49.69 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.8209, allocations: 3.906 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.821, allocations: 65.73 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.821, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.821, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.821, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.8212, allocations: 150.2 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8212, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.8213, allocations: 15.98 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.8213, allocations: 3.938 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.8213, allocations: 4 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8213, allocations: 6.625 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8214, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.8215, allocations: 143.4 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.8215, allocations: 85.02 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8216, allocations: 3.984 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.8217, allocations: 8 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.8217, allocations: 15.92 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.8217, allocations: 0 / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.8218, allocations: 83.28 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8218, allocations: 0 / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002477/0.822, allocations: 19.94 kB / 1.103 GB, free: 13.83 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.0004432/0.8225, allocations: 0.6966 MB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.8226, allocations: 23.92 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8226, allocations: 0 / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.8226, allocations: 12.33 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.8228, allocations: 2.109 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.8233, allocations: 107.9 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.8235, allocations: 0.6807 MB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.8236, allocations: 8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.8236, allocations: 15.42 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8236, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.842, allocations: 1.016 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.8422, allocations: 153.3 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.335, allocations: 0 / 1.105 GB, free: 11.03 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)