Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.00175/0.00175, allocations: 109.2 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.002301/0.002301, allocations: 214.8 kB / 22.25 MB, free: 5.129 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.477/1.477, 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.002561/0.002561, allocations: 283.5 kB / 312.7 MB, free: 2.824 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.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate",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.002833/0.002833, allocations: 95.12 kB / 0.7396 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1847, allocations: 95.4 MB / 0.8328 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002917/0.1876, allocations: 1.523 MB / 0.8343 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.189, allocations: 0.7923 MB / 0.835 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.1891, allocations: 0 / 0.835 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1893, allocations: 127.8 kB / 0.8352 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1894, allocations: 75.81 kB / 0.8352 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.1901, allocations: 183.8 kB / 0.8354 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1902, allocations: 59.86 kB / 0.8355 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.1903, allocations: 7.938 kB / 0.8355 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.704e-05/0.1904, allocations: 51.81 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1905, allocations: 87.83 kB / 0.8356 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1905, allocations: 0 / 0.8356 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.191, allocations: 259.6 kB / 0.8359 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.386e-05/0.1911, allocations: 59.83 kB / 0.8359 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.1911, allocations: 59.48 kB / 0.836 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1915, allocations: 267 kB / 0.8362 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1915, allocations: 3.938 kB / 0.8362 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1915, allocations: 0 / 0.8362 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1915, allocations: 0 / 0.8362 GB, free: 5.031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007389/0.1923, allocations: 456.7 kB / 0.8367 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1923, allocations: 13.34 kB / 0.8367 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1924, allocations: 30.75 kB / 0.8367 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.1924, allocations: 20.8 kB / 0.8367 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1927, allocations: 206.7 kB / 0.8369 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1927, allocations: 4.375 kB / 0.8369 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1927, allocations: 8.344 kB / 0.8369 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1929, allocations: 73.8 kB / 0.837 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1929, allocations: 4 kB / 0.837 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1929, allocations: 4 kB / 0.837 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1929, allocations: 3.984 kB / 0.837 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.1931, allocations: 87.88 kB / 0.8371 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.1937, allocations: 355.9 kB / 0.8374 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1939, allocations: 94.52 kB / 0.8375 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.194, allocations: 44.89 kB / 0.8376 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.1941, allocations: 19.98 kB / 0.8376 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1941, allocations: 30.56 kB / 0.8376 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1941, allocations: 0 / 0.8376 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004443/0.1946, allocations: 185.4 kB / 0.8378 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1946, allocations: 51.41 kB / 0.8378 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.195, allocations: 360.4 kB / 0.8382 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.195, allocations: 25.7 kB / 0.8382 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1951, allocations: 144 kB / 0.8383 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.1951, allocations: 3.953 kB / 0.8384 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.1952, allocations: 33.69 kB / 0.8384 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1953, allocations: 342.9 kB / 0.8387 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1955, allocations: 95.94 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1957, allocations: 97.62 kB / 0.8389 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.196, allocations: 208.7 kB / 0.8391 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.196, allocations: 0 / 0.8391 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003716/0.1963, allocations: 255.5 kB / 0.8393 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1963, allocations: 11.94 kB / 0.8394 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1964, allocations: 0 / 0.8394 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1964, allocations: 0 / 0.8394 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.1965, allocations: 7.984 kB / 0.8394 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1965, allocations: 4 kB / 0.8394 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.1965, allocations: 11.89 kB / 0.8394 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1965, allocations: 0 / 0.8394 GB, free: 1.613 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001543/0.1967, allocations: 154.4 kB / 0.8395 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.1967, allocations: 19.86 kB / 0.8395 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.197, allocations: 146.6 kB / 0.8397 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.197, allocations: 0 / 0.8397 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.197, allocations: 4 kB / 0.8397 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.197, allocations: 0 / 0.8397 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1973, allocations: 216.6 kB / 0.8399 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1973, allocations: 0 / 0.8399 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.1974, allocations: 8.031 kB / 0.8399 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1974, allocations: 0 / 0.8399 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1974, allocations: 7.984 kB / 0.8399 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1974, allocations: 3.984 kB / 0.8399 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1974, allocations: 0 / 0.8399 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.1977, allocations: 239.2 kB / 0.8401 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1977, allocations: 27.89 kB / 0.8402 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1978, allocations: 0 / 0.8402 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.1978, allocations: 7.984 kB / 0.8402 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1979, allocations: 0 / 0.8402 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1979, allocations: 0 / 0.8402 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002663/0.1981, allocations: 255 kB / 0.8404 GB, free: 480 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1981, allocations: 0 / 0.8404 GB, free: 480 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003508/0.1985, allocations: 67.88 kB / 0.8405 GB, free: 412 kB / 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.0008537/0.1994, allocations: 0.8176 MB / 0.8413 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.1997, allocations: 147.8 kB / 0.8414 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1997, allocations: 11.91 kB / 0.8414 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1998, allocations: 43.97 kB / 0.8415 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2002, allocations: 16.44 kB / 0.8415 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.2033, allocations: 2.72 MB / 0.8441 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.2037, allocations: 0.7353 MB / 0.8449 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.2038, allocations: 16.48 kB / 0.8449 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.2038, allocations: 51.47 kB / 0.8449 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.2038, allocations: 3.938 kB / 0.8449 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.2337, allocations: 4.418 MB / 0.8492 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 20.27 kB / 0.8493 GB, free: 7.445 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Interpolate.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.366380225001194] Failed to read output from testmodel.py, exit status != 0: 11.15956627199921 11.175494985 10.98101604 Calling exit ...