Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.034/2.034, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.002139/0.002139, allocations: 180.2 kB / 377.1 MB, free: 1.531 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.946/1.946, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.001043/0.001042, allocations: 94.44 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003892, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3061, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7586/1.065, allocations: 139.4 MB / 1.125 GB, free: 35.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.065, allocations: 73.16 kB / 1.125 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002805/1.068, allocations: 1.047 MB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/1.068, allocations: 6.656 kB / 1.126 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.068, allocations: 0 / 1.126 GB, free: 34.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003501/1.068, allocations: 368.4 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.068, allocations: 12.02 kB / 1.126 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/1.068, allocations: 34.34 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/1.068, allocations: 6.062 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/1.068, allocations: 166.4 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/1.069, allocations: 5.328 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.069, allocations: 3.438 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/1.069, allocations: 72.88 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/1.069, allocations: 3.25 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/1.069, allocations: 0 / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.069, allocations: 1.547 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/1.069, allocations: 54.77 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/1.069, allocations: 282.6 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/1.07, allocations: 65.44 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/1.07, allocations: 404.9 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/1.07, allocations: 30.56 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/1.07, allocations: 0.5625 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003848/1.07, allocations: 115.7 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/1.07, allocations: 51.41 kB / 1.127 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/1.07, allocations: 105.2 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/1.07, allocations: 25.7 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/1.07, allocations: 88.08 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/1.07, allocations: 4.75 kB / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.07, allocations: 0 / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/1.071, allocations: 330.2 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/1.071, allocations: 27.45 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/1.071, allocations: 22.98 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/1.071, allocations: 27.36 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.071, allocations: 4 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001934/1.071, allocations: 83.3 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.071, allocations: 4 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.071, allocations: 0.5625 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.071, allocations: 4 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/1.071, allocations: 16.56 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.071, allocations: 0 / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/1.071, allocations: 12.22 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/1.071, allocations: 0 / 1.128 GB, free: 31.84 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: 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 6.314e-05/1.071, allocations: 117.3 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.071, allocations: 11.84 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/1.072, allocations: 96.92 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.072, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.072, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.072, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/1.072, allocations: 176.5 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.072, allocations: 4.5 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/1.072, allocations: 22.45 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.072, allocations: 0.9375 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/1.072, allocations: 0.625 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.072, allocations: 0 / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.072, allocations: 0 / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/1.072, allocations: 193.9 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/1.072, allocations: 81.02 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/1.072, allocations: 0.5 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/1.072, allocations: 11.47 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/1.072, allocations: 3.516 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/1.072, allocations: 8.625 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.623e-05/1.072, allocations: 88.33 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.072, allocations: 0 / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002101/1.073, allocations: 12 kB / 1.129 GB, free: 30.99 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: 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.000446/1.073, allocations: 0.7299 MB / 1.129 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002123/1.073, allocations: 58.22 kB / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.073, allocations: 0 / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/1.073, allocations: 31.22 kB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/1.074, allocations: 5.031 kB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/1.074, allocations: 466.9 kB / 1.13 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/1.074, allocations: 0.6878 MB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.873e-05/1.075, allocations: 4.625 kB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/1.075, allocations: 11.44 kB / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.075, allocations: 1.219 kB / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/1.087, allocations: 1.371 MB / 1.132 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/1.087, allocations: 174.1 kB / 1.132 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.705, allocations: 0 / 1.132 GB, free: 28.04 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)