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.001298/0.001298, allocations: 119 kB / 19.69 MB, free: 2.199 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.001406/0.001406, allocations: 223.4 kB / 23.01 MB, free: 5.047 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9546/0.9546, allocations: 150 MB / 463.2 MB, free: 10.47 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.002081/0.002081, allocations: 66.41 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1755, allocations: 89.18 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001789/0.1773, allocations: 0.5955 MB / 0.729 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000296/0.1776, allocations: 71.75 kB / 0.729 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.1776, allocations: 3.938 kB / 0.729 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.1776, allocations: 4 kB / 0.7291 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-06/0.1776, allocations: 0 / 0.7291 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1779, allocations: 19.92 kB / 0.7291 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.1779, allocations: 11.94 kB / 0.7291 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.178, allocations: 7.984 kB / 0.7291 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.178, allocations: 7.984 kB / 0.7291 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.178, allocations: 4 kB / 0.7291 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.178, allocations: 0 / 0.7291 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.1781, allocations: 15.98 kB / 0.7291 GB, free: 500 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1781, allocations: 7.922 kB / 0.7291 GB, free: 492 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.1782, allocations: 8 kB / 0.7291 GB, free: 484 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.1782, allocations: 20.19 kB / 0.7292 GB, free: 464 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1782, allocations: 0 / 0.7292 GB, free: 464 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1782, allocations: 0 / 0.7292 GB, free: 464 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1782, allocations: 0 / 0.7292 GB, free: 464 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.000373/0.1786, allocations: 254.3 kB / 0.7294 GB, free: 176 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1787, allocations: 8.031 kB / 0.7294 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.1787, allocations: 34.73 kB / 0.7294 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1787, allocations: 8.875 kB / 0.7294 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.1788, allocations: 110.5 kB / 0.7295 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1788, allocations: 4.359 kB / 0.7296 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1788, allocations: 4.375 kB / 0.7296 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.179, allocations: 66.55 kB / 0.7296 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.179, allocations: 7.875 kB / 0.7296 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.179, allocations: 0 / 0.7296 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.179, allocations: 0 / 0.7296 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.179, allocations: 23.92 kB / 0.7296 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.1792, allocations: 152.2 kB / 0.7298 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1793, allocations: 93.14 kB / 0.7299 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.1794, allocations: 32.36 kB / 0.7299 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.1795, allocations: 7.984 kB / 0.7299 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1796, allocations: 42.56 kB / 0.73 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1796, allocations: 0 / 0.73 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002014/0.1798, allocations: 81.42 kB / 0.73 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.1799, allocations: 154.2 kB / 0.7302 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.431e-05/0.1799, allocations: 90.48 kB / 0.7303 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1799, allocations: 29.7 kB / 0.7303 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.18, allocations: 88.12 kB / 0.7304 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.18, allocations: 15.84 kB / 0.7304 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.18, allocations: 21.7 kB / 0.7304 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1802, allocations: 322.8 kB / 0.7307 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.1802, allocations: 3.938 kB / 0.7307 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.1802, allocations: 36.28 kB / 0.7308 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.1803, allocations: 56.17 kB / 0.7308 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1803, allocations: 128 / 0.7308 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000111/0.1804, allocations: 73.59 kB / 0.7309 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1804, allocations: 4 kB / 0.7309 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1804, allocations: 7.938 kB / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1804, allocations: 0 / 0.7309 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1805, allocations: 11.94 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1805, allocations: 4 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.1806, allocations: 0 / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1806, allocations: 7.984 kB / 0.7309 GB, free: 14.31 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 7.809e-05/0.1806, allocations: 111.9 kB / 0.731 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.1807, allocations: 8 kB / 0.731 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.1809, allocations: 100.5 kB / 0.7311 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1809, allocations: 4 kB / 0.7311 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1809, allocations: 0 / 0.7311 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1809, allocations: 4.156 kB / 0.7311 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.181, allocations: 136.7 kB / 0.7313 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.181, allocations: 0 / 0.7313 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.1811, allocations: 19.92 kB / 0.7313 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1811, allocations: 4 kB / 0.7313 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1811, allocations: 7.938 kB / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1811, allocations: 4 kB / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1811, allocations: 0 / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1812, allocations: 116.5 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.1812, allocations: 19.92 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1813, allocations: 7.938 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.1813, allocations: 0 / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.1813, allocations: 11.92 kB / 0.7315 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.1813, allocations: 12 kB / 0.7315 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.1814, allocations: 75.28 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1814, allocations: 0 / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002087/0.1816, allocations: 4 kB / 0.7315 GB, free: 13.59 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.000499/0.1821, allocations: 0.678 MB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.1822, allocations: 31.92 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1822, allocations: 4 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.1822, allocations: 28.42 kB / 0.7323 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.1824, allocations: 12.06 kB / 0.7323 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1828, allocations: 174 kB / 0.7324 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1832, allocations: 0.6767 MB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.1832, allocations: 15.98 kB / 0.7331 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.1832, allocations: 15.44 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1832, allocations: 0 / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.21, allocations: 1.561 MB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.21, allocations: 9 kB / 0.7347 GB, free: 10.4 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.988601342000038] Failed to read output from testmodel.py, exit status != 0: 11.314258244001394 11.330977301999999 11.149647095 Calling exit ...