Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 113.4 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 190.9 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8839/0.8839, allocations: 149.6 MB / 456.6 MB, free: 1.191 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 66.56 kB / 0.6329 GB, free: 8.945 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1806, allocations: 87.87 MB / 0.7187 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003007/0.1836, allocations: 1.548 MB / 0.7202 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004053/0.184, allocations: 115.5 kB / 0.7203 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.1841, allocations: 4 kB / 0.7203 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.1842, allocations: 7.875 kB / 0.7203 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.1843, allocations: 11.88 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1846, allocations: 39.88 kB / 0.7203 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1847, allocations: 55.84 kB / 0.7204 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1848, allocations: 15.98 kB / 0.7204 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.1849, allocations: 23.92 kB / 0.7204 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.1849, allocations: 31.84 kB / 0.7205 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1849, allocations: 8 kB / 0.7205 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.185, allocations: 15.98 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1851, allocations: 11.98 kB / 0.7205 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.1851, allocations: 27.8 kB / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1852, allocations: 59.69 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1852, allocations: 4 kB / 0.7206 GB, free: 15.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1852, allocations: 0 / 0.7206 GB, free: 15.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1853, allocations: 0 / 0.7206 GB, free: 15.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005461/0.1858, allocations: 302.1 kB / 0.7209 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1858, allocations: 8.625 kB / 0.7209 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1859, allocations: 8.891 kB / 0.7209 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1861, allocations: 130.4 kB / 0.721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1861, allocations: 4.375 kB / 0.721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1861, allocations: 8.375 kB / 0.721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.1864, allocations: 94.12 kB / 0.7211 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1864, allocations: 192 / 0.7211 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1864, allocations: 3.938 kB / 0.7211 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1864, allocations: 0 / 0.7211 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.1867, allocations: 83.86 kB / 0.7212 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.1872, allocations: 295.8 kB / 0.7215 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1874, allocations: 58.53 kB / 0.7215 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1876, allocations: 44.91 kB / 0.7216 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.1876, allocations: 0 / 0.7216 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1876, allocations: 30.56 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1876, allocations: 0 / 0.7216 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005328/0.1882, allocations: 149.6 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1882, allocations: 51.41 kB / 0.7218 GB, free: 13.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1883, allocations: 109.8 kB / 0.7219 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1883, allocations: 25.7 kB / 0.7219 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.1884, allocations: 100.1 kB / 0.722 GB, free: 13.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1884, allocations: 11.84 kB / 0.722 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1884, allocations: 13.72 kB / 0.7221 GB, free: 13.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1886, allocations: 326.8 kB / 0.7224 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1887, allocations: 35.97 kB / 0.7224 GB, free: 12.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1888, allocations: 35.95 kB / 0.7224 GB, free: 12.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.1891, allocations: 76.72 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1891, allocations: 0 / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.1894, allocations: 105.6 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1894, allocations: 4 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1894, allocations: 0 / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1894, allocations: 4 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1896, allocations: 19.98 kB / 0.7226 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1896, allocations: 0 / 0.7226 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.1897, allocations: 11.98 kB / 0.7226 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.1897, allocations: 3.984 kB / 0.7227 GB, free: 12.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 0.0001009/0.1898, allocations: 117.8 kB / 0.7228 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1898, allocations: 8.281 kB / 0.7228 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.1902, allocations: 125.5 kB / 0.7229 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1902, allocations: 0 / 0.7229 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1902, allocations: 0 / 0.7229 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1902, allocations: 3.938 kB / 0.7229 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1904, allocations: 152.7 kB / 0.723 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1904, allocations: 0 / 0.723 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.845e-05/0.1905, allocations: 15.98 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1905, allocations: 0 / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1905, allocations: 0 / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1905, allocations: 4 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1905, allocations: 0 / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.1908, allocations: 207.3 kB / 0.7233 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.1908, allocations: 4 kB / 0.7233 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1908, allocations: 0 / 0.7233 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1909, allocations: 15.98 kB / 0.7233 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.191, allocations: 7.984 kB / 0.7233 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.191, allocations: 4 kB / 0.7233 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.1911, allocations: 91.7 kB / 0.7234 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1911, allocations: 0 / 0.7234 GB, free: 11.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002219/0.1913, allocations: 15.89 kB / 0.7234 GB, free: 11.87 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001227/0.1914, allocations: 99.19 kB / 0.7235 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1918, allocations: 75.91 kB / 0.7236 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1918, allocations: 4 kB / 0.7236 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1919, allocations: 39.91 kB / 0.7236 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1922, allocations: 11.92 kB / 0.7236 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1925, allocations: 157.3 kB / 0.7238 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1928, allocations: 0.6927 MB / 0.7244 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.569e-05/0.1929, allocations: 7.984 kB / 0.7244 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.1929, allocations: 7.438 kB / 0.7245 GB, free: 10.72 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1929, allocations: 0 / 0.7245 GB, free: 10.72 MB / 0.545 GB Notification: Performance of Templates: time 0.003402/0.1963, allocations: 0.7873 MB / 0.7252 GB, free: 9.941 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.13232756126672] Failed to read output from testmodel.py, exit status != 0: 0.20477966219186783 0.21770683200000002 0.029685047000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5ba37a17b0>