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.001552/0.001552, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002052/0.002052, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.98 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.002442/0.002442, allocations: 286.3 kB / 312.7 MB, free: 2.793 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.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [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.002845/0.002845, allocations: 95.95 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1871, allocations: 95.39 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00275/0.1899, allocations: 1.522 MB / 0.8342 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1912, allocations: 0.7581 MB / 0.835 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.1912, allocations: 0 / 0.835 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.1913, allocations: 3.938 kB / 0.835 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.1913, allocations: 11.86 kB / 0.835 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1917, allocations: 103.6 kB / 0.8351 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1918, allocations: 35.86 kB / 0.8351 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1919, allocations: 24.19 kB / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.192, allocations: 15.94 kB / 0.8352 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1921, allocations: 23.92 kB / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1921, allocations: 0 / 0.8352 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.1923, allocations: 115.9 kB / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.1923, allocations: 4 kB / 0.8353 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1923, allocations: 19.88 kB / 0.8353 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1925, allocations: 107.6 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1925, allocations: 0 / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1926, allocations: 0 / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1926, allocations: 0 / 0.8354 GB, free: 5.855 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.0004514/0.193, allocations: 294 kB / 0.8357 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1931, allocations: 13.33 kB / 0.8357 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.1931, allocations: 34.75 kB / 0.8357 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.1932, allocations: 16.88 kB / 0.8358 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1934, allocations: 118.4 kB / 0.8359 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-06/0.1934, allocations: 384 / 0.8359 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.1935, allocations: 4.375 kB / 0.8359 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1936, allocations: 69.72 kB / 0.8359 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1936, allocations: 0 / 0.8359 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1936, allocations: 0 / 0.8359 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1936, allocations: 7.938 kB / 0.836 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.1937, allocations: 27.98 kB / 0.836 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.1941, allocations: 251.9 kB / 0.8362 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.1942, allocations: 34.5 kB / 0.8363 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.1942, allocations: 16.92 kB / 0.8363 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.1945, allocations: 35.95 kB / 0.8363 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1945, allocations: 34.56 kB / 0.8363 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1945, allocations: 0 / 0.8363 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.1947, allocations: 69.62 kB / 0.8364 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1948, allocations: 55.34 kB / 0.8365 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1949, allocations: 122.1 kB / 0.8366 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1949, allocations: 25.7 kB / 0.8366 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.195, allocations: 96.12 kB / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.195, allocations: 7.891 kB / 0.8367 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.195, allocations: 9.719 kB / 0.8367 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1952, allocations: 330.8 kB / 0.837 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.1952, allocations: 8 kB / 0.837 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.1952, allocations: 15.98 kB / 0.837 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.1953, allocations: 24.84 kB / 0.8371 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1953, allocations: 0 / 0.8371 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.1954, allocations: 53.62 kB / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1954, allocations: 8 kB / 0.8371 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1955, allocations: 8.078 kB / 0.8371 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1955, allocations: 0 / 0.8371 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1955, allocations: 4 kB / 0.8371 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1955, allocations: 3.984 kB / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.1956, allocations: 7.953 kB / 0.8371 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1956, allocations: 3.938 kB / 0.8372 GB, free: 3.887 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 8.238e-05/0.1957, allocations: 110.5 kB / 0.8373 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1957, allocations: 4 kB / 0.8373 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1958, allocations: 65.3 kB / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1958, allocations: 0 / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1959, allocations: 4 kB / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1959, allocations: 0 / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.196, allocations: 140.7 kB / 0.8375 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.196, allocations: 0 / 0.8375 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.1961, allocations: 15.86 kB / 0.8375 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1961, allocations: 0 / 0.8375 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1961, allocations: 0 / 0.8375 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1961, allocations: 0 / 0.8375 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1961, allocations: 4.031 kB / 0.8375 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.1962, allocations: 155.4 kB / 0.8376 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.1963, allocations: 11.95 kB / 0.8376 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1963, allocations: 0 / 0.8376 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.1963, allocations: 0 / 0.8376 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1964, allocations: 4 kB / 0.8376 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1964, allocations: 12.02 kB / 0.8377 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.1964, allocations: 100.2 kB / 0.8377 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1964, allocations: 0 / 0.8377 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002364/0.1967, allocations: 15.94 kB / 0.8378 GB, free: 3.18 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.0005131/0.1972, allocations: 0.6938 MB / 0.8384 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1973, allocations: 19.98 kB / 0.8385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1973, allocations: 0 / 0.8385 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.1974, allocations: 15.92 kB / 0.8385 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1976, allocations: 17.95 kB / 0.8385 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1989, allocations: 1.322 MB / 0.8398 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1992, allocations: 0.6846 MB / 0.8405 GB, free: 308 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.1993, allocations: 4 kB / 0.8405 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1993, allocations: 15.42 kB / 0.8405 GB, free: 288 kB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1993, allocations: 0 / 0.8405 GB, free: 288 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.2277, allocations: 1.762 MB / 0.8422 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.71, allocations: 13.08 kB / 0.8422 GB, free: 14.64 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.037672329999623] Failed to read output from testmodel.py, exit status != 0: 10.8097454810013 10.825153792 10.629640688 Calling exit ...