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.001078/0.001078, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001077/0.001077, allocations: 190.1 kB / 16.25 MB, free: 6.629 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.087/1.087, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.487/1.487, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.0013/0.0013, allocations: 65.81 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1862, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00263/0.1888, allocations: 1.745 MB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1904, allocations: 1.398 MB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.1905, allocations: 3.938 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1907, allocations: 31.89 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1909, allocations: 55.77 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.1911, allocations: 87.83 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1913, allocations: 131.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.1913, allocations: 9.109 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1914, allocations: 55.78 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1916, allocations: 51.7 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1916, allocations: 8 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1917, allocations: 67.95 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.1918, allocations: 19.92 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.1918, allocations: 43.73 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.192, allocations: 151.8 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.192, allocations: 7.938 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.192, allocations: 0 / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.192, allocations: 0 / 0.7867 GB, free: 9.914 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.0005192/0.1926, allocations: 434.9 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1926, allocations: 8.031 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.1926, allocations: 42.73 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1927, allocations: 12.75 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.1929, allocations: 224 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1929, allocations: 4.375 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1929, allocations: 7.922 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1931, allocations: 97.03 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1931, allocations: 0 / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1932, allocations: 4 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1932, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1933, allocations: 51.95 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.1935, allocations: 211.4 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1938, allocations: 119.7 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1939, allocations: 46.61 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1939, allocations: 4 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.1941, allocations: 113.9 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1941, allocations: 0 / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004158/0.1946, allocations: 165.6 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1946, allocations: 128.8 kB / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1948, allocations: 183.4 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1948, allocations: 29.7 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1949, allocations: 104.1 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1949, allocations: 31.62 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1949, allocations: 21.72 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.195, allocations: 318.8 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.1951, allocations: 35.97 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1953, allocations: 68.22 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.1955, allocations: 99.36 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1955, allocations: 3.938 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002611/0.1957, allocations: 125.5 kB / 0.7893 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1958, allocations: 4 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1958, allocations: 3.984 kB / 0.7893 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1958, allocations: 4.188 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1959, allocations: 19.98 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1959, allocations: 11.97 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.196, allocations: 11.91 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.196, allocations: 4 kB / 0.7894 GB, free: 6.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 8.294e-05/0.1961, allocations: 125.8 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1961, allocations: 11.91 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.1962, allocations: 25.33 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1962, allocations: 4 kB / 0.7895 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1962, allocations: 3.984 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1962, allocations: 0 / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1964, allocations: 209.5 kB / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1964, allocations: 0 / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1964, allocations: 15.98 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1965, allocations: 0 / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1965, allocations: 4 kB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1965, allocations: 4.125 kB / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1965, allocations: 3.938 kB / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1968, allocations: 166.6 kB / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.1968, allocations: 96.86 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1969, allocations: 4 kB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.197, allocations: 7.984 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.197, allocations: 11.98 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.197, allocations: 4 kB / 0.79 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001022/0.1971, allocations: 139.2 kB / 0.7902 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1971, allocations: 0 / 0.7902 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002341/0.1974, allocations: 32 kB / 0.7902 GB, free: 5.93 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.001364/0.1987, allocations: 1.041 MB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.199, allocations: 84.02 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.199, allocations: 4.062 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1991, allocations: 47.84 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1994, allocations: 27.64 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.2012, allocations: 1.706 MB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2015, allocations: 0.7002 MB / 0.7937 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.542e-05/0.2016, allocations: 28.52 kB / 0.7938 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.2016, allocations: 43.41 kB / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2016, allocations: 0 / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.525/4.726, allocations: 3.614 MB / 0.7973 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/4.727, allocations: 247.2 kB / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/6.339, allocations: 0 / 0.7976 GB, free: 14.49 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)