Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.001177/0.001177, allocations: 99.31 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.001437/0.001437, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9908/0.9908, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004037, allocations: 12 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1853, allocations: 83.41 MB / 0.5974 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000717/0.186, allocations: 311 kB / 0.5977 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000235/0.1863, allocations: 55.89 kB / 0.5977 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1863, allocations: 0 / 0.5977 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.1864, allocations: 0 / 0.5977 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.1864, allocations: 0 / 0.5977 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1866, allocations: 19.86 kB / 0.5977 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.1867, allocations: 23.97 kB / 0.5978 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.1868, allocations: 0 / 0.5978 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.1868, allocations: 8 kB / 0.5978 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.1868, allocations: 15.97 kB / 0.5978 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1869, allocations: 4 kB / 0.5978 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.506e-05/0.1869, allocations: 15.98 kB / 0.5978 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.187, allocations: 8 kB / 0.5978 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.187, allocations: 29.64 kB / 0.5978 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.4e-05/0.1871, allocations: 23.95 kB / 0.5979 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1871, allocations: 0 / 0.5979 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1871, allocations: 4 kB / 0.5979 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1871, allocations: 0 / 0.5979 GB, free: 7.184 MB / 0.4981 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.0003207/0.1875, allocations: 323.4 kB / 0.5982 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1875, allocations: 8.031 kB / 0.5982 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.1875, allocations: 34.56 kB / 0.5982 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.1876, allocations: 11.91 kB / 0.5982 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1877, allocations: 171.2 kB / 0.5984 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1877, allocations: 8 kB / 0.5984 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1877, allocations: 4 kB / 0.5984 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1879, allocations: 61.61 kB / 0.5985 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1879, allocations: 3.938 kB / 0.5985 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1879, allocations: 0 / 0.5985 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1879, allocations: 0 / 0.5985 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1881, allocations: 103.9 kB / 0.5986 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1882, allocations: 177.6 kB / 0.5987 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1884, allocations: 70.55 kB / 0.5988 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.1887, allocations: 405.5 kB / 0.5992 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1887, allocations: 30.56 kB / 0.5992 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/0.1887, allocations: 0 / 0.5992 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002403/0.189, allocations: 121.8 kB / 0.5993 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.189, allocations: 55.34 kB / 0.5994 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.1891, allocations: 97.86 kB / 0.5995 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1891, allocations: 29.7 kB / 0.5995 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.1891, allocations: 80.33 kB / 0.5996 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1892, allocations: 23.66 kB / 0.5996 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1892, allocations: 4 kB / 0.5996 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1893, allocations: 322.8 kB / 0.5999 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.542e-05/0.1893, allocations: 19.98 kB / 0.5999 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.1894, allocations: 20.42 kB / 0.6 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.1894, allocations: 32.14 kB / 0.6 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1894, allocations: 4 kB / 0.6 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001262/0.1896, allocations: 93.55 kB / 0.6001 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1896, allocations: 4 kB / 0.6001 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1896, allocations: 0 / 0.6001 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1896, allocations: 0 / 0.6001 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1897, allocations: 19.98 kB / 0.6001 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1897, allocations: 0 / 0.6001 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.1898, allocations: 11.91 kB / 0.6001 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1898, allocations: 0 / 0.6001 GB, free: 4.562 MB / 0.4981 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 () * Number of clocked 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 0.0001359/0.1899, allocations: 133.7 kB / 0.6002 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.1899, allocations: 7.984 kB / 0.6002 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.1902, allocations: 125.6 kB / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1902, allocations: 0 / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1902, allocations: 0 / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1902, allocations: 0 / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1903, allocations: 185.6 kB / 0.6005 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1903, allocations: 0 / 0.6005 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.1904, allocations: 27.92 kB / 0.6006 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1904, allocations: 0 / 0.6006 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1904, allocations: 4 kB / 0.6006 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1904, allocations: 0 / 0.6006 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1904, allocations: 0 / 0.6006 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.1906, allocations: 125.3 kB / 0.6007 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.1906, allocations: 85 kB / 0.6008 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1907, allocations: 0 / 0.6008 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.1907, allocations: 12 kB / 0.6008 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1907, allocations: 7.984 kB / 0.6008 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1907, allocations: 0 / 0.6008 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.604e-05/0.1908, allocations: 75.28 kB / 0.6009 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1908, allocations: 0 / 0.6009 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002121/0.191, allocations: 16 kB / 0.6009 GB, free: 3.668 MB / 0.4981 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 () * Number of clocked 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.0004847/0.1915, allocations: 0.6819 MB / 0.6015 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1916, allocations: 60.28 kB / 0.6016 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1916, allocations: 4 kB / 0.6016 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.1917, allocations: 28.2 kB / 0.6016 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.745e-05/0.1918, allocations: 12.16 kB / 0.6016 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.1922, allocations: 184.3 kB / 0.6018 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1924, allocations: 0.6848 MB / 0.6025 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.887e-05/0.1925, allocations: 39.92 kB / 0.6025 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1925, allocations: 19.44 kB / 0.6025 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1925, allocations: 0 / 0.6025 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.2046, allocations: 1.344 MB / 0.6039 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.2049, allocations: 202.9 kB / 0.604 GB, free: 472 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.82, allocations: 0 / 0.604 GB, free: 472 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: