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.001268/0.001268, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001744/0.001744, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] 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.002474/0.002474, allocations: 289.5 kB / 312.7 MB, free: 2.672 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.141/1.141, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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.002886/0.002886, allocations: 100.6 kB / 0.7395 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1827, allocations: 95.38 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.00321/0.1859, allocations: 1.697 MB / 0.8343 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1885, allocations: 1.714 MB / 0.836 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.1886, allocations: 0 / 0.836 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.1888, allocations: 47.7 kB / 0.836 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1892, allocations: 111.5 kB / 0.8361 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1894, allocations: 91.64 kB / 0.8362 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1896, allocations: 139.5 kB / 0.8363 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.1897, allocations: 5.641 kB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1898, allocations: 67.7 kB / 0.8364 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.19, allocations: 59.69 kB / 0.8365 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.19, allocations: 8 kB / 0.8365 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1902, allocations: 103.9 kB / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.1903, allocations: 35.84 kB / 0.8366 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.1903, allocations: 39.78 kB / 0.8366 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1907, allocations: 211.4 kB / 0.8368 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1907, allocations: 0 / 0.8368 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1907, allocations: 0 / 0.8368 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1907, allocations: 0 / 0.8368 GB, free: 3.98 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.0006661/0.1913, allocations: 397.1 kB / 0.8372 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1914, allocations: 13.34 kB / 0.8372 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1914, allocations: 34.73 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.1916, allocations: 16.89 kB / 0.8373 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1919, allocations: 171.1 kB / 0.8374 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1919, allocations: 12.3 kB / 0.8375 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1919, allocations: 7.938 kB / 0.8375 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1922, allocations: 130.7 kB / 0.8376 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1922, allocations: 0 / 0.8376 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1922, allocations: 0 / 0.8376 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1922, allocations: 0 / 0.8376 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1924, allocations: 59.89 kB / 0.8376 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.1926, allocations: 178.5 kB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1929, allocations: 119.7 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.193, allocations: 50.61 kB / 0.838 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1931, allocations: 0 / 0.838 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.1933, allocations: 113.9 kB / 0.8381 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1933, allocations: 4 kB / 0.8381 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005064/0.1938, allocations: 173.5 kB / 0.8383 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.1939, allocations: 132.5 kB / 0.8384 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1941, allocations: 203.1 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1941, allocations: 29.7 kB / 0.8386 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1942, allocations: 112.1 kB / 0.8387 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1943, allocations: 19.86 kB / 0.8387 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.1943, allocations: 29.95 kB / 0.8388 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1945, allocations: 326.8 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1946, allocations: 35.97 kB / 0.8391 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1947, allocations: 89.91 kB / 0.8392 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.195, allocations: 99.59 kB / 0.8393 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.195, allocations: 7.969 kB / 0.8393 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003383/0.1953, allocations: 141.5 kB / 0.8394 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1953, allocations: 4 kB / 0.8394 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1953, allocations: 0 / 0.8394 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1953, allocations: 4 kB / 0.8394 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1955, allocations: 27.91 kB / 0.8395 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1955, allocations: 0 / 0.8395 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.1956, allocations: 20.03 kB / 0.8395 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1956, allocations: 0 / 0.8395 GB, free: 0.9688 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.00012/0.1957, allocations: 134.9 kB / 0.8396 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1957, allocations: 15.89 kB / 0.8396 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.196, allocations: 127 kB / 0.8397 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.196, allocations: 3.984 kB / 0.8398 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.196, allocations: 4 kB / 0.8398 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.196, allocations: 192 / 0.8398 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1962, allocations: 176.6 kB / 0.8399 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1962, allocations: 3.938 kB / 0.8399 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.1963, allocations: 19.98 kB / 0.8399 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1963, allocations: 4 kB / 0.84 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1963, allocations: 0 / 0.84 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1963, allocations: 4 kB / 0.84 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1963, allocations: 3.938 kB / 0.84 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1967, allocations: 186.6 kB / 0.8401 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.1967, allocations: 11.89 kB / 0.8401 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1967, allocations: 0 / 0.8401 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.1968, allocations: 19.98 kB / 0.8402 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1969, allocations: 7.984 kB / 0.8402 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1969, allocations: 4 kB / 0.8402 GB, free: 180 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00016/0.197, allocations: 153.1 kB / 0.8403 GB, free: 28 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.197, allocations: 0 / 0.8403 GB, free: 28 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002971/0.1973, allocations: 47.91 kB / 0.8404 GB, free: 15.98 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.00241/0.1998, allocations: 1.164 MB / 0.8415 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.2001, allocations: 87.88 kB / 0.8416 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.2001, allocations: 4 kB / 0.8416 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2002, allocations: 43.91 kB / 0.8416 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.2005, allocations: 31.97 kB / 0.8417 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.2027, allocations: 1.77 MB / 0.8434 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.2028, allocations: 97.17 kB / 0.8435 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.027e-05/0.2029, allocations: 24.78 kB / 0.8435 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.203, allocations: 47.41 kB / 0.8436 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.203, allocations: 0 / 0.8436 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.2382, allocations: 5.161 MB / 0.8486 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.95, allocations: 15.47 kB / 0.8486 GB, free: 7.672 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 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: 14.893807701766491] Failed to read output from testmodel.py, exit status != 0: 11.110380514059216 11.138213814 10.942361123 Calling exit ...