Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.001348/0.001348, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001511/0.001511, allocations: 217.8 kB / 22.26 MB, free: 5.215 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.02 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.002452/0.002452, allocations: 290.1 kB / 312.7 MB, free: 2.836 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.203/1.203, allocations: 180.9 MB / 0.5372 GB, free: 12.96 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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") [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.002898/0.002898, allocations: 100.8 kB / 0.7404 GB, free: 27.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1851, allocations: 95.39 MB / 0.8335 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002979/0.188, allocations: 1.532 MB / 0.835 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1895, allocations: 0.7807 MB / 0.8358 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.1895, allocations: 4 kB / 0.8358 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1898, allocations: 131.7 kB / 0.8359 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.1899, allocations: 67.83 kB / 0.836 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.1906, allocations: 187.6 kB / 0.8361 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1907, allocations: 71.8 kB / 0.8362 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1907, allocations: 3.938 kB / 0.8362 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.1908, allocations: 43.89 kB / 0.8363 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1909, allocations: 87.83 kB / 0.8363 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1909, allocations: 4 kB / 0.8363 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.1914, allocations: 259.6 kB / 0.8366 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.1915, allocations: 59.83 kB / 0.8366 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.1915, allocations: 51.48 kB / 0.8367 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.1919, allocations: 279 kB / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1919, allocations: 4 kB / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1919, allocations: 0 / 0.837 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1919, allocations: 3.938 kB / 0.837 GB, free: 4.379 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006367/0.1925, allocations: 448.8 kB / 0.8374 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1926, allocations: 9.344 kB / 0.8374 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1926, allocations: 24.73 kB / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1929, allocations: 206.7 kB / 0.8376 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1929, allocations: 384 / 0.8376 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1929, allocations: 384 / 0.8376 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1931, allocations: 81.97 kB / 0.8377 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1931, allocations: 4 kB / 0.8377 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1931, allocations: 0 / 0.8377 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1931, allocations: 0 / 0.8377 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.1933, allocations: 91.86 kB / 0.8378 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.1938, allocations: 363.9 kB / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.194, allocations: 90.53 kB / 0.8382 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1941, allocations: 48.88 kB / 0.8383 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1942, allocations: 15.98 kB / 0.8383 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1942, allocations: 34.56 kB / 0.8383 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1942, allocations: 3.938 kB / 0.8383 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004132/0.1946, allocations: 181.5 kB / 0.8385 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1946, allocations: 51.41 kB / 0.8386 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.195, allocations: 360.4 kB / 0.8389 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.195, allocations: 25.7 kB / 0.8389 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1951, allocations: 132.1 kB / 0.839 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1951, allocations: 11.94 kB / 0.8391 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1952, allocations: 25.72 kB / 0.8391 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1953, allocations: 338.9 kB / 0.8394 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1955, allocations: 95.94 kB / 0.8395 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1956, allocations: 91.95 kB / 0.8396 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.1959, allocations: 218.9 kB / 0.8398 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1959, allocations: 0 / 0.8398 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003818/0.1963, allocations: 253.4 kB / 0.84 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1963, allocations: 11.92 kB / 0.84 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1963, allocations: 0 / 0.84 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1964, allocations: 0 / 0.84 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.319e-05/0.1964, allocations: 8 kB / 0.8401 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1965, allocations: 0 / 0.8401 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.1965, allocations: 15.88 kB / 0.8401 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.1965, allocations: 4 kB / 0.8401 GB, free: 1.016 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): 2 * Array equations: 1 * 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.0001282/0.1967, allocations: 154.4 kB / 0.8402 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1967, allocations: 19.95 kB / 0.8402 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.197, allocations: 142.6 kB / 0.8404 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.197, allocations: 0 / 0.8404 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.197, allocations: 3.984 kB / 0.8404 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.197, allocations: 0 / 0.8404 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1972, allocations: 216.6 kB / 0.8406 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1972, allocations: 3.938 kB / 0.8406 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.1973, allocations: 16.02 kB / 0.8406 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1973, allocations: 0 / 0.8406 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1973, allocations: 0 / 0.8406 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1973, allocations: 0 / 0.8406 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1973, allocations: 0 / 0.8406 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1976, allocations: 239.2 kB / 0.8408 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1977, allocations: 31.88 kB / 0.8409 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1977, allocations: 0 / 0.8409 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.1978, allocations: 4 kB / 0.8409 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1978, allocations: 3.984 kB / 0.8409 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1978, allocations: 8 kB / 0.8409 GB, free: 112 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000261/0.1981, allocations: 247 kB / 0.8411 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1981, allocations: 0 / 0.8411 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003243/0.1984, allocations: 67.86 kB / 0.8412 GB, free: 15.8 MB / 0.5919 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.0002848/0.1987, allocations: 163.1 kB / 0.8413 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.199, allocations: 135.9 kB / 0.8415 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.199, allocations: 3.938 kB / 0.8415 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1991, allocations: 55.89 kB / 0.8415 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1994, allocations: 24.36 kB / 0.8415 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.2001, allocations: 375.9 kB / 0.8419 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.2005, allocations: 0.7353 MB / 0.8426 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.2005, allocations: 16.48 kB / 0.8426 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.2006, allocations: 15.44 kB / 0.8427 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.2006, allocations: 0 / 0.8427 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.005974/0.2065, allocations: 2.132 MB / 0.8447 GB, free: 12.1 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.001410374417901] Failed to read output from testmodel.py, exit status != 0: 0.21439171582460403 0.23026110400000002 0.03523831 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8952e217b0>