Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001558/0.001558, 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.001796/0.001796, allocations: 218.2 kB / 22.87 MB, free: 5.625 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.424/1.424, allocations: 230.5 MB / 256.5 MB, free: 8.027 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.002394/0.002394, allocations: 281.1 kB / 313.2 MB, free: 2.918 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.163/1.163, allocations: 180.8 MB / 0.5376 GB, free: 12.86 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") [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.002806/0.002806, allocations: 96.53 kB / 0.7406 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1816, allocations: 95.38 MB / 0.8337 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001946/0.1835, allocations: 0.6269 MB / 0.8344 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.1864, allocations: 1.496 MB / 0.8358 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.1864, allocations: 3.938 kB / 0.8358 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.404e-05/0.1865, allocations: 3.938 kB / 0.8358 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.1865, allocations: 4 kB / 0.8358 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1875, allocations: 223.5 kB / 0.836 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.1876, allocations: 35.97 kB / 0.8361 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1877, allocations: 4 kB / 0.8361 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.1877, allocations: 15.98 kB / 0.8361 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.1878, allocations: 23.91 kB / 0.8361 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1878, allocations: 4 kB / 0.8361 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.1883, allocations: 279.5 kB / 0.8364 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.1884, allocations: 11.92 kB / 0.8364 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.1884, allocations: 15.88 kB / 0.8364 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.1888, allocations: 219.4 kB / 0.8366 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1888, allocations: 0 / 0.8366 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1888, allocations: 4 kB / 0.8366 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.1888, allocations: 0 / 0.8366 GB, free: 4.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004815/0.1893, allocations: 327.6 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1894, allocations: 9.344 kB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1894, allocations: 12.89 kB / 0.837 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1895, allocations: 122.4 kB / 0.8371 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1895, allocations: 384 / 0.8371 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1896, allocations: 384 / 0.8371 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1898, allocations: 107.7 kB / 0.8372 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1898, allocations: 8 kB / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1898, allocations: 0 / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1898, allocations: 0 / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1899, allocations: 69.67 kB / 0.8373 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.19, allocations: 136.7 kB / 0.8374 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1902, allocations: 84.19 kB / 0.8375 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.114e-05/0.1902, allocations: 78.5 kB / 0.8375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.1903, allocations: 4 kB / 0.8375 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1903, allocations: 34.5 kB / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.1903, allocations: 0 / 0.8376 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003807/0.1907, allocations: 250.7 kB / 0.8378 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.1907, allocations: 81.11 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1909, allocations: 117.8 kB / 0.838 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.1909, allocations: 25.7 kB / 0.838 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1909, allocations: 88.14 kB / 0.8381 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.191, allocations: 23.84 kB / 0.8381 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.191, allocations: 25.7 kB / 0.8382 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1912, allocations: 314.8 kB / 0.8385 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1913, allocations: 65.67 kB / 0.8385 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.1914, allocations: 65.67 kB / 0.8386 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1916, allocations: 144.8 kB / 0.8387 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1916, allocations: 4 kB / 0.8387 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002336/0.1918, allocations: 185.2 kB / 0.8389 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.1919, allocations: 45.62 kB / 0.8389 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1919, allocations: 11.98 kB / 0.839 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1919, allocations: 0 / 0.839 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.1919, allocations: 0 / 0.839 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1919, allocations: 4 kB / 0.839 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.192, allocations: 11.89 kB / 0.839 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.192, allocations: 7.938 kB / 0.839 GB, free: 2.215 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001335/0.1922, allocations: 152.2 kB / 0.8391 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.1922, allocations: 7.938 kB / 0.8391 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.1922, allocations: 8.375 kB / 0.8391 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1922, allocations: 4 kB / 0.8391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1922, allocations: 0 / 0.8391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1922, allocations: 0 / 0.8391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.1923, allocations: 144.7 kB / 0.8393 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1923, allocations: 0 / 0.8393 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1923, allocations: 0 / 0.8393 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1923, allocations: 3.938 kB / 0.8393 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1923, allocations: 4 kB / 0.8393 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1923, allocations: 0 / 0.8393 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1923, allocations: 7.938 kB / 0.8393 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1926, allocations: 236.4 kB / 0.8395 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.1927, allocations: 7.891 kB / 0.8395 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1927, allocations: 4 kB / 0.8395 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.1927, allocations: 4 kB / 0.8395 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.1927, allocations: 7.984 kB / 0.8395 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1927, allocations: 4 kB / 0.8396 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.1928, allocations: 91.27 kB / 0.8396 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1928, allocations: 0 / 0.8396 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003158/0.1931, allocations: 79.91 kB / 0.8397 GB, free: 1.371 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003053/0.1934, allocations: 157.8 kB / 0.8399 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1937, allocations: 226.7 kB / 0.8401 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1937, allocations: 0 / 0.8401 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1939, allocations: 149 kB / 0.8402 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1941, allocations: 8 kB / 0.8402 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.1945, allocations: 198.6 kB / 0.8404 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1948, allocations: 0.6846 MB / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.779e-06/0.1948, allocations: 0 / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.1948, allocations: 7.438 kB / 0.8411 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1948, allocations: 0 / 0.8411 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.005372/0.2002, allocations: 2.089 MB / 0.8431 GB, free: 13.77 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.800434946082532] Failed to read output from testmodel.py, exit status != 0: 0.2078332449309528 0.22275367599999996 0.030938216 Calling exit ...