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.001743/0.001743, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002547/0.002547, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.996 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.002402/0.002402, allocations: 289.3 kB / 312.7 MB, free: 2.812 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.227/1.227, allocations: 180.6 MB / 0.5369 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 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.003193/0.003193, allocations: 97.05 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1996, allocations: 95.39 MB / 0.8328 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002232/0.2019, allocations: 0.5939 MB / 0.8333 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2042, allocations: 1.34 MB / 0.8347 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.2042, allocations: 0 / 0.8347 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.2042, allocations: 4 kB / 0.8347 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.2042, allocations: 0 / 0.8347 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.2047, allocations: 71.73 kB / 0.8347 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.2047, allocations: 4 kB / 0.8347 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.2048, allocations: 7.922 kB / 0.8347 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.2048, allocations: 0 / 0.8347 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.2048, allocations: 4 kB / 0.8347 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.2048, allocations: 7.938 kB / 0.8348 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.2051, allocations: 115.8 kB / 0.8349 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.2052, allocations: 4 kB / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.2052, allocations: 0 / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2053, allocations: 64.12 kB / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2053, allocations: 0 / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2053, allocations: 0 / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2053, allocations: 0 / 0.8349 GB, free: 6.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003144/0.2056, allocations: 258.2 kB / 0.8352 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2057, allocations: 9.344 kB / 0.8352 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.2057, allocations: 34.75 kB / 0.8352 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2058, allocations: 0.9375 kB / 0.8352 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.215e-05/0.2058, allocations: 110.5 kB / 0.8353 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.2059, allocations: 384 / 0.8353 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.2059, allocations: 384 / 0.8353 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.206, allocations: 33.83 kB / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.206, allocations: 3.938 kB / 0.8354 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.206, allocations: 4 kB / 0.8354 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.206, allocations: 0 / 0.8354 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.206, allocations: 7.984 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2061, allocations: 112.8 kB / 0.8355 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.2062, allocations: 18.61 kB / 0.8355 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.2062, allocations: 8.859 kB / 0.8355 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.2065, allocations: 36.03 kB / 0.8355 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2065, allocations: 46.48 kB / 0.8356 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 4.469e-06/0.2065, allocations: 3.984 kB / 0.8356 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.2067, allocations: 33.64 kB / 0.8356 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.2067, allocations: 51.41 kB / 0.8357 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.244e-05/0.2068, allocations: 89.86 kB / 0.8358 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2068, allocations: 25.7 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.2068, allocations: 80.14 kB / 0.8359 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2068, allocations: 4.125 kB / 0.8359 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2069, allocations: 21.72 kB / 0.8359 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.207, allocations: 310.8 kB / 0.8362 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.207, allocations: 0 / 0.8362 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-06/0.207, allocations: 7.984 kB / 0.8362 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.2071, allocations: 8.797 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2071, allocations: 4 kB / 0.8362 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.113e-05/0.2071, allocations: 29.8 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2071, allocations: 11.94 kB / 0.8362 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2071, allocations: 0 / 0.8362 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2071, allocations: 3.938 kB / 0.8362 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.941e-05/0.2072, allocations: 4 kB / 0.8362 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2072, allocations: 0 / 0.8362 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.2072, allocations: 8 kB / 0.8363 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2072, allocations: 0 / 0.8363 GB, free: 4.848 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 0.0001/0.2073, allocations: 114.5 kB / 0.8364 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.2073, allocations: 3.938 kB / 0.8364 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.2074, allocations: 44.58 kB / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2074, allocations: 0 / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2074, allocations: 0 / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2074, allocations: 4 kB / 0.8364 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.2075, allocations: 120.8 kB / 0.8365 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2075, allocations: 0 / 0.8365 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.2075, allocations: 0 / 0.8365 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2075, allocations: 7.938 kB / 0.8365 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2076, allocations: 4.031 kB / 0.8365 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2076, allocations: 0 / 0.8365 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2076, allocations: 0 / 0.8365 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.2076, allocations: 65.06 kB / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.2076, allocations: 3.938 kB / 0.8366 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.2077, allocations: 0 / 0.8366 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.2077, allocations: 0 / 0.8366 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.2077, allocations: 0 / 0.8366 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.2077, allocations: 4.031 kB / 0.8366 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.2077, allocations: 79.28 kB / 0.8367 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2077, allocations: 0 / 0.8367 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001978/0.2079, allocations: 11.92 kB / 0.8367 GB, free: 4.316 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.0005533/0.2085, allocations: 0.6085 MB / 0.8373 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.716e-05/0.2086, allocations: 7.938 kB / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2086, allocations: 0 / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.2086, allocations: 0 / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.2087, allocations: 6.812 kB / 0.8373 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.209, allocations: 110.7 kB / 0.8374 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2094, allocations: 0.669 MB / 0.8381 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.2094, allocations: 4.125 kB / 0.8381 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.2094, allocations: 11.44 kB / 0.8381 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.2094, allocations: 0 / 0.8381 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.2394, allocations: 1.253 MB / 0.8393 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.69, allocations: 14.73 kB / 0.8393 GB, free: 1.672 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.221515714998532] Failed to read output from testmodel.py, exit status != 0: 10.788649516001897 10.805451135 10.596911092 Calling exit ...