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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 105.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 196.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/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.905/0.905, allocations: 145.2 MB / 447.9 MB, free: 6.34 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 69.25 kB / 0.62 GB, free: 1.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1767, allocations: 86.63 MB / 0.7046 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002906/0.1796, allocations: 1.542 MB / 0.7061 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.18, allocations: 136.4 kB / 0.7062 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.1801, allocations: 0 / 0.7062 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.1801, allocations: 7.922 kB / 0.7062 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.1802, allocations: 3.938 kB / 0.7062 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1805, allocations: 27.97 kB / 0.7062 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.006e-05/0.1806, allocations: 47.84 kB / 0.7063 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1807, allocations: 8 kB / 0.7063 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.1807, allocations: 11.98 kB / 0.7063 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.1808, allocations: 23.91 kB / 0.7063 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1808, allocations: 4 kB / 0.7063 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.255e-05/0.1809, allocations: 23.92 kB / 0.7064 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.1809, allocations: 11.92 kB / 0.7064 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.1809, allocations: 15.94 kB / 0.7064 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1811, allocations: 51.95 kB / 0.7064 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1811, allocations: 0 / 0.7064 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.875e-06/0.1811, allocations: 8 kB / 0.7064 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1811, allocations: 0 / 0.7064 GB, free: 8.75 MB / 0.5294 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.0006737/0.1818, allocations: 347.4 kB / 0.7068 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.1818, allocations: 8.031 kB / 0.7068 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.1819, allocations: 34.75 kB / 0.7068 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1819, allocations: 4.891 kB / 0.7068 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1821, allocations: 172.3 kB / 0.707 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.1821, allocations: 4.375 kB / 0.707 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1822, allocations: 8.375 kB / 0.707 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.1824, allocations: 66.22 kB / 0.7071 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1824, allocations: 3.938 kB / 0.7071 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1824, allocations: 3.938 kB / 0.7071 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1824, allocations: 4 kB / 0.7071 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1826, allocations: 43.95 kB / 0.7071 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.1832, allocations: 280.8 kB / 0.7074 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.1835, allocations: 62.47 kB / 0.7074 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1836, allocations: 24.91 kB / 0.7075 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004148/0.1841, allocations: 401.5 kB / 0.7079 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.1841, allocations: 34.56 kB / 0.7079 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1841, allocations: 4 kB / 0.7079 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004057/0.1845, allocations: 93.59 kB / 0.708 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1846, allocations: 51.41 kB / 0.708 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1847, allocations: 109.8 kB / 0.7081 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1847, allocations: 25.7 kB / 0.7082 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.1848, allocations: 92.06 kB / 0.7082 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1848, allocations: 3.953 kB / 0.7082 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1849, allocations: 21.72 kB / 0.7083 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.185, allocations: 326.7 kB / 0.7086 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.1851, allocations: 15.98 kB / 0.7086 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.1852, allocations: 19.98 kB / 0.7086 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1854, allocations: 48.81 kB / 0.7087 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1854, allocations: 4 kB / 0.7087 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002129/0.1856, allocations: 65.66 kB / 0.7087 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1856, allocations: 14.48 kB / 0.7087 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1856, allocations: 0 / 0.7087 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1856, allocations: 0 / 0.7087 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1857, allocations: 11.94 kB / 0.7088 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1857, allocations: 3.984 kB / 0.7088 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1858, allocations: 19.83 kB / 0.7088 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1858, allocations: 4 kB / 0.7088 GB, free: 6.035 MB / 0.5294 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 9.773e-05/0.1859, allocations: 113.8 kB / 0.7089 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1859, allocations: 3.984 kB / 0.7089 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1862, allocations: 85.86 kB / 0.709 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1862, allocations: 0 / 0.709 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1862, allocations: 0 / 0.709 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1862, allocations: 0 / 0.709 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1864, allocations: 169.6 kB / 0.7091 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1864, allocations: 0 / 0.7091 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.1865, allocations: 15.92 kB / 0.7091 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1865, allocations: 0 / 0.7091 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1865, allocations: 8 kB / 0.7092 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1865, allocations: 3.984 kB / 0.7092 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1865, allocations: 0 / 0.7092 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1868, allocations: 179.8 kB / 0.7093 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1868, allocations: 77.11 kB / 0.7094 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1868, allocations: 4 kB / 0.7094 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.1869, allocations: 7.984 kB / 0.7094 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.187, allocations: 12.03 kB / 0.7094 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.187, allocations: 0 / 0.7094 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.891e-05/0.187, allocations: 91.27 kB / 0.7095 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.187, allocations: 0 / 0.7095 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002417/0.1873, allocations: 8 kB / 0.7095 GB, free: 5.168 MB / 0.5294 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.000712/0.188, allocations: 0.724 MB / 0.7102 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1882, allocations: 39.95 kB / 0.7103 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1882, allocations: 4 kB / 0.7103 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1883, allocations: 31.91 kB / 0.7103 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1887, allocations: 4 kB / 0.7103 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1904, allocations: 1.28 MB / 0.7116 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1908, allocations: 0.6846 MB / 0.7122 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.1908, allocations: 7.859 kB / 0.7122 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.1909, allocations: 15.44 kB / 0.7122 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.1909, allocations: 0 / 0.7122 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.2154, allocations: 1.72 MB / 0.7139 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.055, allocations: 8.047 kB / 0.7139 GB, free: 0.6211 MB / 0.5294 GB " [Timeout remaining time 652] (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 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.564801336731762] Failed to read output from testmodel.py, exit status != 0: 8.124307555612177 8.146734771 7.962720186 Calling exit ...