Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009836/0.0009836, allocations: 100.2 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.0009258/0.0009259, 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 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.996/0.996, allocations: 143.3 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003677, allocations: 12 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1799, allocations: 83.42 MB / 0.5974 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001701/0.1816, allocations: 1.239 MB / 0.5986 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000347/0.182, allocations: 132.4 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.1821, allocations: 4 kB / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1821, allocations: 0 / 0.5987 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.1821, allocations: 3.984 kB / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1824, allocations: 19.98 kB / 0.5987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.1824, allocations: 19.91 kB / 0.5987 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.1826, allocations: 23.92 kB / 0.5988 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.1826, allocations: 4 kB / 0.5988 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.1826, allocations: 19.91 kB / 0.5988 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1827, allocations: 0 / 0.5988 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.1827, allocations: 15.98 kB / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1828, allocations: 7.938 kB / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1828, allocations: 29.7 kB / 0.5988 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.384e-05/0.1829, allocations: 27.88 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1829, allocations: 4 kB / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1829, allocations: 0 / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1829, allocations: 0 / 0.5989 GB, free: 6.133 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005691/0.1835, allocations: 351.5 kB / 0.5992 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1835, allocations: 8.031 kB / 0.5992 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1836, allocations: 38.56 kB / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.1836, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.1838, allocations: 182.9 kB / 0.5994 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1839, allocations: 0 / 0.5994 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1839, allocations: 4 kB / 0.5994 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1841, allocations: 65.61 kB / 0.5995 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1841, allocations: 0 / 0.5995 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1841, allocations: 0 / 0.5995 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1841, allocations: 7.984 kB / 0.5995 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.1844, allocations: 51.97 kB / 0.5995 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.1848, allocations: 280.8 kB / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1851, allocations: 70.47 kB / 0.5999 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.1855, allocations: 401.7 kB / 0.6003 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1855, allocations: 30.56 kB / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.627e-06/0.1855, allocations: 3.984 kB / 0.6003 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004314/0.1859, allocations: 121.4 kB / 0.6004 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.186, allocations: 51.41 kB / 0.6005 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1861, allocations: 109.8 kB / 0.6006 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1862, allocations: 25.7 kB / 0.6006 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1862, allocations: 92.14 kB / 0.6007 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1863, allocations: 3.906 kB / 0.6007 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1863, allocations: 0 / 0.6007 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1864, allocations: 318.8 kB / 0.601 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.1865, allocations: 23.92 kB / 0.601 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.1866, allocations: 27.98 kB / 0.601 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.1867, allocations: 27.97 kB / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1867, allocations: 0 / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002238/0.187, allocations: 89.66 kB / 0.6011 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.187, allocations: 4 kB / 0.6011 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.187, allocations: 7.875 kB / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.187, allocations: 0 / 0.6012 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.1871, allocations: 15.98 kB / 0.6012 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1871, allocations: 3.953 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.1872, allocations: 11.89 kB / 0.6012 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1872, allocations: 8 kB / 0.6012 GB, free: 3.43 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: 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 9.76e-05/0.1873, allocations: 108.2 kB / 0.6013 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1874, allocations: 4 kB / 0.6013 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1876, allocations: 93.55 kB / 0.6014 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1877, allocations: 4 kB / 0.6014 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1877, allocations: 0 / 0.6014 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.1877, allocations: 3.953 kB / 0.6014 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1879, allocations: 173.7 kB / 0.6016 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1879, allocations: 4 kB / 0.6016 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.188, allocations: 15.92 kB / 0.6016 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.188, allocations: 4 kB / 0.6016 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.188, allocations: 0 / 0.6016 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.188, allocations: 0 / 0.6016 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.188, allocations: 4 kB / 0.6016 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1883, allocations: 179.4 kB / 0.6018 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.1883, allocations: 85.09 kB / 0.6018 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1884, allocations: 4 kB / 0.6018 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1884, allocations: 8 kB / 0.6019 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.1885, allocations: 7.984 kB / 0.6019 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1885, allocations: 4.422 kB / 0.6019 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.1886, allocations: 91.56 kB / 0.602 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1886, allocations: 0 / 0.602 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002381/0.1888, allocations: 8 kB / 0.602 GB, free: 2.539 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: 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.000761/0.1896, allocations: 0.7318 MB / 0.6027 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1899, allocations: 59.89 kB / 0.6027 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1899, allocations: 0 / 0.6027 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.19, allocations: 35.91 kB / 0.6028 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1903, allocations: 10.03 kB / 0.6028 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1914, allocations: 454.3 kB / 0.6032 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1917, allocations: 0.6809 MB / 0.6039 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.1918, allocations: 4 kB / 0.6039 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1918, allocations: 19.42 kB / 0.6039 GB, free: 472 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1918, allocations: 4 kB / 0.6039 GB, free: 468 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2935/0.4853, allocations: 1.371 MB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.4855, allocations: 190.1 kB / 0.6054 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.136, allocations: 0 / 0.6054 GB, free: 40.44 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: