Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.001238/0.001238, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001388/0.001388, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.002423/0.002423, allocations: 281 kB / 313.5 MB, free: 2.824 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 13.12 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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") [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.002799/0.002799, allocations: 102.9 kB / 0.7408 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1844, allocations: 95.38 MB / 0.834 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002992/0.1873, allocations: 1.544 MB / 0.8355 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1887, allocations: 0.7542 MB / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.886e-05/0.1888, allocations: 4 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.1889, allocations: 7.922 kB / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.1889, allocations: 3.938 kB / 0.8362 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1894, allocations: 95.67 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1896, allocations: 47.77 kB / 0.8363 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1897, allocations: 15.94 kB / 0.8364 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1898, allocations: 23.92 kB / 0.8364 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.1899, allocations: 15.92 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1899, allocations: 4 kB / 0.8364 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1901, allocations: 111.9 kB / 0.8365 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.1902, allocations: 11.92 kB / 0.8365 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.1902, allocations: 19.92 kB / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1904, allocations: 95.7 kB / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1904, allocations: 0 / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1904, allocations: 0 / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1905, allocations: 0 / 0.8366 GB, free: 5.395 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.000586/0.191, allocations: 298 kB / 0.8369 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1911, allocations: 13.34 kB / 0.8369 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1913, allocations: 20.86 kB / 0.8369 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.1916, allocations: 126.4 kB / 0.8371 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1916, allocations: 4.375 kB / 0.8371 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1916, allocations: 384 / 0.8371 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1918, allocations: 57.98 kB / 0.8371 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1918, allocations: 4 kB / 0.8371 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1918, allocations: 7.938 kB / 0.8371 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1918, allocations: 0 / 0.8371 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1919, allocations: 31.97 kB / 0.8372 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.1924, allocations: 251.8 kB / 0.8374 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.1925, allocations: 30.58 kB / 0.8374 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.1925, allocations: 12.91 kB / 0.8375 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.1928, allocations: 39.97 kB / 0.8375 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1928, allocations: 30.56 kB / 0.8375 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.1928, allocations: 0 / 0.8375 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000265/0.1931, allocations: 73.56 kB / 0.8376 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.1931, allocations: 55.53 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1932, allocations: 122.8 kB / 0.8378 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1933, allocations: 25.7 kB / 0.8378 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.1933, allocations: 92.14 kB / 0.8379 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1933, allocations: 7.891 kB / 0.8379 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1934, allocations: 13.72 kB / 0.8379 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1935, allocations: 322.8 kB / 0.8382 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.1936, allocations: 8 kB / 0.8382 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.1936, allocations: 15.98 kB / 0.8382 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.1937, allocations: 28.78 kB / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1937, allocations: 0 / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001277/0.1938, allocations: 53.69 kB / 0.8383 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1938, allocations: 4 kB / 0.8383 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1938, allocations: 0 / 0.8383 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1938, allocations: 0 / 0.8383 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1939, allocations: 12.08 kB / 0.8383 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1939, allocations: 0 / 0.8383 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.194, allocations: 7.953 kB / 0.8383 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.194, allocations: 4 kB / 0.8383 GB, free: 3.473 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 (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.108e-05/0.1941, allocations: 118.4 kB / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.1941, allocations: 0 / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.1943, allocations: 69.23 kB / 0.8385 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1943, allocations: 4.031 kB / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1943, allocations: 0 / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1943, allocations: 3.984 kB / 0.8385 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1945, allocations: 136.7 kB / 0.8386 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1945, allocations: 3.938 kB / 0.8387 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.1945, allocations: 4 kB / 0.8387 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1945, allocations: 0 / 0.8387 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1945, allocations: 4 kB / 0.8387 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1945, allocations: 0 / 0.8387 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1945, allocations: 0 / 0.8387 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1947, allocations: 163.4 kB / 0.8388 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.1947, allocations: 7.953 kB / 0.8388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1947, allocations: 0 / 0.8388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.1948, allocations: 7.938 kB / 0.8388 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1948, allocations: 7.984 kB / 0.8388 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1948, allocations: 0 / 0.8388 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.473e-05/0.1949, allocations: 97.27 kB / 0.8389 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1949, allocations: 4.031 kB / 0.8389 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002534/0.1951, allocations: 19.88 kB / 0.839 GB, free: 2.758 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 (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.0001962/0.1953, allocations: 111.3 kB / 0.8391 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1955, allocations: 23.98 kB / 0.8391 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1955, allocations: 0 / 0.8391 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.1955, allocations: 11.94 kB / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1958, allocations: 9.672 kB / 0.8391 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1962, allocations: 164.6 kB / 0.8393 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1965, allocations: 0.6807 MB / 0.8399 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.1965, allocations: 7.438 kB / 0.8399 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1965, allocations: 0 / 0.8399 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of Templates: time 0.002766/0.1993, allocations: 0.8406 MB / 0.8408 GB, free: 0.8516 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9114563160110265] Failed to read output from testmodel.py, exit status != 0: 0.20720270392484963 0.22245660899999994 0.029074744000000003 Calling exit ...