Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001318/0.001318, allocations: 110.2 kB / 19.58 MB, free: 2.34 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.00157/0.00157, allocations: 219.6 kB / 22.87 MB, free: 5.617 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.451/1.451, allocations: 230.5 MB / 256.5 MB, free: 8.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 283.6 kB / 313.2 MB, free: 2.91 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.246/1.246, allocations: 180.8 MB / 0.5376 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004019/0.004019, allocations: 101.7 kB / 0.7406 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1828, allocations: 95.38 MB / 0.8337 GB, free: 8.012 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002778/0.1856, allocations: 1.501 MB / 0.8352 GB, free: 6.5 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1868, allocations: 0.6296 MB / 0.8358 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.1868, allocations: 0 / 0.8358 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.1869, allocations: 3.938 kB / 0.8358 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.1869, allocations: 3.938 kB / 0.8358 GB, free: 5.855 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1872, allocations: 63.81 kB / 0.8359 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1873, allocations: 31.86 kB / 0.8359 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.1874, allocations: 7.938 kB / 0.8359 GB, free: 5.754 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1876, allocations: 27.91 kB / 0.8359 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.1876, allocations: 15.92 kB / 0.8359 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1876, allocations: 0 / 0.8359 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1878, allocations: 59.95 kB / 0.836 GB, free: 5.652 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1878, allocations: 4 kB / 0.836 GB, free: 5.648 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.1878, allocations: 11.92 kB / 0.836 GB, free: 5.637 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.188, allocations: 79.67 kB / 0.8361 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.188, allocations: 0 / 0.8361 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.182e-06/0.188, allocations: 0 / 0.8361 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.188, allocations: 0 / 0.8361 GB, free: 5.559 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004567/0.1884, allocations: 282.1 kB / 0.8364 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1885, allocations: 9.344 kB / 0.8364 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1886, allocations: 20.81 kB / 0.8364 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1888, allocations: 122.4 kB / 0.8365 GB, free: 5.082 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1888, allocations: 384 / 0.8365 GB, free: 5.082 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1888, allocations: 8.375 kB / 0.8365 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.189, allocations: 42 kB / 0.8365 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.189, allocations: 0 / 0.8365 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.189, allocations: 4 kB / 0.8365 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.189, allocations: 4 kB / 0.8366 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1891, allocations: 15.98 kB / 0.8366 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1894, allocations: 231.9 kB / 0.8368 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.1895, allocations: 30.56 kB / 0.8368 GB, free: 4.695 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1896, allocations: 12.92 kB / 0.8368 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/0.1903, allocations: 95.86 kB / 0.8369 GB, free: 4.586 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.1903, allocations: 34.56 kB / 0.837 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1903, allocations: 0 / 0.837 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.000261/0.1906, allocations: 65.61 kB / 0.837 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1906, allocations: 55.41 kB / 0.8371 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1907, allocations: 109.8 kB / 0.8372 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1907, allocations: 29.7 kB / 0.8372 GB, free: 4.254 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1908, allocations: 84.14 kB / 0.8373 GB, free: 4.168 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1908, allocations: 3.953 kB / 0.8373 GB, free: 4.164 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1909, allocations: 17.66 kB / 0.8373 GB, free: 4.141 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.191, allocations: 323 kB / 0.8376 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.1911, allocations: 8 kB / 0.8376 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.1911, allocations: 11.98 kB / 0.8376 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.1912, allocations: 28.78 kB / 0.8377 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1912, allocations: 0 / 0.8377 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001341/0.1914, allocations: 57.58 kB / 0.8377 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1914, allocations: 8.375 kB / 0.8377 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1914, allocations: 4.094 kB / 0.8377 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1914, allocations: 0 / 0.8377 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.1915, allocations: 7.984 kB / 0.8377 GB, free: 3.684 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1915, allocations: 3.938 kB / 0.8377 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.1915, allocations: 4 kB / 0.8377 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1915, allocations: 0 / 0.8377 GB, free: 3.676 MB / 0.5763 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 (2): * Single equations (assignments): 2 * 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.854e-05/0.1916, allocations: 114.4 kB / 0.8378 GB, free: 3.555 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1916, allocations: 4 kB / 0.8379 GB, free: 3.551 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.1918, allocations: 65.23 kB / 0.8379 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1918, allocations: 0 / 0.8379 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1918, allocations: 0 / 0.8379 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1918, allocations: 0 / 0.8379 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1921, allocations: 152.6 kB / 0.8381 GB, free: 3.285 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1921, allocations: 0 / 0.8381 GB, free: 3.285 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1921, allocations: 4 kB / 0.8381 GB, free: 3.281 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.1921, allocations: 7.969 kB / 0.8381 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1921, allocations: 4 kB / 0.8381 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1921, allocations: 0 / 0.8381 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1921, allocations: 4.031 kB / 0.8381 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1923, allocations: 147.5 kB / 0.8382 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.1923, allocations: 4 kB / 0.8382 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1924, allocations: 3.984 kB / 0.8382 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.1924, allocations: 0 / 0.8382 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.1924, allocations: 4 kB / 0.8382 GB, free: 3.094 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1925, allocations: 7.969 kB / 0.8382 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.1925, allocations: 91.27 kB / 0.8383 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1925, allocations: 0 / 0.8383 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002411/0.1928, allocations: 19.89 kB / 0.8383 GB, free: 2.977 MB / 0.5763 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 (2): * Single equations (assignments): 2 * 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.0001569/0.1929, allocations: 111.1 kB / 0.8385 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.193, allocations: 23.98 kB / 0.8385 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.193, allocations: 0 / 0.8385 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.1931, allocations: 20.05 kB / 0.8385 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1933, allocations: 9.906 kB / 0.8385 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.1936, allocations: 130.9 kB / 0.8386 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.1937, allocations: 63.34 kB / 0.8387 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.1937, allocations: 288 / 0.8387 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.1937, allocations: 11.44 kB / 0.8387 GB, free: 2.562 MB / 0.5763 GB Notification: Performance of SimCode: time 4.21e-07/0.1937, allocations: 4.062 kB / 0.8387 GB, free: 2.559 MB / 0.5763 GB Notification: Performance of Templates: time 0.003299/0.197, allocations: 0.6947 MB / 0.8394 GB, free: 1.867 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.123084626000491] Failed to read output from testmodel.py, exit status != 0: 0.2054045379991294 0.21978233400000002 0.028653332 Calling exit ...