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.694/1.694, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001371/0.00137, allocations: 189.7 kB / 371.8 MB, free: 10.32 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.007/2.007, allocations: 205.4 MB / 0.6305 GB, free: 10.07 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 101 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 12.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8112/1.119, allocations: 138.4 MB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.12, allocations: 76.38 kB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0036/1.123, allocations: 1.046 MB / 1.116 GB, free: 32.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/1.123, allocations: 0 / 1.116 GB, free: 32.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.123, allocations: 0 / 1.116 GB, free: 32.15 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.000423/1.124, allocations: 371.7 kB / 1.116 GB, free: 31.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.124, allocations: 11.67 kB / 1.116 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/1.124, allocations: 34.5 kB / 1.116 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/1.124, allocations: 3.875 kB / 1.116 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.124, allocations: 166.9 kB / 1.116 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/1.124, allocations: 7.312 kB / 1.116 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/1.124, allocations: 0 / 1.116 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/1.124, allocations: 69.05 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/1.124, allocations: 0 / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.124, allocations: 0 / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.124, allocations: 0 / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/1.125, allocations: 65.36 kB / 1.116 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/1.125, allocations: 289.3 kB / 1.117 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/1.125, allocations: 62.36 kB / 1.117 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/1.126, allocations: 402.3 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/1.126, allocations: 41.66 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/1.126, allocations: 3.938 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003921/1.126, allocations: 111.8 kB / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.126, allocations: 51.41 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/1.126, allocations: 100.5 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/1.126, allocations: 29.64 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/1.126, allocations: 86.92 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/1.126, allocations: 7.094 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/1.126, allocations: 0 / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.126, allocations: 325 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/1.126, allocations: 24.78 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/1.127, allocations: 23.39 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/1.127, allocations: 32.75 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.127, allocations: 0 / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002098/1.127, allocations: 81.36 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.127, allocations: 7.812 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.127, allocations: 0 / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.127, allocations: 4 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/1.127, allocations: 13.61 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.127, allocations: 3.906 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/1.127, allocations: 7.047 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/1.127, allocations: 3.594 kB / 1.118 GB, free: 29.99 MB / 0.698 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 () * Number of clocked 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 8.273e-05/1.127, allocations: 115.4 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/1.127, allocations: 11.81 kB / 1.118 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/1.127, allocations: 96.42 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/1.127, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.128, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.128, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/1.128, allocations: 176.2 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.128, allocations: 3.938 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/1.128, allocations: 14.59 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.128, allocations: 0 / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.128, allocations: 0 / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.128, allocations: 7.906 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.128, allocations: 0 / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/1.128, allocations: 186.4 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/1.128, allocations: 87.86 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/1.128, allocations: 0 / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.128, allocations: 14.45 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/1.128, allocations: 10.98 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/1.128, allocations: 3.906 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.161e-05/1.128, allocations: 85.81 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.128, allocations: 0 / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002245/1.129, allocations: 15.5 kB / 1.119 GB, free: 29.3 MB / 0.698 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 () * Number of clocked 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.0006484/1.129, allocations: 0.7259 MB / 1.12 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002364/1.13, allocations: 61.06 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.13, allocations: 0 / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/1.13, allocations: 30.8 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/1.13, allocations: 11.16 kB / 1.12 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/1.131, allocations: 463.6 kB / 1.12 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/1.131, allocations: 0.6823 MB / 1.121 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.443e-05/1.131, allocations: 7.094 kB / 1.121 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/1.131, allocations: 10.31 kB / 1.121 GB, free: 27.58 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/1.131, allocations: 0 / 1.121 GB, free: 27.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/1.144, allocations: 1.385 MB / 1.122 GB, free: 27.41 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000294/1.144, allocations: 184.1 kB / 1.122 GB, free: 27.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.616, allocations: 1.375 kB / 1.122 GB, free: 27.18 MB / 0.698 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)