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.001269/0.001269, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.001379/0.001379, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.002468/0.002468, allocations: 288.2 kB / 309.1 MB, free: 3.98 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.422/1.422, allocations: 180.9 MB / 0.5333 GB, free: 13.83 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 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.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.002822/0.002822, allocations: 104.2 kB / 0.7343 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1869, allocations: 95.33 MB / 0.8274 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002129/0.189, allocations: 0.5896 MB / 0.828 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.191, allocations: 1.344 MB / 0.8293 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.191, allocations: 4 kB / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.191, allocations: 0 / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.191, allocations: 0 / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.1915, allocations: 71.69 kB / 0.8294 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.1915, allocations: 0 / 0.8294 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.1916, allocations: 7.922 kB / 0.8294 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.1916, allocations: 7.984 kB / 0.8294 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.1917, allocations: 4 kB / 0.8294 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1917, allocations: 4 kB / 0.8294 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.192, allocations: 111.9 kB / 0.8295 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.192, allocations: 3.984 kB / 0.8295 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1921, allocations: 0 / 0.8295 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1922, allocations: 56.16 kB / 0.8295 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1923, allocations: 0 / 0.8295 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1923, allocations: 0 / 0.8295 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.1923, allocations: 0 / 0.8295 GB, free: 7.609 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.0004331/0.1927, allocations: 336.5 kB / 0.8299 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1927, allocations: 8.031 kB / 0.8299 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.1928, allocations: 38.69 kB / 0.8299 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.1928, allocations: 0.9375 kB / 0.8299 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.193, allocations: 164.3 kB / 0.8301 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.193, allocations: 384 / 0.8301 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.193, allocations: 4.375 kB / 0.8301 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1931, allocations: 33.81 kB / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1931, allocations: 0 / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1931, allocations: 0 / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1931, allocations: 0 / 0.8301 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.1932, allocations: 4 kB / 0.8301 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1933, allocations: 149.7 kB / 0.8303 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.1934, allocations: 22.55 kB / 0.8303 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.1934, allocations: 8.844 kB / 0.8303 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006157/0.194, allocations: 0.5584 MB / 0.8308 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1941, allocations: 38.5 kB / 0.8309 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1941, allocations: 3.938 kB / 0.8309 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.1942, allocations: 37.69 kB / 0.8309 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1942, allocations: 55.34 kB / 0.831 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.371e-05/0.1943, allocations: 89.86 kB / 0.831 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1943, allocations: 29.7 kB / 0.8311 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.1943, allocations: 80.14 kB / 0.8311 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.1944, allocations: 0 / 0.8311 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1944, allocations: 17.84 kB / 0.8312 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1945, allocations: 310.8 kB / 0.8315 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-06/0.1945, allocations: 0 / 0.8315 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.1945, allocations: 7.984 kB / 0.8315 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.1946, allocations: 4.859 kB / 0.8315 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1946, allocations: 0 / 0.8315 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.167e-05/0.1946, allocations: 41.64 kB / 0.8315 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1947, allocations: 12.03 kB / 0.8315 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1947, allocations: 0 / 0.8315 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1947, allocations: 0 / 0.8315 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.1947, allocations: 4 kB / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1947, allocations: 0 / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.1947, allocations: 0 / 0.8315 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1948, allocations: 0 / 0.8315 GB, free: 5.219 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 9.102e-05/0.1948, allocations: 109.8 kB / 0.8316 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1949, allocations: 7.938 kB / 0.8316 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/0.195, allocations: 44.77 kB / 0.8317 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.195, allocations: 3.984 kB / 0.8317 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.195, allocations: 0 / 0.8317 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.195, allocations: 0 / 0.8317 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1951, allocations: 153.7 kB / 0.8318 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1951, allocations: 0 / 0.8318 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.1951, allocations: 3.938 kB / 0.8318 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1951, allocations: 3.938 kB / 0.8318 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1951, allocations: 4 kB / 0.8318 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1951, allocations: 4.031 kB / 0.8318 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1951, allocations: 4 kB / 0.8319 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.729e-05/0.1952, allocations: 57.12 kB / 0.8319 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1953, allocations: 85 kB / 0.832 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.1953, allocations: 0 / 0.832 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-06/0.1953, allocations: 4 kB / 0.832 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.1953, allocations: 0 / 0.832 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1953, allocations: 4.031 kB / 0.832 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.1953, allocations: 75.28 kB / 0.8321 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1953, allocations: 0 / 0.8321 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002002/0.1955, allocations: 19.86 kB / 0.8321 GB, free: 4.547 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.0005138/0.196, allocations: 0.6046 MB / 0.8327 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.1961, allocations: 8.031 kB / 0.8327 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1961, allocations: 0 / 0.8327 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.1961, allocations: 8 kB / 0.8327 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1963, allocations: 3.812 kB / 0.8327 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.1966, allocations: 110.6 kB / 0.8328 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1969, allocations: 0.6729 MB / 0.8335 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.1969, allocations: 4.125 kB / 0.8335 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.197, allocations: 7.438 kB / 0.8335 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.197, allocations: 0 / 0.8335 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.2205, allocations: 1.167 MB / 0.8346 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.247, allocations: 3.047 kB / 0.8346 GB, free: 2.008 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 & 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: 12.62326626200229] Failed to read output from testmodel.py, exit status != 0: 8.316218773834407 8.343996448 8.146553175 Calling exit ...