Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001209/0.001209, allocations: 172.9 kB / 487.4 MB, free: 5.027 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.568/1.568, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008583, allocations: 91.91 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.142e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8347/1.098, allocations: 147.8 MB / 1.35 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.099, allocations: 74.08 kB / 1.35 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002349/1.101, allocations: 0.8252 MB / 1.351 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/1.101, allocations: 0.7812 kB / 1.351 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.729e-06/1.101, allocations: 0 / 1.351 GB, free: 33.93 MB / 0.8386 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.0002639/1.101, allocations: 331.8 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.101, allocations: 8.516 kB / 1.352 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/1.102, allocations: 11.94 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.748e-05/1.102, allocations: 176 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.102, allocations: 4.625 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/1.102, allocations: 0 / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001727/1.102, allocations: 96.14 kB / 1.352 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/1.102, allocations: 65.22 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.102, allocations: 0 / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/1.102, allocations: 0 / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.102, allocations: 0.7969 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/1.102, allocations: 145.8 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/1.102, allocations: 72.55 kB / 1.352 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/1.102, allocations: 23.67 kB / 1.352 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/1.102, allocations: 406.8 kB / 1.353 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/1.102, allocations: 36.7 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/1.102, allocations: 0 / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0003102/1.103, allocations: 87.44 kB / 1.353 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/1.103, allocations: 53.52 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/1.103, allocations: 91.09 kB / 1.353 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/1.103, allocations: 25.7 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/1.103, allocations: 80.33 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/1.103, allocations: 24.72 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-06/1.103, allocations: 9.219 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.103, allocations: 313.6 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/1.103, allocations: 15.53 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/1.103, allocations: 18.08 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/1.103, allocations: 27.61 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.103, allocations: 0 / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002306/1.104, allocations: 99.36 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.104, allocations: 5.031 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.104, allocations: 0 / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.104, allocations: 5.344 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/1.104, allocations: 18.02 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.104, allocations: 1.25 kB / 1.353 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/1.104, allocations: 9.125 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/1.104, allocations: 3.203 kB / 1.353 GB, free: 31.93 MB / 0.8386 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 () * 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 7.791e-05/1.104, allocations: 113.6 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002188/1.104, allocations: 86.89 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/1.104, allocations: 3.234 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/1.104, allocations: 131.1 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.104, allocations: 1.25 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.104, allocations: 0 / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.104, allocations: 5.828 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/1.105, allocations: 149.2 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.105, allocations: 2.156 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/1.105, allocations: 18.03 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.105, allocations: 5.234 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.105, allocations: 5.906 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.105, allocations: 1.859 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.105, allocations: 3.984 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/1.105, allocations: 121.2 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/1.105, allocations: 83.12 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.105, allocations: 6.094 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/1.105, allocations: 0 / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/1.105, allocations: 6.766 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/1.105, allocations: 8.891 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.385e-05/1.105, allocations: 80.09 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.105, allocations: 0 / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001974/1.105, allocations: 20.55 kB / 1.354 GB, free: 31.29 MB / 0.8386 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 () * 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.0006283/1.106, allocations: 0.6645 MB / 1.355 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001067/1.106, allocations: 58.3 kB / 1.355 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.106, allocations: 0 / 1.355 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/1.106, allocations: 29.5 kB / 1.355 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/1.106, allocations: 12.56 kB / 1.355 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/1.107, allocations: 122.8 kB / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/1.107, allocations: 0.6861 MB / 1.356 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.66e-05/1.107, allocations: 46.19 kB / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/1.107, allocations: 16.34 kB / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.107, allocations: 0 / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/1.127, allocations: 1.04 MB / 1.357 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.128, allocations: 151.8 kB / 1.357 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.592, allocations: 0.5 kB / 1.357 GB, free: 29.58 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat does not exist to compare? outputFormat=mat