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.001784/0.001784, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.002098/0.002098, allocations: 204.6 kB / 23.04 MB, free: 5.008 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.715 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.9798/0.9798, allocations: 150 MB / 463.2 MB, free: 10.17 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.002007/0.002007, allocations: 62.25 kB / 0.6413 GB, free: 9.762 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1817, allocations: 89.18 MB / 0.7284 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001715/0.1834, allocations: 0.5941 MB / 0.729 GB, free: 76 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.1837, allocations: 67.67 kB / 0.729 GB, free: 8 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.1837, allocations: 0 / 0.729 GB, free: 8 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.1837, allocations: 0 / 0.729 GB, free: 8 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.1837, allocations: 0 / 0.729 GB, free: 8 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.184, allocations: 31.84 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.184, allocations: 15.98 kB / 0.7291 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1841, allocations: 0 / 0.7291 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1841, allocations: 7.984 kB / 0.7291 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.1841, allocations: 7.938 kB / 0.7291 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1841, allocations: 0 / 0.7291 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.1842, allocations: 15.98 kB / 0.7291 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1842, allocations: 0 / 0.7291 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.1842, allocations: 7.984 kB / 0.7291 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.1843, allocations: 24.19 kB / 0.7292 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1843, allocations: 4 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1843, allocations: 0 / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1843, allocations: 0 / 0.7292 GB, free: 15.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003658/0.1847, allocations: 250.3 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1847, allocations: 12.03 kB / 0.7294 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1848, allocations: 30.75 kB / 0.7294 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.1848, allocations: 4.891 kB / 0.7294 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.1849, allocations: 106.5 kB / 0.7295 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1849, allocations: 4.375 kB / 0.7295 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1849, allocations: 8.312 kB / 0.7296 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.185, allocations: 74.55 kB / 0.7296 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1851, allocations: 7.938 kB / 0.7296 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1851, allocations: 0 / 0.7296 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1851, allocations: 0 / 0.7296 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.1851, allocations: 15.92 kB / 0.7296 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.1853, allocations: 152.3 kB / 0.7298 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1854, allocations: 93.06 kB / 0.7299 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.1855, allocations: 32.36 kB / 0.7299 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.1856, allocations: 7.938 kB / 0.7299 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1857, allocations: 42.55 kB / 0.73 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1857, allocations: 4 kB / 0.73 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.000192/0.1859, allocations: 69.5 kB / 0.73 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.186, allocations: 162.2 kB / 0.7302 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.186, allocations: 89.86 kB / 0.7303 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.186, allocations: 29.7 kB / 0.7303 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.1861, allocations: 84.08 kB / 0.7304 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1861, allocations: 20.45 kB / 0.7304 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1861, allocations: 17.72 kB / 0.7304 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1863, allocations: 322.8 kB / 0.7307 GB, free: 14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.1863, allocations: 4 kB / 0.7307 GB, free: 14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.1863, allocations: 36.3 kB / 0.7308 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.1864, allocations: 48.22 kB / 0.7308 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1864, allocations: 3.938 kB / 0.7308 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/0.1865, allocations: 73.52 kB / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1865, allocations: 4 kB / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1865, allocations: 7.938 kB / 0.7309 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1866, allocations: 0 / 0.7309 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.1866, allocations: 11.98 kB / 0.7309 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1866, allocations: 0 / 0.7309 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.1867, allocations: 4 kB / 0.7309 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1867, allocations: 4 kB / 0.7309 GB, free: 13.77 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.411e-05/0.1868, allocations: 113.8 kB / 0.731 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1868, allocations: 8.156 kB / 0.731 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.187, allocations: 104.6 kB / 0.7311 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.187, allocations: 4 kB / 0.7311 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.187, allocations: 0 / 0.7311 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.187, allocations: 4 kB / 0.7311 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1871, allocations: 136.7 kB / 0.7313 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1871, allocations: 4.156 kB / 0.7313 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.1872, allocations: 19.92 kB / 0.7313 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1872, allocations: 4 kB / 0.7313 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1872, allocations: 3.938 kB / 0.7313 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1872, allocations: 4 kB / 0.7313 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1872, allocations: 0 / 0.7313 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1874, allocations: 124.5 kB / 0.7314 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.1874, allocations: 7.938 kB / 0.7314 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1874, allocations: 3.938 kB / 0.7314 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.1874, allocations: 8 kB / 0.7314 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1874, allocations: 15.97 kB / 0.7315 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1874, allocations: 4 kB / 0.7315 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.1875, allocations: 75.28 kB / 0.7315 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1875, allocations: 3.938 kB / 0.7315 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002126/0.1877, allocations: 8 kB / 0.7315 GB, free: 13.04 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.0005186/0.1882, allocations: 0.6664 MB / 0.7322 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1883, allocations: 32.17 kB / 0.7322 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1883, allocations: 4.062 kB / 0.7322 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.1884, allocations: 27.92 kB / 0.7323 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.1885, allocations: 8 kB / 0.7323 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.189, allocations: 173.9 kB / 0.7324 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.597e-05/0.189, allocations: 63.3 kB / 0.7325 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.1891, allocations: 16.3 kB / 0.7325 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.1891, allocations: 15.44 kB / 0.7325 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.1891, allocations: 0 / 0.7325 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.2174, allocations: 1.913 MB / 0.7344 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.16, allocations: 8.734 kB / 0.7344 GB, free: 10.14 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: 15.151572052156553] Failed to read output from testmodel.py, exit status != 0: 11.262303345836699 11.280210432 11.092328148 Calling exit ...