Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.001596/0.001596, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001814/0.001814, allocations: 219 kB / 22.25 MB, free: 4.855 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002618/0.002618, allocations: 293.9 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.193/1.193, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") [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.002912/0.002912, allocations: 108.6 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1783, allocations: 95.37 MB / 0.8331 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002838/0.1811, allocations: 1.493 MB / 0.8346 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004032/0.1815, allocations: 144.3 kB / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.1815, allocations: 0 / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.1816, allocations: 0 / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.1816, allocations: 3.938 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1818, allocations: 35.89 kB / 0.8348 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.1819, allocations: 39.91 kB / 0.8348 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1821, allocations: 8 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.1821, allocations: 23.92 kB / 0.8348 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.1822, allocations: 19.92 kB / 0.8348 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1822, allocations: 4 kB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.1823, allocations: 39.91 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.1823, allocations: 7.984 kB / 0.8349 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1823, allocations: 11.94 kB / 0.8349 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1825, allocations: 71.66 kB / 0.835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1825, allocations: 4 kB / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1825, allocations: 0 / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.1825, allocations: 0 / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005011/0.183, allocations: 294.1 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.183, allocations: 9.344 kB / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.1841, allocations: 212.5 kB / 0.8355 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1842, allocations: 110.5 kB / 0.8356 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1842, allocations: 384 / 0.8356 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1842, allocations: 12.38 kB / 0.8356 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.1848, allocations: 186 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.1848, allocations: 192 / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1848, allocations: 11.88 kB / 0.8358 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1849, allocations: 4 kB / 0.8358 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/0.1857, allocations: 279.6 kB / 0.836 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.1866, allocations: 365 kB / 0.8364 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1878, allocations: 294.2 kB / 0.8367 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.1882, allocations: 96.73 kB / 0.8368 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1882, allocations: 4 kB / 0.8368 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1882, allocations: 34.56 kB / 0.8368 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1882, allocations: 3.938 kB / 0.8368 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.00116/0.1894, allocations: 305.3 kB / 0.8371 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1894, allocations: 59.41 kB / 0.8372 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1895, allocations: 113.8 kB / 0.8373 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1896, allocations: 25.7 kB / 0.8373 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.1896, allocations: 96.06 kB / 0.8374 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1896, allocations: 7.906 kB / 0.8374 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.1897, allocations: 13.72 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1899, allocations: 322.8 kB / 0.8377 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.1902, allocations: 95.88 kB / 0.8378 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.1906, allocations: 91.88 kB / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.1912, allocations: 176.6 kB / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1912, allocations: 0 / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007289/0.192, allocations: 209.5 kB / 0.8383 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.192, allocations: 4.781 kB / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.192, allocations: 4 kB / 0.8383 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.192, allocations: 4 kB / 0.8383 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.1922, allocations: 35.88 kB / 0.8383 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1923, allocations: 0 / 0.8383 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.1924, allocations: 35.89 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1925, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5762 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 9.96e-05/0.1926, allocations: 118.4 kB / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1926, allocations: 12.28 kB / 0.8385 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.1926, allocations: 12 kB / 0.8385 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1926, allocations: 0 / 0.8385 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1927, allocations: 3.984 kB / 0.8385 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1927, allocations: 0 / 0.8385 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1929, allocations: 145.2 kB / 0.8386 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1929, allocations: 3.984 kB / 0.8386 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.1931, allocations: 27.95 kB / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1931, allocations: 0 / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1931, allocations: 8 kB / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1931, allocations: 320 / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1931, allocations: 3.938 kB / 0.8387 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.1939, allocations: 316.8 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.1939, allocations: 3.953 kB / 0.839 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1939, allocations: 8 kB / 0.839 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1942, allocations: 27.95 kB / 0.839 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1942, allocations: 11.98 kB / 0.839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1942, allocations: 0 / 0.839 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.1943, allocations: 91.27 kB / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1943, allocations: 0 / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002306/0.1945, allocations: 12 kB / 0.8391 GB, free: 1.402 MB / 0.5762 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.0001204/0.1946, allocations: 99.23 kB / 0.8392 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007615/0.1954, allocations: 195.8 kB / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1954, allocations: 0 / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.1957, allocations: 103.8 kB / 0.8395 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.196, allocations: 15.88 kB / 0.8395 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.197, allocations: 249.4 kB / 0.8397 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.925e-05/0.197, allocations: 75.33 kB / 0.8398 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.126e-05/0.1971, allocations: 19.98 kB / 0.8398 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1972, allocations: 11.44 kB / 0.8398 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1972, allocations: 0 / 0.8398 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of Templates: time 0.003525/0.2007, allocations: 0.984 MB / 0.8408 GB, free: 15.62 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.929700363427401] Failed to read output from testmodel.py, exit status != 0: 0.20805355161428452 0.222657666 0.037275044 Calling exit ...