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.001718/0.001718, allocations: 109 kB / 20.48 MB, free: 1.473 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.002268/0.002268, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.471/1.471, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.005/1.005, allocations: 150 MB / 464 MB, free: 10.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="cs",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.001955/0.001955, allocations: 64.59 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1883, allocations: 89.17 MB / 0.7292 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.00168/0.19, allocations: 0.5877 MB / 0.7297 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.1903, allocations: 79.64 kB / 0.7298 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.1903, allocations: 0 / 0.7298 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1903, allocations: 0 / 0.7298 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.1903, allocations: 0 / 0.7298 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1905, allocations: 23.91 kB / 0.7298 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.1906, allocations: 4 kB / 0.7298 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1906, allocations: 7.984 kB / 0.7298 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.1907, allocations: 8 kB / 0.7298 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.1907, allocations: 11.92 kB / 0.7299 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1907, allocations: 0 / 0.7299 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.1908, allocations: 23.92 kB / 0.7299 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1908, allocations: 0 / 0.7299 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.1908, allocations: 7.922 kB / 0.7299 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.586e-05/0.1909, allocations: 20.25 kB / 0.7299 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1909, allocations: 0 / 0.7299 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1909, allocations: 0 / 0.7299 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1909, allocations: 0 / 0.7299 GB, free: 0.5117 MB / 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.0003749/0.1913, allocations: 254.3 kB / 0.7302 GB, free: 236 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1913, allocations: 8.031 kB / 0.7302 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.1914, allocations: 8.188 kB / 0.7302 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.1914, allocations: 30.75 kB / 0.7302 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.1914, allocations: 4.938 kB / 0.7302 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.1915, allocations: 114.5 kB / 0.7303 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1915, allocations: 384 / 0.7303 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1915, allocations: 4.375 kB / 0.7303 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1917, allocations: 74.3 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.1917, allocations: 3.938 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1917, allocations: 3.984 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1917, allocations: 0 / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.16e-05/0.1918, allocations: 23.86 kB / 0.7304 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.192, allocations: 148.2 kB / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1921, allocations: 97.09 kB / 0.7306 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1921, allocations: 36.42 kB / 0.7307 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.1923, allocations: 15.98 kB / 0.7307 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1923, allocations: 34.5 kB / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1923, allocations: 0 / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001958/0.1925, allocations: 78.08 kB / 0.7308 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.1926, allocations: 162.2 kB / 0.731 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.1927, allocations: 89.86 kB / 0.731 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1927, allocations: 25.7 kB / 0.7311 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.305e-05/0.1927, allocations: 80.14 kB / 0.7311 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.1928, allocations: 15.84 kB / 0.7312 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.1928, allocations: 25.7 kB / 0.7312 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1929, allocations: 314.8 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.193, allocations: 4 kB / 0.7315 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.193, allocations: 40.28 kB / 0.7315 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.1931, allocations: 48.23 kB / 0.7316 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1931, allocations: 0 / 0.7316 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.1932, allocations: 65.52 kB / 0.7316 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1932, allocations: 15.92 kB / 0.7317 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1932, allocations: 0 / 0.7317 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1932, allocations: 0 / 0.7317 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.1933, allocations: 11.94 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1933, allocations: 7.938 kB / 0.7317 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.1933, allocations: 160 / 0.7317 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1933, allocations: 8 kB / 0.7317 GB, free: 14.37 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 9.769e-05/0.1934, allocations: 113.8 kB / 0.7318 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.1934, allocations: 7.938 kB / 0.7318 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.1937, allocations: 104.7 kB / 0.7319 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1937, allocations: 4 kB / 0.7319 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1937, allocations: 0 / 0.7319 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1937, allocations: 4 kB / 0.7319 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1938, allocations: 136.7 kB / 0.732 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1938, allocations: 0 / 0.732 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.1939, allocations: 19.94 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1939, allocations: 15.86 kB / 0.7321 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1939, allocations: 0 / 0.7321 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1939, allocations: 4 kB / 0.7321 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1939, allocations: 96 / 0.7321 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1941, allocations: 116.5 kB / 0.7322 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.1941, allocations: 15.92 kB / 0.7322 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1941, allocations: 7.938 kB / 0.7322 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.1941, allocations: 4 kB / 0.7322 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.1941, allocations: 7.984 kB / 0.7322 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1942, allocations: 8 kB / 0.7322 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.1942, allocations: 79.22 kB / 0.7323 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1942, allocations: 0 / 0.7323 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002098/0.1944, allocations: 4 kB / 0.7323 GB, free: 13.64 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.0005161/0.1949, allocations: 0.6625 MB / 0.733 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.195, allocations: 36.36 kB / 0.733 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.195, allocations: 8 kB / 0.733 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.1951, allocations: 19.94 kB / 0.733 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.1952, allocations: 18.42 kB / 0.733 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.1957, allocations: 174.2 kB / 0.7332 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.196, allocations: 0.6846 MB / 0.7339 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.196, allocations: 11.98 kB / 0.7339 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.1961, allocations: 15.44 kB / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1961, allocations: 0 / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.2265, allocations: 1.594 MB / 0.7354 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 5 kB / 0.7355 GB, free: 10.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.236983699025586] Failed to read output from testmodel.py, exit status != 0: 11.60893655801192 11.624386748 11.430205911 Calling exit ...