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.001308/0.001308, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001482/0.001482, allocations: 211.1 kB / 22.99 MB, free: 4.609 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 0.9875/0.9875, allocations: 149.9 MB / 463 MB, free: 10.38 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.002118/0.002118, allocations: 67.98 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1815, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002897/0.1844, allocations: 1.535 MB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.1848, allocations: 143.5 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.1849, allocations: 4 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.1849, allocations: 3.938 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.185, allocations: 0 / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1853, allocations: 31.89 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.1853, allocations: 35.92 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.1854, allocations: 11.98 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.1855, allocations: 11.94 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.1855, allocations: 23.92 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1855, allocations: 3.984 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.1856, allocations: 23.97 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1856, allocations: 8 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.1856, allocations: 11.94 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1858, allocations: 52.02 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1858, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1858, allocations: 0 / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1858, allocations: 0 / 0.73 GB, free: 15.12 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.0004857/0.1863, allocations: 274.2 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1863, allocations: 16.03 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.1863, allocations: 34.73 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1864, allocations: 8.891 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1865, allocations: 110.5 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1865, allocations: 4.375 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1865, allocations: 384 / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1867, allocations: 70.2 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1867, allocations: 3.938 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1867, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1867, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1869, allocations: 51.89 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.1873, allocations: 247.9 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.1877, allocations: 58.59 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.1878, allocations: 16.84 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.1879, allocations: 31.91 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.188, allocations: 34.56 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.188, allocations: 4 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000405/0.1884, allocations: 97.62 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1884, allocations: 51.41 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.1885, allocations: 109.8 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1885, allocations: 29.64 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.1886, allocations: 88.14 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.1886, allocations: 3.953 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.1886, allocations: 21.7 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1888, allocations: 322.7 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.1889, allocations: 19.98 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.189, allocations: 27.91 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1892, allocations: 44.81 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1892, allocations: 4 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002153/0.1894, allocations: 65.66 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1894, allocations: 12 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1894, allocations: 0 / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1894, allocations: 0 / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.1895, allocations: 11.98 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1895, allocations: 0 / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.1896, allocations: 15.92 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1896, allocations: 0 / 0.7318 GB, free: 13.07 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.517e-05/0.1897, allocations: 117.7 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1897, allocations: 3.953 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.19, allocations: 89.64 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.19, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.19, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.19, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1902, allocations: 132.7 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1902, allocations: 0 / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.1902, allocations: 11.98 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1902, allocations: 4 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1902, allocations: 3.984 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1902, allocations: 4 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1902, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.1905, allocations: 179.7 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.1905, allocations: 4 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1906, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-05/0.1906, allocations: 7.984 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.1907, allocations: 15.95 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1907, allocations: 8 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.1908, allocations: 83.27 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1908, allocations: 4 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002337/0.191, allocations: 12 kB / 0.7325 GB, free: 12.32 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.0006607/0.1917, allocations: 0.7045 MB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1919, allocations: 47.95 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1919, allocations: 0 / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.192, allocations: 23.98 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1923, allocations: 14.11 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.194, allocations: 1.29 MB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.983e-05/0.1941, allocations: 63.34 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.1941, allocations: 8 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.1942, allocations: 15.42 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1942, allocations: 0 / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.2222, allocations: 2.252 MB / 0.7368 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.38, allocations: 6.328 kB / 0.7368 GB, free: 7.918 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 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.068632685113698] Failed to read output from testmodel.py, exit status != 0: 11.48712390428409 11.511185045 11.321070875 Calling exit ...