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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001017/0.001017, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00103/0.00103, allocations: 191.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9749/0.9749, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1842, allocations: 82.05 MB / 0.5939 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001848/0.1861, allocations: 0.6455 MB / 0.5946 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002689/0.1864, allocations: 51.86 kB / 0.5946 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1864, allocations: 4 kB / 0.5946 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.148e-05/0.1865, allocations: 0 / 0.5946 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1865, allocations: 0 / 0.5946 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1868, allocations: 19.91 kB / 0.5946 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.1869, allocations: 27.98 kB / 0.5947 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.009e-05/0.187, allocations: 7.984 kB / 0.5947 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.187, allocations: 8 kB / 0.5947 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.163e-05/0.187, allocations: 23.91 kB / 0.5947 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.187, allocations: 0 / 0.5947 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.108e-05/0.1871, allocations: 8 kB / 0.5947 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.1872, allocations: 15.98 kB / 0.5947 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1872, allocations: 15.92 kB / 0.5947 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.805e-05/0.1873, allocations: 31.89 kB / 0.5948 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1873, allocations: 4 kB / 0.5948 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1873, allocations: 0 / 0.5948 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1873, allocations: 0 / 0.5948 GB, free: 8.98 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.0003435/0.1877, allocations: 335.6 kB / 0.5951 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1877, allocations: 8.031 kB / 0.5951 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.1878, allocations: 38.75 kB / 0.5951 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1878, allocations: 4.844 kB / 0.5951 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1879, allocations: 180.5 kB / 0.5953 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1879, allocations: 384 / 0.5953 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1879, allocations: 8.375 kB / 0.5953 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1881, allocations: 66.22 kB / 0.5954 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1881, allocations: 3.938 kB / 0.5954 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1881, allocations: 0 / 0.5954 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1881, allocations: 4 kB / 0.5954 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1883, allocations: 99.86 kB / 0.5955 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.1885, allocations: 169.7 kB / 0.5956 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1886, allocations: 82.47 kB / 0.5957 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.1886, allocations: 28.84 kB / 0.5958 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.189, allocations: 401.5 kB / 0.5961 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.189, allocations: 38.89 kB / 0.5962 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.189, allocations: 0 / 0.5962 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002371/0.1893, allocations: 117.4 kB / 0.5963 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1893, allocations: 51.41 kB / 0.5963 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.105e-05/0.1894, allocations: 101.8 kB / 0.5964 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1894, allocations: 29.64 kB / 0.5965 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.1894, allocations: 84.14 kB / 0.5965 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1895, allocations: 27.64 kB / 0.5966 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1895, allocations: 29.7 kB / 0.5966 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1896, allocations: 314.8 kB / 0.5969 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.1897, allocations: 19.98 kB / 0.5969 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.1897, allocations: 23.92 kB / 0.5969 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1898, allocations: 65.48 kB / 0.597 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1898, allocations: 0 / 0.597 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001238/0.1899, allocations: 89.61 kB / 0.5971 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.19, allocations: 7.938 kB / 0.5971 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.19, allocations: 3.984 kB / 0.5971 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.19, allocations: 3.938 kB / 0.5971 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1901, allocations: 19.94 kB / 0.5971 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1901, allocations: 0 / 0.5971 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.1901, allocations: 11.91 kB / 0.5971 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1901, allocations: 7.984 kB / 0.5971 GB, free: 6.227 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.1903, allocations: 121.8 kB / 0.5973 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1903, allocations: 7.938 kB / 0.5973 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.1905, allocations: 129.4 kB / 0.5974 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1905, allocations: 0 / 0.5974 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1905, allocations: 0 / 0.5974 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1905, allocations: 3.984 kB / 0.5974 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1907, allocations: 173.7 kB / 0.5976 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1907, allocations: 3.984 kB / 0.5976 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.1907, allocations: 16 kB / 0.5976 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1907, allocations: 3.938 kB / 0.5976 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1908, allocations: 4 kB / 0.5976 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.1908, allocations: 3.984 kB / 0.5976 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1908, allocations: 3.938 kB / 0.5976 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1909, allocations: 117 kB / 0.5977 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.191, allocations: 92.89 kB / 0.5978 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.191, allocations: 7.984 kB / 0.5978 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.191, allocations: 4 kB / 0.5978 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.191, allocations: 4 kB / 0.5978 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1911, allocations: 7.984 kB / 0.5978 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.1911, allocations: 79.22 kB / 0.5979 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1911, allocations: 0 / 0.5979 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000184/0.1913, allocations: 12 kB / 0.5979 GB, free: 5.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004874/0.1918, allocations: 0.6748 MB / 0.5986 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1919, allocations: 71.95 kB / 0.5986 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1919, allocations: 0 / 0.5986 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.192, allocations: 40.52 kB / 0.5987 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1921, allocations: 4 kB / 0.5987 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.1925, allocations: 194.5 kB / 0.5989 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1928, allocations: 0.6807 MB / 0.5995 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.028e-05/0.1928, allocations: 35.94 kB / 0.5995 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1929, allocations: 17.56 kB / 0.5996 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.1929, allocations: 0 / 0.5996 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2218/0.4147, allocations: 1.493 MB / 0.601 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/0.415, allocations: 220.3 kB / 0.6012 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.181, allocations: 3.75 kB / 0.6012 GB, free: 1.949 MB / 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/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)