Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.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.001369/0.001369, allocations: 111.6 kB / 16.45 MB, free: 6.488 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.001468/0.001468, allocations: 220.2 kB / 19.43 MB, free: 3.656 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.436/1.436, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.002729/0.002729, allocations: 290 kB / 309.1 MB, free: 3.973 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.213/1.213, allocations: 180.9 MB / 0.5333 GB, free: 13.9 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 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.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",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.002842/0.002842, allocations: 101.4 kB / 0.7342 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1834, allocations: 95.35 MB / 0.8273 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003148/0.1866, allocations: 1.728 MB / 0.829 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1893, allocations: 1.697 MB / 0.8307 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1894, allocations: 7.938 kB / 0.8307 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1897, allocations: 39.77 kB / 0.8307 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.1901, allocations: 107.5 kB / 0.8308 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1904, allocations: 95.66 kB / 0.8309 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1907, allocations: 143.5 kB / 0.8311 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.1907, allocations: 5.453 kB / 0.8311 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.191, allocations: 67.64 kB / 0.8311 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1912, allocations: 56.95 kB / 0.8312 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1912, allocations: 8 kB / 0.8312 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.1914, allocations: 127.8 kB / 0.8313 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1915, allocations: 19.92 kB / 0.8313 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.1916, allocations: 47.67 kB / 0.8314 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.1919, allocations: 203.5 kB / 0.8316 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1919, allocations: 4 kB / 0.8316 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1919, allocations: 3.938 kB / 0.8316 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.1919, allocations: 0 / 0.8316 GB, free: 5.52 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.0007384/0.1927, allocations: 474.3 kB / 0.832 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1927, allocations: 8.031 kB / 0.8321 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.1928, allocations: 38.73 kB / 0.8321 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1929, allocations: 20.84 kB / 0.8321 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1933, allocations: 236.9 kB / 0.8323 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1933, allocations: 384 / 0.8323 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1933, allocations: 7.938 kB / 0.8323 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1936, allocations: 97.03 kB / 0.8324 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1936, allocations: 0 / 0.8324 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1936, allocations: 0 / 0.8324 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1936, allocations: 7.984 kB / 0.8324 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1938, allocations: 47.91 kB / 0.8325 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.1941, allocations: 211.5 kB / 0.8327 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1944, allocations: 119.7 kB / 0.8328 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1945, allocations: 42.62 kB / 0.8328 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.1945, allocations: 7.984 kB / 0.8329 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.1948, allocations: 109.9 kB / 0.833 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1948, allocations: 0 / 0.833 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005218/0.1953, allocations: 161.5 kB / 0.8331 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.1954, allocations: 136.8 kB / 0.8332 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1956, allocations: 198.9 kB / 0.8334 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1956, allocations: 25.7 kB / 0.8335 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.1957, allocations: 108.1 kB / 0.8336 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1957, allocations: 31.77 kB / 0.8336 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1958, allocations: 25.72 kB / 0.8336 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1959, allocations: 318.8 kB / 0.8339 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.196, allocations: 39.91 kB / 0.834 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1962, allocations: 64.27 kB / 0.834 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.1964, allocations: 99.62 kB / 0.8341 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1964, allocations: 4.125 kB / 0.8341 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003818/0.1968, allocations: 137.5 kB / 0.8342 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1968, allocations: 7.938 kB / 0.8343 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1968, allocations: 0 / 0.8343 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1968, allocations: 4 kB / 0.8343 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.197, allocations: 23.92 kB / 0.8343 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.197, allocations: 4.094 kB / 0.8343 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.1971, allocations: 11.98 kB / 0.8343 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1971, allocations: 4 kB / 0.8343 GB, free: 2.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001224/0.1972, allocations: 129.7 kB / 0.8344 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1972, allocations: 11.91 kB / 0.8344 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.1973, allocations: 21.39 kB / 0.8345 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1973, allocations: 0 / 0.8345 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1973, allocations: 0 / 0.8345 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1973, allocations: 4 kB / 0.8345 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1975, allocations: 217.5 kB / 0.8347 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1975, allocations: 0 / 0.8347 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.869e-05/0.1976, allocations: 19.92 kB / 0.8347 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1976, allocations: 0 / 0.8347 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1976, allocations: 4 kB / 0.8347 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1976, allocations: 0 / 0.8347 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1976, allocations: 0 / 0.8347 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.198, allocations: 174.7 kB / 0.8349 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.198, allocations: 89.02 kB / 0.8349 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.1981, allocations: 4 kB / 0.8349 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.1981, allocations: 7.984 kB / 0.835 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.1982, allocations: 19.91 kB / 0.835 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.1982, allocations: 12 kB / 0.835 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001697/0.1984, allocations: 149.2 kB / 0.8351 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 0.8351 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002959/0.1987, allocations: 43.86 kB / 0.8352 GB, free: 1.418 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002422/0.2011, allocations: 1.095 MB / 0.8362 GB, free: 492 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2014, allocations: 91.77 kB / 0.8363 GB, free: 400 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2015, allocations: 0 / 0.8363 GB, free: 400 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.2016, allocations: 39.97 kB / 0.8364 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.2019, allocations: 24.8 kB / 0.8364 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.2044, allocations: 1.745 MB / 0.8381 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.2047, allocations: 0.7041 MB / 0.8388 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.785e-05/0.2048, allocations: 24.62 kB / 0.8388 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.534e-05/0.2049, allocations: 47.41 kB / 0.8388 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.2049, allocations: 0 / 0.8388 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2348, allocations: 4.395 MB / 0.8431 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.449, allocations: 17.42 kB / 0.8432 GB, free: 9.332 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.663382665719837] Failed to read output from testmodel.py, exit status != 0: 8.572278106585145 8.58848956 8.393476665 Calling exit ...