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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.006894/0.006894, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001977/0.001978, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9532/0.9532, allocations: 143.3 MB / 433.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.64 kB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.178, allocations: 82.04 MB / 0.6754 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.003555/0.1816, allocations: 1.543 MB / 0.6769 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.1821, allocations: 132.5 kB / 0.677 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.1821, allocations: 4 kB / 0.6771 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.1822, allocations: 11.88 kB / 0.6771 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.1823, allocations: 3.938 kB / 0.6771 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1826, allocations: 27.97 kB / 0.6771 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.1827, allocations: 43.89 kB / 0.6771 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1828, allocations: 11.94 kB / 0.6771 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.1828, allocations: 15.98 kB / 0.6772 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.1829, allocations: 15.92 kB / 0.6772 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1829, allocations: 4 kB / 0.6772 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.183, allocations: 19.98 kB / 0.6772 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.183, allocations: 15.92 kB / 0.6772 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.183, allocations: 19.92 kB / 0.6772 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1832, allocations: 44.05 kB / 0.6773 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1832, allocations: 0 / 0.6773 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1832, allocations: 0 / 0.6773 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1832, allocations: 0 / 0.6773 GB, free: 8.805 MB / 0.5137 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.0005031/0.1837, allocations: 359.3 kB / 0.6776 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1838, allocations: 12.03 kB / 0.6776 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.1838, allocations: 34.75 kB / 0.6777 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.1838, allocations: 4.891 kB / 0.6777 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.184, allocations: 168.3 kB / 0.6778 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.184, allocations: 4.359 kB / 0.6778 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1841, allocations: 8.375 kB / 0.6778 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1843, allocations: 62.17 kB / 0.6779 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1843, allocations: 3.938 kB / 0.6779 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1843, allocations: 0 / 0.6779 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1843, allocations: 4 kB / 0.6779 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.1845, allocations: 47.95 kB / 0.678 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.1849, allocations: 280.8 kB / 0.6782 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1853, allocations: 58.48 kB / 0.6783 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1854, allocations: 32.89 kB / 0.6783 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/0.1859, allocations: 397.5 kB / 0.6787 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1859, allocations: 30.56 kB / 0.6787 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1859, allocations: 0 / 0.6787 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004349/0.1864, allocations: 97.58 kB / 0.6788 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.1865, allocations: 55.41 kB / 0.6789 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1866, allocations: 113.8 kB / 0.679 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1866, allocations: 25.7 kB / 0.679 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.1867, allocations: 88.14 kB / 0.6791 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1867, allocations: 8.016 kB / 0.6791 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1867, allocations: 17.72 kB / 0.6791 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1869, allocations: 314.8 kB / 0.6794 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.464e-05/0.187, allocations: 23.97 kB / 0.6794 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.1871, allocations: 23.92 kB / 0.6794 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1873, allocations: 44.81 kB / 0.6795 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1873, allocations: 0 / 0.6795 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002253/0.1876, allocations: 77.97 kB / 0.6796 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1876, allocations: 4 kB / 0.6796 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1876, allocations: 7.875 kB / 0.6796 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1876, allocations: 4 kB / 0.6796 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.1877, allocations: 11.98 kB / 0.6796 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1877, allocations: 0 / 0.6796 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.1878, allocations: 11.94 kB / 0.6796 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1878, allocations: 8 kB / 0.6796 GB, free: 6.082 MB / 0.5137 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 (falFac.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.1879, allocations: 112.4 kB / 0.6797 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1879, allocations: 4 kB / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.1882, allocations: 89.48 kB / 0.6798 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1882, allocations: 4 kB / 0.6798 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1883, allocations: 0 / 0.6798 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1883, allocations: 3.984 kB / 0.6798 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.1885, allocations: 169.6 kB / 0.68 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1885, allocations: 0 / 0.68 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.1886, allocations: 15.92 kB / 0.68 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1886, allocations: 0 / 0.68 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1886, allocations: 0 / 0.68 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1886, allocations: 4 kB / 0.68 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1886, allocations: 0 / 0.68 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.1889, allocations: 175.4 kB / 0.6802 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.189, allocations: 85.09 kB / 0.6802 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.189, allocations: 0 / 0.6802 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1891, allocations: 4 kB / 0.6802 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.1892, allocations: 11.98 kB / 0.6803 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1892, allocations: 8 kB / 0.6803 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.152e-05/0.1893, allocations: 87.27 kB / 0.6804 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1893, allocations: 0 / 0.6804 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002325/0.1896, allocations: 8 kB / 0.6804 GB, free: 5.215 MB / 0.5137 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 (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.0008364/0.1904, allocations: 0.7201 MB / 0.6811 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1907, allocations: 43.95 kB / 0.6811 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1907, allocations: 0 / 0.6811 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1908, allocations: 27.91 kB / 0.6811 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1912, allocations: 8 kB / 0.6811 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1931, allocations: 1.288 MB / 0.6824 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1934, allocations: 0.6768 MB / 0.6831 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.1935, allocations: 7.859 kB / 0.6831 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.1935, allocations: 19.42 kB / 0.6831 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1936, allocations: 4 kB / 0.6831 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.2178, allocations: 1.703 MB / 0.6848 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.288, allocations: 8 kB / 0.6848 GB, free: 0.6758 MB / 0.5137 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/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)