Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 182.9 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 96.02 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 10.38 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.5128, allocations: 150.5 MB / 1.376 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.5131, allocations: 71.95 kB / 1.376 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003091/0.5162, allocations: 1.056 MB / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5162, allocations: 0 / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.5162, allocations: 0 / 1.377 GB, free: 1.914 MB / 0.8698 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.0004282/0.5166, allocations: 359.2 kB / 1.378 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.5167, allocations: 12.56 kB / 1.378 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.5168, allocations: 30.56 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.5168, allocations: 8 kB / 1.378 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5169, allocations: 174.9 kB / 1.378 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.517, allocations: 0 / 1.378 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.517, allocations: 8 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.5172, allocations: 73.59 kB / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5172, allocations: 0 / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5172, allocations: 4 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5172, allocations: 0 / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.5175, allocations: 51.95 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.5179, allocations: 288.7 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.5183, allocations: 66.47 kB / 1.378 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.5186, allocations: 401.7 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5186, allocations: 30.56 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.5186, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000447/0.5191, allocations: 121.5 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5192, allocations: 51.41 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.5193, allocations: 108.9 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.5193, allocations: 25.7 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.5194, allocations: 88.14 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.5194, allocations: 3.906 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5194, allocations: 3.938 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5195, allocations: 326.8 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.5196, allocations: 15.98 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.5197, allocations: 23.98 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.5198, allocations: 33.69 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5198, allocations: 0 / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002335/0.5201, allocations: 85.66 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5201, allocations: 4 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.5201, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5201, allocations: 0 / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.5202, allocations: 23.92 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5202, allocations: 3.953 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.5203, allocations: 11.92 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5203, allocations: 4 kB / 1.38 GB, free: 15.21 MB / 0.8855 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.577e-05/0.5204, allocations: 109.8 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.5205, allocations: 7.906 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.5208, allocations: 93.55 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5208, allocations: 384 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5208, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5208, allocations: 3.953 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.521, allocations: 169.6 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.521, allocations: 7.984 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.5211, allocations: 19.92 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5211, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.5211, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5211, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5211, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.5214, allocations: 183.5 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.5214, allocations: 88.94 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5214, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.5215, allocations: 16 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5216, allocations: 7.922 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.5216, allocations: 8 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.5216, allocations: 87.27 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5217, allocations: 0 / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002249/0.5219, allocations: 12 kB / 1.38 GB, free: 14.31 MB / 0.8855 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.0006159/0.5225, allocations: 0.7289 MB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.5228, allocations: 55.95 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5228, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.5229, allocations: 31.91 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5231, allocations: 11.92 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5242, allocations: 470.2 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5245, allocations: 0.6848 MB / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.5245, allocations: 3.984 kB / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.5246, allocations: 15.44 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5246, allocations: 0 / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.5385, allocations: 1.376 MB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.5388, allocations: 188.4 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.099, allocations: 1.125 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat does not exist to compare? outputFormat=mat