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.001274/0.001274, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00146/0.00146, allocations: 212.2 kB / 22.25 MB, free: 4.855 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.4/1.4, 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.002551/0.002551, allocations: 293.4 kB / 312.7 MB, free: 2.699 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.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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.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.002835/0.002835, allocations: 106.3 kB / 0.7395 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1744, allocations: 95.38 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00317/0.1776, allocations: 1.691 MB / 0.8343 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.1804, allocations: 1.715 MB / 0.836 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.1805, allocations: 4 kB / 0.836 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.1808, allocations: 43.7 kB / 0.836 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1812, allocations: 107.5 kB / 0.8361 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1814, allocations: 95.64 kB / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1817, allocations: 139.5 kB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.1817, allocations: 5.641 kB / 0.8363 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1819, allocations: 75.7 kB / 0.8364 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009712/0.1829, allocations: 55.69 kB / 0.8365 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1829, allocations: 8 kB / 0.8365 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.1831, allocations: 107.9 kB / 0.8366 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.1832, allocations: 23.86 kB / 0.8366 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.1832, allocations: 43.72 kB / 0.8366 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1836, allocations: 207.5 kB / 0.8368 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1836, allocations: 0 / 0.8368 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1836, allocations: 0 / 0.8368 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1836, allocations: 0 / 0.8368 GB, free: 3.973 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.0006696/0.1842, allocations: 405.1 kB / 0.8372 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1843, allocations: 9.344 kB / 0.8372 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.1843, allocations: 38.73 kB / 0.8373 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.1845, allocations: 16.89 kB / 0.8373 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1848, allocations: 171 kB / 0.8374 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1848, allocations: 8.375 kB / 0.8375 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1849, allocations: 3.938 kB / 0.8375 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1851, allocations: 130.8 kB / 0.8376 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1851, allocations: 4 kB / 0.8376 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1851, allocations: 3.984 kB / 0.8376 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1851, allocations: 0 / 0.8376 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1853, allocations: 55.89 kB / 0.8376 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1856, allocations: 182.5 kB / 0.8378 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1859, allocations: 115.7 kB / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1861, allocations: 54.61 kB / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1861, allocations: 0 / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.1863, allocations: 117.9 kB / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1863, allocations: 0 / 0.8381 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004917/0.1868, allocations: 173.4 kB / 0.8383 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.1869, allocations: 132.8 kB / 0.8384 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1871, allocations: 207.1 kB / 0.8386 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1872, allocations: 25.7 kB / 0.8386 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.1872, allocations: 108.1 kB / 0.8387 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1873, allocations: 27.78 kB / 0.8387 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.1873, allocations: 25.7 kB / 0.8388 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1875, allocations: 326.8 kB / 0.8391 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1876, allocations: 31.98 kB / 0.8391 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1877, allocations: 93.91 kB / 0.8392 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1879, allocations: 107.6 kB / 0.8393 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.188, allocations: 3.938 kB / 0.8393 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003023/0.1883, allocations: 141.4 kB / 0.8394 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1883, allocations: 4 kB / 0.8394 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1883, allocations: 4.094 kB / 0.8394 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1883, allocations: 4 kB / 0.8394 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1884, allocations: 19.98 kB / 0.8395 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.1884, allocations: 0 / 0.8395 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.589e-05/0.1885, allocations: 19.92 kB / 0.8395 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1885, allocations: 4 kB / 0.8395 GB, free: 0.9492 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.0001235/0.1886, allocations: 131.4 kB / 0.8396 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1887, allocations: 15.91 kB / 0.8396 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1889, allocations: 119.1 kB / 0.8397 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1889, allocations: 8 kB / 0.8397 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1889, allocations: 0 / 0.8397 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1889, allocations: 3.984 kB / 0.8398 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1891, allocations: 176.6 kB / 0.8399 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1891, allocations: 0 / 0.8399 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.1892, allocations: 19.98 kB / 0.8399 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1892, allocations: 3.938 kB / 0.8399 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1892, allocations: 0 / 0.8399 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1892, allocations: 4 kB / 0.8399 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1892, allocations: 0 / 0.8399 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1896, allocations: 190.6 kB / 0.8401 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1896, allocations: 11.94 kB / 0.8401 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1896, allocations: 4 kB / 0.8401 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.1897, allocations: 16.05 kB / 0.8402 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1898, allocations: 7.984 kB / 0.8402 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1898, allocations: 4 kB / 0.8402 GB, free: 168 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001412/0.1899, allocations: 153.1 kB / 0.8403 GB, free: 16 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1899, allocations: 4 kB / 0.8403 GB, free: 12 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002824/0.1902, allocations: 52.08 kB / 0.8404 GB, free: 15.96 MB / 0.5919 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002372/0.1926, allocations: 1.155 MB / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.1929, allocations: 95.75 kB / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1929, allocations: 0 / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.193, allocations: 44.22 kB / 0.8416 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1933, allocations: 36.53 kB / 0.8417 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1955, allocations: 1.77 MB / 0.8434 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.106e-05/0.1956, allocations: 97.17 kB / 0.8435 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.09e-05/0.1957, allocations: 20.78 kB / 0.8435 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.1958, allocations: 47.41 kB / 0.8436 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.1958, allocations: 0 / 0.8436 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.2369, allocations: 5.171 MB / 0.8486 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.04, allocations: 7.922 kB / 0.8486 GB, free: 7.66 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.126356108114123] Failed to read output from testmodel.py, exit status != 0: 11.195190000813454 11.213564945 11.027002226 Calling exit ...