Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 220.2 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.04/1.04, allocations: 150 MB / 463.2 MB, free: 10.57 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 69.11 kB / 0.6413 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1817, allocations: 89.16 MB / 0.7284 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002844/0.1846, allocations: 1.565 MB / 0.7299 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.185, allocations: 143.5 kB / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.185, allocations: 0 / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.185, allocations: 3.938 kB / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.1851, allocations: 0 / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1854, allocations: 35.91 kB / 0.7301 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.572e-05/0.1854, allocations: 35.89 kB / 0.7301 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.1855, allocations: 8 kB / 0.7301 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.1855, allocations: 23.92 kB / 0.7301 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.1856, allocations: 15.92 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1856, allocations: 8 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.1857, allocations: 23.97 kB / 0.7302 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.1857, allocations: 7.984 kB / 0.7302 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.1857, allocations: 19.88 kB / 0.7302 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1859, allocations: 44.09 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1859, allocations: 0 / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1859, allocations: 3.938 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.1859, allocations: 0 / 0.7302 GB, free: 15.44 MB / 0.5606 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.0004704/0.1864, allocations: 278.3 kB / 0.7305 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1864, allocations: 12.03 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1864, allocations: 30.75 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.1865, allocations: 8.891 kB / 0.7306 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1866, allocations: 110.5 kB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1866, allocations: 4.375 kB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1866, allocations: 16.23 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1868, allocations: 58.23 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1868, allocations: 3.938 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1868, allocations: 0 / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1868, allocations: 7.984 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.187, allocations: 47.89 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1874, allocations: 255.8 kB / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1877, allocations: 54.61 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.1878, allocations: 32.77 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.188, allocations: 19.98 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.188, allocations: 30.56 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.188, allocations: 0 / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003868/0.1884, allocations: 93.62 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1884, allocations: 55.41 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.1885, allocations: 113.8 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1885, allocations: 29.7 kB / 0.7314 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.1886, allocations: 80.14 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1886, allocations: 11.95 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1886, allocations: 13.72 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1888, allocations: 322.8 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1889, allocations: 23.92 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.1889, allocations: 19.97 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1891, allocations: 44.83 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1891, allocations: 0 / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000217/0.1893, allocations: 77.64 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1893, allocations: 4 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1893, allocations: 4 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1894, allocations: 0 / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.1894, allocations: 11.98 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1894, allocations: 0 / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.1895, allocations: 15.88 kB / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1895, allocations: 4 kB / 0.732 GB, free: 13.38 MB / 0.5606 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.968e-05/0.1896, allocations: 113.8 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1896, allocations: 11.95 kB / 0.7322 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1899, allocations: 85.58 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1899, allocations: 0 / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1899, allocations: 4 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1899, allocations: 0 / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1901, allocations: 141 kB / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1901, allocations: 0 / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.1902, allocations: 11.98 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1902, allocations: 0 / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1902, allocations: 7.938 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1902, allocations: 0 / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1902, allocations: 3.938 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1905, allocations: 179.4 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.1905, allocations: 4 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1905, allocations: 0 / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.1906, allocations: 15.98 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.1906, allocations: 0 / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1906, allocations: 7.984 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.1907, allocations: 83.28 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1907, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002319/0.1909, allocations: 8 kB / 0.7327 GB, free: 12.64 MB / 0.5606 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.0006406/0.1916, allocations: 0.7162 MB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1918, allocations: 43.95 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1918, allocations: 0 / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.1919, allocations: 27.97 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.1922, allocations: 4 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1938, allocations: 1.294 MB / 0.7347 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1941, allocations: 0.6807 MB / 0.7354 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.1941, allocations: 4 kB / 0.7354 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.1942, allocations: 19.44 kB / 0.7354 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1942, allocations: 0 / 0.7354 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.2217, allocations: 1.826 MB / 0.7372 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 9.531 kB / 0.7372 GB, free: 8.027 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.32644653600073] Failed to read output from testmodel.py, exit status != 0: 11.445560199997999 11.47532604 11.283279507 Calling exit ...