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.001865/0.001865, allocations: 105.2 kB / 20.45 MB, free: 1.5 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.00262/0.00262, allocations: 208.5 kB / 23.75 MB, free: 4.73 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.971/0.971, allocations: 150 MB / 463.9 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round") translateModel(IBPSA.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round") [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.002462/0.002462, allocations: 66.88 kB / 0.6425 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1872, allocations: 89.18 MB / 0.7296 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001944/0.1891, allocations: 0.5955 MB / 0.7302 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000306/0.1894, allocations: 75.64 kB / 0.7303 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.1894, allocations: 0 / 0.7303 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.1895, allocations: 0 / 0.7303 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.1895, allocations: 0 / 0.7303 GB, free: 124 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1897, allocations: 19.92 kB / 0.7303 GB, free: 104 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.1898, allocations: 15.98 kB / 0.7303 GB, free: 88 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1898, allocations: 4 kB / 0.7303 GB, free: 84 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.1899, allocations: 7.984 kB / 0.7303 GB, free: 76 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.1899, allocations: 11.92 kB / 0.7303 GB, free: 64 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1899, allocations: 0 / 0.7303 GB, free: 64 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.327e-05/0.19, allocations: 15.98 kB / 0.7303 GB, free: 48 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.19, allocations: 0 / 0.7303 GB, free: 48 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.19, allocations: 11.98 kB / 0.7304 GB, free: 36 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.1901, allocations: 11.92 kB / 0.7304 GB, free: 24 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1901, allocations: 3.984 kB / 0.7304 GB, free: 20 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1901, allocations: 0 / 0.7304 GB, free: 20 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.1901, allocations: 11.94 kB / 0.7304 GB, free: 8 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.0004104/0.1906, allocations: 250.3 kB / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1906, allocations: 8.031 kB / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1906, allocations: 0.9375 kB / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.969e-05/0.1907, allocations: 106.5 kB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1907, allocations: 4.375 kB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1907, allocations: 384 / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1909, allocations: 78.47 kB / 0.7308 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1909, allocations: 8.172 kB / 0.7308 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1909, allocations: 3.938 kB / 0.7308 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1909, allocations: 0 / 0.7308 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.191, allocations: 15.94 kB / 0.7308 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1912, allocations: 152.2 kB / 0.731 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1913, allocations: 97.05 kB / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.1913, allocations: 36.41 kB / 0.7311 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.1915, allocations: 7.984 kB / 0.7311 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1915, allocations: 42.5 kB / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1915, allocations: 3.938 kB / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002128/0.1917, allocations: 77.98 kB / 0.7312 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.1918, allocations: 158.2 kB / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.1919, allocations: 89.86 kB / 0.7315 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1919, allocations: 25.7 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.1919, allocations: 84.14 kB / 0.7316 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.192, allocations: 15.83 kB / 0.7316 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.192, allocations: 21.66 kB / 0.7316 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1922, allocations: 323 kB / 0.7319 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.1922, allocations: 7.984 kB / 0.7319 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.1922, allocations: 36.23 kB / 0.732 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.1923, allocations: 52.23 kB / 0.732 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1923, allocations: 0 / 0.732 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001176/0.1924, allocations: 65.56 kB / 0.7321 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1925, allocations: 4 kB / 0.7321 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1925, allocations: 4 kB / 0.7321 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1925, allocations: 3.938 kB / 0.7321 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.1926, allocations: 12.09 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1926, allocations: 7.984 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.1926, allocations: 4 kB / 0.7321 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1926, allocations: 0 / 0.7321 GB, free: 13.92 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.213e-05/0.1927, allocations: 113.8 kB / 0.7322 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1927, allocations: 4 kB / 0.7322 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.1929, allocations: 108.6 kB / 0.7323 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1929, allocations: 0 / 0.7323 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1929, allocations: 4 kB / 0.7323 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1929, allocations: 0 / 0.7323 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1931, allocations: 136.6 kB / 0.7325 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1931, allocations: 4 kB / 0.7325 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.1931, allocations: 15.98 kB / 0.7325 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1931, allocations: 0 / 0.7325 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1932, allocations: 16.09 kB / 0.7325 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1932, allocations: 0 / 0.7325 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1932, allocations: 4 kB / 0.7325 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.1933, allocations: 116.5 kB / 0.7326 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.1933, allocations: 15.88 kB / 0.7326 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.1933, allocations: 7.938 kB / 0.7326 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.1934, allocations: 4 kB / 0.7326 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1934, allocations: 11.92 kB / 0.7326 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1934, allocations: 4 kB / 0.7327 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.1934, allocations: 75.28 kB / 0.7327 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1934, allocations: 0 / 0.7327 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002165/0.1937, allocations: 8 kB / 0.7327 GB, free: 13.2 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.0001581/0.1938, allocations: 111.3 kB / 0.7328 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1939, allocations: 39.86 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1939, allocations: 3.938 kB / 0.7329 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.71e-05/0.194, allocations: 19.94 kB / 0.7329 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.1941, allocations: 8 kB / 0.7329 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.1945, allocations: 174.6 kB / 0.7331 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1948, allocations: 0.6846 MB / 0.7337 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1948, allocations: 11.44 kB / 0.7338 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1948, allocations: 0 / 0.7338 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.002415/0.1972, allocations: 0.6912 MB / 0.7344 GB, free: 11.37 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.161078545032069] Failed to read output from testmodel.py, exit status != 0: 0.20625776704400778 0.22212778300000002 0.028486160000000003 Calling exit ...