Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001587/0.001587, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001748/0.001748, allocations: 220.7 kB / 23 MB, free: 4.914 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002455/0.002455, allocations: 301.1 kB / 313.5 MB, free: 2.609 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.182/1.182, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [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.002934/0.002934, allocations: 105.1 kB / 0.7408 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1867, allocations: 95.37 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001802/0.1885, allocations: 0.6098 MB / 0.8345 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.1889, allocations: 147.9 kB / 0.8346 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.189, allocations: 0 / 0.8346 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.189, allocations: 7.938 kB / 0.8346 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.724e-05/0.189, allocations: 0 / 0.8346 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1893, allocations: 47.73 kB / 0.8347 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.1894, allocations: 11.98 kB / 0.8347 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.1894, allocations: 0 / 0.8347 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.064e-05/0.1894, allocations: 8 kB / 0.8347 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.1895, allocations: 11.92 kB / 0.8347 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1895, allocations: 4 kB / 0.8347 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.1896, allocations: 35.95 kB / 0.8348 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1896, allocations: 0 / 0.8348 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.1896, allocations: 7.938 kB / 0.8348 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.1897, allocations: 35.88 kB / 0.8348 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1897, allocations: 4 kB / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1897, allocations: 0 / 0.8348 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1898, allocations: 3.938 kB / 0.8348 GB, free: 6.879 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003936/0.1901, allocations: 258.3 kB / 0.8351 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1902, allocations: 8.75 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1902, allocations: 0.9375 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1903, allocations: 110.5 kB / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1903, allocations: 4.312 kB / 0.8352 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1904, allocations: 8.312 kB / 0.8352 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1905, allocations: 71.95 kB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1905, allocations: 192 / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1905, allocations: 3.938 kB / 0.8353 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1905, allocations: 0 / 0.8353 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.1906, allocations: 11.98 kB / 0.8353 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1907, allocations: 117.2 kB / 0.8354 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1908, allocations: 42.61 kB / 0.8354 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.1908, allocations: 24.98 kB / 0.8354 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.997e-05/0.1909, allocations: 7.984 kB / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.191, allocations: 34.56 kB / 0.8355 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.191, allocations: 0 / 0.8355 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001206/0.1922, allocations: 419.1 kB / 0.8359 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1922, allocations: 51.41 kB / 0.8359 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.1923, allocations: 93.86 kB / 0.836 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1923, allocations: 25.7 kB / 0.836 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.1923, allocations: 80.14 kB / 0.8361 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.1924, allocations: 31.91 kB / 0.8362 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1924, allocations: 17.72 kB / 0.8362 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1925, allocations: 322.8 kB / 0.8365 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.1926, allocations: 8 kB / 0.8365 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.381e-05/0.1926, allocations: 11.98 kB / 0.8365 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.1927, allocations: 36.86 kB / 0.8365 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1927, allocations: 0 / 0.8365 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.1928, allocations: 81.78 kB / 0.8366 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1928, allocations: 4 kB / 0.8366 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1928, allocations: 3.938 kB / 0.8366 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1928, allocations: 4 kB / 0.8366 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.1929, allocations: 15.98 kB / 0.8366 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1929, allocations: 4 kB / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.1929, allocations: 0 / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1929, allocations: 0 / 0.8366 GB, free: 4.773 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 (8): * Single equations (assignments): 8 * 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.8e-05/0.193, allocations: 114.5 kB / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.193, allocations: 0 / 0.8368 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.1932, allocations: 93.39 kB / 0.8368 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1932, allocations: 0 / 0.8368 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1932, allocations: 0 / 0.8368 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1932, allocations: 7.984 kB / 0.8368 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.1933, allocations: 105.3 kB / 0.8369 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1933, allocations: 192 / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.029e-05/0.1934, allocations: 19.98 kB / 0.837 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1934, allocations: 0 / 0.837 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1934, allocations: 4 kB / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1934, allocations: 3.938 kB / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1934, allocations: 3.938 kB / 0.837 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1936, allocations: 121 kB / 0.8371 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.1936, allocations: 4.031 kB / 0.8371 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1936, allocations: 0 / 0.8371 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.1937, allocations: 16 kB / 0.8371 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.1937, allocations: 3.984 kB / 0.8371 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.1937, allocations: 4 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.1937, allocations: 75.28 kB / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1937, allocations: 0 / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002135/0.1939, allocations: 31.94 kB / 0.8372 GB, free: 4.109 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001983/0.1941, allocations: 123.2 kB / 0.8373 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.1943, allocations: 43.91 kB / 0.8374 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1943, allocations: 4.094 kB / 0.8374 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.1943, allocations: 19.98 kB / 0.8374 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1944, allocations: 4 kB / 0.8374 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.1948, allocations: 167.2 kB / 0.8376 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.481e-05/0.1948, allocations: 63.34 kB / 0.8376 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.1949, allocations: 11.44 kB / 0.8376 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1949, allocations: 0 / 0.8376 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of Templates: time 0.002562/0.1974, allocations: 0.9413 MB / 0.8386 GB, free: 2.688 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.02350695990026] Failed to read output from testmodel.py, exit status != 0: 0.20462166890501976 0.218910179 0.026312973 Calling exit ...