Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 184.3 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 98.33 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 6.219 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001613/0.1918, allocations: 1.367 MB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1932, allocations: 1.336 MB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.1933, allocations: 0 / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1935, allocations: 31.78 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1937, allocations: 51.81 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.194, allocations: 82.89 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1941, allocations: 79.83 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.1942, allocations: 9.109 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1943, allocations: 51.78 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1944, allocations: 43.83 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1945, allocations: 4 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.1946, allocations: 39.86 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.1946, allocations: 23.95 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1946, allocations: 41.64 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1948, allocations: 100.1 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1948, allocations: 4 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1948, allocations: 3.938 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1948, allocations: 0 / 0.9033 GB, free: 60.53 MB / 0.6042 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.000517/0.1953, allocations: 426.9 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1954, allocations: 12.03 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.1954, allocations: 34.56 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1955, allocations: 19.77 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1957, allocations: 214.8 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1957, allocations: 0 / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1957, allocations: 4 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.196, allocations: 109 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1961, allocations: 0 / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1961, allocations: 3.938 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1961, allocations: 0 / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.1963, allocations: 67.84 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1965, allocations: 207.5 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1967, allocations: 119.9 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1967, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.1969, allocations: 117.9 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1969, allocations: 0 / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004142/0.1974, allocations: 177.6 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1974, allocations: 128.5 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1975, allocations: 182.8 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1976, allocations: 25.7 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1976, allocations: 104.1 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1976, allocations: 23.64 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1976, allocations: 8.062 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.983e-05/0.1977, allocations: 322.8 kB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.1978, allocations: 39.97 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.1979, allocations: 72.2 kB / 0.9056 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.198, allocations: 39.92 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.198, allocations: 4 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000248/0.1983, allocations: 137.4 kB / 0.9058 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1983, allocations: 7.984 kB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1983, allocations: 8.297 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1983, allocations: 0 / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1984, allocations: 23.92 kB / 0.9059 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1985, allocations: 8 kB / 0.9059 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1985, allocations: 16.09 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1986, allocations: 7.953 kB / 0.9059 GB, free: 57.61 MB / 0.6042 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.1986, allocations: 127 kB / 0.906 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.1987, allocations: 11.81 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1987, allocations: 25.39 kB / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1987, allocations: 0 / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1987, allocations: 0 / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1987, allocations: 0 / 0.906 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1989, allocations: 205.5 kB / 0.9062 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1989, allocations: 8 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.1989, allocations: 16.17 kB / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.199, allocations: 0 / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.199, allocations: 7.938 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.199, allocations: 3.984 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.199, allocations: 0 / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1993, allocations: 202 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.1993, allocations: 96.91 kB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1993, allocations: 4 kB / 0.9066 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1994, allocations: 11.98 kB / 0.9066 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1995, allocations: 15.95 kB / 0.9066 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1995, allocations: 3.984 kB / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.867e-05/0.1996, allocations: 131.2 kB / 0.9067 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1996, allocations: 0 / 0.9067 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002303/0.1998, allocations: 27.98 kB / 0.9067 GB, free: 56.62 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.201, allocations: 1.223 MB / 0.9079 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2013, allocations: 91.95 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2013, allocations: 4 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2014, allocations: 43.97 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.2016, allocations: 26.11 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2027, allocations: 1.247 MB / 0.9093 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2028, allocations: 0.7004 MB / 0.91 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.2029, allocations: 28.72 kB / 0.91 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.203, allocations: 47.41 kB / 0.9101 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.203, allocations: 0 / 0.9101 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.2169, allocations: 3.284 MB / 0.9133 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.2171, allocations: 223.6 kB / 0.9135 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.703, allocations: 3.938 kB / 0.9135 GB, free: 49.83 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)