Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.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.001345/0.001345, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.001485/0.001485, allocations: 214.9 kB / 22.99 MB, free: 4.867 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9903/0.9903, allocations: 149.9 MB / 463 MB, free: 10.3 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.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",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.002053/0.002053, allocations: 75.75 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1844, allocations: 89.17 MB / 0.7282 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001794/0.1862, allocations: 0.59 MB / 0.7288 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.1865, allocations: 59.8 kB / 0.7288 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.1865, allocations: 0 / 0.7288 GB, free: 292 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.1866, allocations: 0 / 0.7288 GB, free: 292 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.1866, allocations: 7.938 kB / 0.7288 GB, free: 284 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1868, allocations: 23.97 kB / 0.7289 GB, free: 260 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.1869, allocations: 8 kB / 0.7289 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1869, allocations: 0 / 0.7289 GB, free: 252 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.1869, allocations: 11.92 kB / 0.7289 GB, free: 240 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.187, allocations: 8 kB / 0.7289 GB, free: 232 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.187, allocations: 0 / 0.7289 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.1871, allocations: 15.97 kB / 0.7289 GB, free: 216 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1871, allocations: 0 / 0.7289 GB, free: 216 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.1871, allocations: 7.938 kB / 0.7289 GB, free: 208 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.898e-05/0.1872, allocations: 24.19 kB / 0.7289 GB, free: 184 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1872, allocations: 3.938 kB / 0.7289 GB, free: 180 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1872, allocations: 0 / 0.7289 GB, free: 180 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.1872, allocations: 0 / 0.7289 GB, free: 180 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003869/0.1876, allocations: 258.3 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1876, allocations: 8.031 kB / 0.7292 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1877, allocations: 30.75 kB / 0.7292 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1877, allocations: 4.938 kB / 0.7292 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.1878, allocations: 106.5 kB / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1878, allocations: 384 / 0.7293 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1878, allocations: 16.3 kB / 0.7293 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1879, allocations: 74.47 kB / 0.7294 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.188, allocations: 3.938 kB / 0.7294 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.188, allocations: 0 / 0.7294 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.188, allocations: 4 kB / 0.7294 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.188, allocations: 11.94 kB / 0.7294 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.1882, allocations: 156.2 kB / 0.7296 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1883, allocations: 92.95 kB / 0.7297 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.1884, allocations: 36.47 kB / 0.7297 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.1885, allocations: 12 kB / 0.7297 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1885, allocations: 38.5 kB / 0.7298 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1885, allocations: 0 / 0.7298 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001934/0.1887, allocations: 77.48 kB / 0.7298 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.1888, allocations: 154.2 kB / 0.73 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.1889, allocations: 89.86 kB / 0.7301 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1889, allocations: 29.7 kB / 0.7301 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.1889, allocations: 80.77 kB / 0.7302 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.189, allocations: 15.84 kB / 0.7302 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.189, allocations: 21.7 kB / 0.7302 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1892, allocations: 322.8 kB / 0.7305 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.1892, allocations: 7.938 kB / 0.7305 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.1892, allocations: 36.28 kB / 0.7306 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.1893, allocations: 44.23 kB / 0.7306 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1893, allocations: 4 kB / 0.7306 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.1894, allocations: 73.62 kB / 0.7307 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1894, allocations: 4 kB / 0.7307 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1894, allocations: 7.938 kB / 0.7307 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1894, allocations: 4 kB / 0.7307 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.1895, allocations: 8 kB / 0.7307 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1895, allocations: 0 / 0.7307 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.1896, allocations: 4 kB / 0.7307 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1896, allocations: 7.984 kB / 0.7307 GB, free: 14.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.624e-05/0.1897, allocations: 114 kB / 0.7308 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.1897, allocations: 7.938 kB / 0.7308 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.1899, allocations: 104.4 kB / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1899, allocations: 0 / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1899, allocations: 7.938 kB / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1899, allocations: 0 / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.19, allocations: 140.8 kB / 0.7311 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.19, allocations: 4 kB / 0.7311 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.1901, allocations: 16 kB / 0.7311 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1901, allocations: 0 / 0.7311 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1901, allocations: 7.938 kB / 0.7311 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1901, allocations: 3.984 kB / 0.7311 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1901, allocations: 4 kB / 0.7311 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.1903, allocations: 120.4 kB / 0.7312 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.1903, allocations: 7.938 kB / 0.7312 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1903, allocations: 11.94 kB / 0.7312 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.1904, allocations: 7.984 kB / 0.7312 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1904, allocations: 4 kB / 0.7312 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1904, allocations: 8 kB / 0.7313 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.1904, allocations: 75.28 kB / 0.7313 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1904, allocations: 0 / 0.7313 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002101/0.1906, allocations: 11.98 kB / 0.7313 GB, free: 13.31 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0004911/0.1911, allocations: 0.6586 MB / 0.732 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1912, allocations: 43.86 kB / 0.732 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1912, allocations: 0 / 0.732 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.1913, allocations: 15.94 kB / 0.732 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.1914, allocations: 8.188 kB / 0.732 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.1919, allocations: 181.8 kB / 0.7322 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.509e-05/0.1919, allocations: 67.28 kB / 0.7323 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.1919, allocations: 12.62 kB / 0.7323 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.192, allocations: 19.42 kB / 0.7323 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.192, allocations: 0 / 0.7323 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.22, allocations: 1.915 MB / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.41, allocations: 12.03 kB / 0.7342 GB, free: 10.41 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.330137288197875] Failed to read output from testmodel.py, exit status != 0: 11.511558590922505 11.538834143 11.346958730999999 Calling exit ...