Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 105.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.002523/0.002523, allocations: 288.9 kB / 303 MB, free: 9.492 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.249/1.249, allocations: 180.9 MB / 0.5261 GB, free: 14.71 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 98.2 kB / 0.7248 GB, free: 39.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1869, allocations: 94.15 MB / 0.8168 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001818/0.1887, allocations: 0.5929 MB / 0.8173 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1904, allocations: 1.256 MB / 0.8186 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.1905, allocations: 8 kB / 0.8186 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1905, allocations: 0 / 0.8186 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-06/0.1905, allocations: 0 / 0.8186 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1909, allocations: 67.75 kB / 0.8186 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.1909, allocations: 3.984 kB / 0.8186 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.191, allocations: 0 / 0.8186 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.191, allocations: 7.984 kB / 0.8187 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.191, allocations: 0 / 0.8187 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.191, allocations: 0 / 0.8187 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.1913, allocations: 99.91 kB / 0.8187 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1913, allocations: 3.984 kB / 0.8188 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.1913, allocations: 3.938 kB / 0.8188 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1915, allocations: 56.14 kB / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1915, allocations: 0 / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1915, allocations: 0 / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1915, allocations: 0 / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003952/0.1919, allocations: 327.4 kB / 0.8191 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1919, allocations: 12.02 kB / 0.8191 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1919, allocations: 30.75 kB / 0.8192 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.192, allocations: 8.938 kB / 0.8192 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1921, allocations: 164.3 kB / 0.8193 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1921, allocations: 384 / 0.8193 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.1921, allocations: 384 / 0.8193 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.1922, allocations: 29.83 kB / 0.8194 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1922, allocations: 0 / 0.8194 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1922, allocations: 4 kB / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1922, allocations: 0 / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.1923, allocations: 0 / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1924, allocations: 159.4 kB / 0.8195 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/0.1925, allocations: 22.55 kB / 0.8195 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.1925, allocations: 4.859 kB / 0.8195 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.1932, allocations: 0.5623 MB / 0.8201 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1932, allocations: 42.5 kB / 0.8201 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1932, allocations: 0 / 0.8201 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.1933, allocations: 29.7 kB / 0.8202 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1934, allocations: 51.41 kB / 0.8202 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.1934, allocations: 89.86 kB / 0.8203 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1935, allocations: 29.64 kB / 0.8203 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.1935, allocations: 84.14 kB / 0.8204 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1935, allocations: 11.94 kB / 0.8204 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.1936, allocations: 13.78 kB / 0.8204 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1937, allocations: 314.8 kB / 0.8207 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1937, allocations: 0 / 0.8207 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.1937, allocations: 4 kB / 0.8207 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.1937, allocations: 4.859 kB / 0.8207 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1937, allocations: 4 kB / 0.8207 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.325e-05/0.1938, allocations: 33.7 kB / 0.8208 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1938, allocations: 7.938 kB / 0.8208 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1938, allocations: 8.078 kB / 0.8208 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1938, allocations: 0 / 0.8208 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.1939, allocations: 4 kB / 0.8208 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1939, allocations: 3.938 kB / 0.8208 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.1939, allocations: 0 / 0.8208 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1939, allocations: 0 / 0.8208 GB, free: 0.875 MB / 0.5606 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): 1 * 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.016e-05/0.194, allocations: 109.8 kB / 0.8209 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.194, allocations: 3.938 kB / 0.8209 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.1941, allocations: 48.8 kB / 0.8209 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1941, allocations: 0 / 0.8209 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1941, allocations: 0 / 0.8209 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1941, allocations: 4 kB / 0.821 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1942, allocations: 141.7 kB / 0.8211 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1942, allocations: 0 / 0.8211 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.1942, allocations: 4 kB / 0.8211 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1942, allocations: 3.938 kB / 0.8211 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1942, allocations: 7.984 kB / 0.8211 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1942, allocations: 0 / 0.8211 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1942, allocations: 4.031 kB / 0.8211 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.931e-05/0.1943, allocations: 57.08 kB / 0.8212 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1943, allocations: 85.05 kB / 0.8212 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.1944, allocations: 0 / 0.8212 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.1944, allocations: 7.922 kB / 0.8212 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.1944, allocations: 0 / 0.8212 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.1944, allocations: 0 / 0.8212 GB, free: 316 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.1944, allocations: 83.25 kB / 0.8213 GB, free: 232 kB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1944, allocations: 0 / 0.8213 GB, free: 232 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001929/0.1946, allocations: 8 kB / 0.8213 GB, free: 224 kB / 0.5606 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): 1 * 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.0004908/0.1951, allocations: 0.6045 MB / 0.8219 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.593e-05/0.1952, allocations: 8.031 kB / 0.8219 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1952, allocations: 0 / 0.8219 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-06/0.1952, allocations: 4 kB / 0.8219 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.1953, allocations: 0 / 0.8219 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.1956, allocations: 110.7 kB / 0.822 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1959, allocations: 0.669 MB / 0.8227 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.1959, allocations: 4.125 kB / 0.8227 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.196, allocations: 11.44 kB / 0.8227 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.196, allocations: 0 / 0.8227 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.2184, allocations: 1.062 MB / 0.8237 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.034, allocations: 6.719 kB / 0.8238 GB, free: 13.79 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.245672291144729] Failed to read output from testmodel.py, exit status != 0: 8.099284245166928 8.112992002 7.918569512 Calling exit ...