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.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.001697/0.001697, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001812/0.001812, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.785 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.002659/0.002659, allocations: 290.6 kB / 312.7 MB, free: 2.574 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.288/1.288, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 178] 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.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: 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.002958/0.002958, allocations: 94.95 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1982, allocations: 95.39 MB / 0.8327 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001996/0.2002, allocations: 0.5968 MB / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2022, allocations: 1.274 MB / 0.8345 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.2022, allocations: 0 / 0.8345 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.2022, allocations: 0 / 0.8345 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.2022, allocations: 0 / 0.8345 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.2026, allocations: 71.69 kB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.2027, allocations: 8 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.2027, allocations: 4 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.2027, allocations: 0 / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.2028, allocations: 7.969 kB / 0.8346 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-06/0.2028, allocations: 0 / 0.8346 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.2031, allocations: 107.9 kB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.2031, allocations: 0 / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.2031, allocations: 0 / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.2033, allocations: 64.08 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2033, allocations: 3.938 kB / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2033, allocations: 0 / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2033, allocations: 4 kB / 0.8348 GB, free: 6.086 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003227/0.2036, allocations: 262.2 kB / 0.835 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2037, allocations: 13.94 kB / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.2037, allocations: 30.75 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.2037, allocations: 0.9375 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.2038, allocations: 102.5 kB / 0.8352 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.2038, allocations: 384 / 0.8352 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.2038, allocations: 4.375 kB / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.2039, allocations: 33.77 kB / 0.8352 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2039, allocations: 0 / 0.8352 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2039, allocations: 4 kB / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2039, allocations: 0 / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.204, allocations: 8 kB / 0.8352 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.2041, allocations: 120.8 kB / 0.8353 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.2042, allocations: 18.61 kB / 0.8353 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.2042, allocations: 8.844 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/0.2045, allocations: 39.97 kB / 0.8354 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2045, allocations: 46.5 kB / 0.8354 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.2045, allocations: 0 / 0.8354 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.2047, allocations: 33.69 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2047, allocations: 51.41 kB / 0.8355 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.2048, allocations: 89.86 kB / 0.8356 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2048, allocations: 25.7 kB / 0.8356 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2048, allocations: 84.14 kB / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2049, allocations: 0 / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.2049, allocations: 13.72 kB / 0.8357 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.205, allocations: 318.8 kB / 0.836 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.205, allocations: 4.125 kB / 0.836 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.205, allocations: 3.938 kB / 0.836 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.2051, allocations: 12.84 kB / 0.836 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2051, allocations: 3.938 kB / 0.836 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.605e-05/0.2051, allocations: 29.7 kB / 0.8361 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2052, allocations: 11.94 kB / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2052, allocations: 0 / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2052, allocations: 0 / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.2052, allocations: 0 / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2052, allocations: 96 / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.2052, allocations: 8 kB / 0.8361 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2052, allocations: 3.984 kB / 0.8361 GB, free: 4.535 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): 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 7.852e-05/0.2053, allocations: 114.4 kB / 0.8362 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.2053, allocations: 7.922 kB / 0.8362 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.409e-05/0.2054, allocations: 40.64 kB / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2054, allocations: 0 / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2054, allocations: 0 / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2054, allocations: 0 / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.2055, allocations: 124.8 kB / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2055, allocations: 4 kB / 0.8364 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.2055, allocations: 0 / 0.8364 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2056, allocations: 3.938 kB / 0.8364 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2056, allocations: 0 / 0.8364 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2056, allocations: 0 / 0.8364 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2056, allocations: 4 kB / 0.8364 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.91e-05/0.2056, allocations: 57.06 kB / 0.8364 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.2057, allocations: 7.938 kB / 0.8364 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.2057, allocations: 0 / 0.8364 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.2057, allocations: 8.031 kB / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.2057, allocations: 0 / 0.8365 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2057, allocations: 4 kB / 0.8365 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.2057, allocations: 75.28 kB / 0.8365 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2057, allocations: 0 / 0.8365 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000205/0.2059, allocations: 11.94 kB / 0.8365 GB, free: 4.004 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): 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.0004829/0.2064, allocations: 0.6085 MB / 0.8371 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.586e-05/0.2065, allocations: 7.938 kB / 0.8371 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2065, allocations: 4.031 kB / 0.8371 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-06/0.2065, allocations: 8 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.2066, allocations: 0 / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.207, allocations: 114.6 kB / 0.8373 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.634e-05/0.207, allocations: 55.36 kB / 0.8373 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.2071, allocations: 0 / 0.8373 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.2071, allocations: 7.438 kB / 0.8373 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2071, allocations: 0 / 0.8373 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.2391, allocations: 1.64 MB / 0.8389 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 13.88 kB / 0.8389 GB, free: 1.586 MB / 0.5762 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 15.69839991722256] Failed to read output from testmodel.py, exit status != 0: 11.422943296376616 11.441008968 11.234262389 Calling exit ...