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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002684/0.002685, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.581/2.581, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.371/4.371, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363/1.364, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003433/1.368, allocations: 1.235 MB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006357/1.368, allocations: 132.5 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/1.368, allocations: 0 / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/1.368, allocations: 0 / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.418e-05/1.368, allocations: 7.922 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/1.369, allocations: 23.97 kB / 0.9822 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000113/1.369, allocations: 19.98 kB / 0.9822 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/1.369, allocations: 11.92 kB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/1.369, allocations: 15.92 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/1.369, allocations: 23.84 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/1.369, allocations: 4 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/1.37, allocations: 8 kB / 0.9823 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/1.37, allocations: 7.984 kB / 0.9823 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/1.37, allocations: 29.7 kB / 0.9823 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/1.37, allocations: 27.94 kB / 0.9824 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.37, allocations: 0 / 0.9824 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.198e-06/1.37, allocations: 0 / 0.9824 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.37, allocations: 0 / 0.9824 GB, free: 4.723 MB / 0.7325 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.0008788/1.371, allocations: 353.6 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.59e-05/1.371, allocations: 12.03 kB / 0.9827 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.502e-05/1.371, allocations: 38.48 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/1.371, allocations: 7.906 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/1.371, allocations: 163 kB / 0.9829 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/1.371, allocations: 0 / 0.9829 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/1.371, allocations: 11.98 kB / 0.9829 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/1.372, allocations: 73.61 kB / 0.983 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.372, allocations: 0 / 0.983 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.372, allocations: 4 kB / 0.983 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.372, allocations: 0 / 0.983 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/1.372, allocations: 51.95 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/1.373, allocations: 284.7 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/1.373, allocations: 62.53 kB / 0.9834 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/1.374, allocations: 397.7 kB / 0.9838 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.374, allocations: 38.5 kB / 0.9838 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/1.374, allocations: 3.938 kB / 0.9838 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005798/1.374, allocations: 113.6 kB / 0.9839 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.374, allocations: 51.41 kB / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/1.375, allocations: 109.8 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/1.375, allocations: 25.7 kB / 0.9841 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/1.375, allocations: 88.22 kB / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/1.375, allocations: 11.88 kB / 0.9842 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/1.375, allocations: 0 / 0.9842 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.375, allocations: 318.8 kB / 0.9845 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/1.375, allocations: 23.98 kB / 0.9845 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.375, allocations: 27.97 kB / 0.9845 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/1.375, allocations: 23.92 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.375, allocations: 8 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003294/1.376, allocations: 89.52 kB / 0.9847 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/1.376, allocations: 7.984 kB / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.376, allocations: 0 / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.376, allocations: 0 / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/1.376, allocations: 19.94 kB / 0.9847 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.376, allocations: 3.984 kB / 0.9847 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/1.376, allocations: 7.938 kB / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.376, allocations: 4 kB / 0.9847 GB, free: 2.02 MB / 0.7325 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 (rea2Int.y,falFac.y) * 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 0.0001926/1.376, allocations: 109.8 kB / 0.9848 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/1.376, allocations: 11.94 kB / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/1.377, allocations: 97.48 kB / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.377, allocations: 0 / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.377, allocations: 0 / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.377, allocations: 384 / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/1.377, allocations: 169.6 kB / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.377, allocations: 0 / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/1.377, allocations: 23.98 kB / 0.9851 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.377, allocations: 3.953 kB / 0.9851 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.377, allocations: 0 / 0.9851 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.377, allocations: 0 / 0.9851 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.377, allocations: 3.984 kB / 0.9851 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/1.378, allocations: 191.4 kB / 0.9853 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/1.378, allocations: 77.11 kB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/1.378, allocations: 7.953 kB / 0.9854 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.378, allocations: 11.98 kB / 0.9854 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/1.378, allocations: 0 / 0.9854 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.378, allocations: 4 kB / 0.9854 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001224/1.379, allocations: 95.56 kB / 0.9855 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.379, allocations: 0 / 0.9855 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004915/1.379, allocations: 8 kB / 0.9855 GB, free: 1.117 MB / 0.7325 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 (rea2Int.y,falFac.y) * 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.001048/1.38, allocations: 0.7202 MB / 0.9862 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000371/1.381, allocations: 59.89 kB / 0.9862 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.381, allocations: 4 kB / 0.9862 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.381, allocations: 27.97 kB / 0.9863 GB, free: 284 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/1.381, allocations: 9.047 kB / 0.9863 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.383, allocations: 450.4 kB / 0.9867 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/1.383, allocations: 0.6848 MB / 0.9874 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.863e-05/1.383, allocations: 7.984 kB / 0.9874 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/1.383, allocations: 11.44 kB / 0.9874 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/1.383, allocations: 0 / 0.9874 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/1.401, allocations: 1.381 MB / 0.9887 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/1.402, allocations: 181.5 kB / 0.9889 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.255, allocations: 0 / 0.9889 GB, free: 13.56 MB / 0.7481 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) Environment - environmentSimulation: 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