Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005293/0.005293, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004739, allocations: 11.12 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1823, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001694/0.184, allocations: 1.402 MB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1856, allocations: 1.379 MB / 0.7907 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1857, allocations: 0 / 0.7907 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1859, allocations: 39.83 kB / 0.7908 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1861, allocations: 59.75 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1863, allocations: 78.34 kB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1865, allocations: 115.6 kB / 0.791 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.1865, allocations: 9.109 kB / 0.791 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1867, allocations: 51.72 kB / 0.7911 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1868, allocations: 59.75 kB / 0.7911 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1868, allocations: 4 kB / 0.7911 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.187, allocations: 51.98 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.187, allocations: 31.83 kB / 0.7912 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.1871, allocations: 65.44 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1873, allocations: 143.8 kB / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1873, allocations: 0 / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1873, allocations: 0 / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.287e-06/0.1873, allocations: 0 / 0.7914 GB, free: 7.961 MB / 0.6075 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.0005009/0.1878, allocations: 423.1 kB / 0.7918 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1878, allocations: 8.031 kB / 0.7918 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.1879, allocations: 38.73 kB / 0.7918 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1879, allocations: 8.844 kB / 0.7918 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1881, allocations: 223.9 kB / 0.7921 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1881, allocations: 12.31 kB / 0.7921 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1882, allocations: 3.938 kB / 0.7921 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1884, allocations: 105.1 kB / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1884, allocations: 0 / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1884, allocations: 0 / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1884, allocations: 4 kB / 0.7922 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1886, allocations: 63.89 kB / 0.7922 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.1888, allocations: 203.5 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1891, allocations: 127.7 kB / 0.7926 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1892, allocations: 54.61 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1892, allocations: 7.922 kB / 0.7926 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1895, allocations: 117.9 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1895, allocations: 0 / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004557/0.1899, allocations: 177.3 kB / 0.7929 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.19, allocations: 136.5 kB / 0.793 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1902, allocations: 175.4 kB / 0.7932 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1902, allocations: 29.95 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1902, allocations: 104.1 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.1903, allocations: 23.66 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.1903, allocations: 21.7 kB / 0.7934 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.1904, allocations: 326.8 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1905, allocations: 31.98 kB / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1906, allocations: 72.27 kB / 0.7938 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.1909, allocations: 107.6 kB / 0.7939 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1909, allocations: 3.938 kB / 0.7939 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002855/0.1912, allocations: 137.4 kB / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1912, allocations: 12.09 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1912, allocations: 0 / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.1912, allocations: 0 / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1913, allocations: 23.98 kB / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1913, allocations: 0 / 0.794 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.1914, allocations: 15.89 kB / 0.7941 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1914, allocations: 4 kB / 0.7941 GB, free: 4.887 MB / 0.6075 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 9.682e-05/0.1916, allocations: 137.7 kB / 0.7942 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1916, allocations: 11.91 kB / 0.7942 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1916, allocations: 13.41 kB / 0.7942 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1916, allocations: 3.938 kB / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1916, allocations: 4 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1916, allocations: 3.984 kB / 0.7942 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1918, allocations: 205.5 kB / 0.7944 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1918, allocations: 3.984 kB / 0.7944 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.1919, allocations: 12 kB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1919, allocations: 8 kB / 0.7945 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1919, allocations: 3.984 kB / 0.7945 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1919, allocations: 0 / 0.7945 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1919, allocations: 4 kB / 0.7945 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.1922, allocations: 178.6 kB / 0.7946 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.1923, allocations: 96.86 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1923, allocations: 3.984 kB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.1924, allocations: 8 kB / 0.7947 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1925, allocations: 11.98 kB / 0.7947 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1925, allocations: 4 kB / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.874e-05/0.1926, allocations: 139.2 kB / 0.7949 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1926, allocations: 0 / 0.7949 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002361/0.1928, allocations: 32 kB / 0.7949 GB, free: 3.914 MB / 0.6075 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.001346/0.1942, allocations: 1.055 MB / 0.7959 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.1945, allocations: 95.89 kB / 0.796 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1945, allocations: 0 / 0.796 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1946, allocations: 55.91 kB / 0.7961 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1949, allocations: 30.11 kB / 0.7961 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.1967, allocations: 1.727 MB / 0.7978 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1969, allocations: 0.7043 MB / 0.7985 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.197, allocations: 24.47 kB / 0.7985 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1971, allocations: 43.41 kB / 0.7986 GB, free: 192 kB / 0.6075 GB Notification: Performance of SimCode: time 2.024e-06/0.1971, allocations: 0 / 0.7986 GB, free: 192 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.389/1.586, allocations: 3.31 MB / 0.8018 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.587, allocations: 254.2 kB / 0.802 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/3.316, allocations: 0 / 0.802 GB, free: 12.74 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)