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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 289.9 MB / 297.4 MB, free: 6.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 172.9 kB / 366.7 MB, free: 1.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.2 MB / 0.626 GB, free: 7.207 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 81.28 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.391e-05, allocations: 0 / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8087, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/1.042, allocations: 142.1 MB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.043, allocations: 84.56 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01304/1.056, allocations: 4.4 MB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.094e-06/1.056, allocations: 0.6562 kB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.64e-05/1.056, allocations: 0 / 1.116 GB, free: 3.707 MB / 0.7136 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.0006277/1.056, allocations: 433.8 kB / 1.117 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.056, allocations: 8.031 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/1.057, allocations: 7.906 kB / 1.117 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/1.057, allocations: 221.1 kB / 1.117 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/1.057, allocations: 4 kB / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.057, allocations: 3.984 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001279/1.057, allocations: 35.97 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/1.057, allocations: 88.61 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.057, allocations: 0 / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/1.057, allocations: 4 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.057, allocations: 3.938 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/1.058, allocations: 191.9 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/1.058, allocations: 103.2 kB / 1.118 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/1.058, allocations: 38.75 kB / 1.118 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/1.058, allocations: 4.656 kB / 1.118 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/1.058, allocations: 104.4 kB / 1.118 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/1.058, allocations: 0 / 1.118 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003231/1.058, allocations: 112 kB / 1.118 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/1.059, allocations: 128.5 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/1.059, allocations: 161.9 kB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/1.059, allocations: 33.7 kB / 1.118 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/1.059, allocations: 107.3 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/1.059, allocations: 23.73 kB / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-06/1.059, allocations: 0 / 1.118 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.059, allocations: 322.8 kB / 1.118 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/1.059, allocations: 24 kB / 1.119 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/1.059, allocations: 52.28 kB / 1.119 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/1.059, allocations: 35.95 kB / 1.119 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.059, allocations: 0 / 1.119 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/1.06, allocations: 109.4 kB / 1.119 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.06, allocations: 8 kB / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.06, allocations: 0 / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.06, allocations: 0 / 1.119 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/1.06, allocations: 23.98 kB / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/1.06, allocations: 4.094 kB / 1.119 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.255e-05/1.06, allocations: 8 kB / 1.119 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/1.06, allocations: 7.984 kB / 1.119 GB, free: 1.082 MB / 0.7136 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 () * 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 0.0001058/1.06, allocations: 112.9 kB / 1.119 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002039/1.06, allocations: 113.4 kB / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/1.06, allocations: 15.81 kB / 1.119 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/1.06, allocations: 118.6 kB / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.06, allocations: 0 / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.06, allocations: 0 / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/1.061, allocations: 7.984 kB / 1.119 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/1.061, allocations: 186.1 kB / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.061, allocations: 2.562 kB / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/1.061, allocations: 27.86 kB / 1.119 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.061, allocations: 0 / 1.119 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.061, allocations: 4 kB / 1.119 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.061, allocations: 3 kB / 1.119 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.061, allocations: 4 kB / 1.119 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/1.061, allocations: 178 kB / 1.119 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/1.061, allocations: 89.02 kB / 1.12 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/1.061, allocations: 3.984 kB / 1.12 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/1.061, allocations: 12 kB / 1.12 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/1.061, allocations: 11.98 kB / 1.12 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.061, allocations: 4 kB / 1.12 GB, free: 112 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001369/1.062, allocations: 131.2 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/1.062, allocations: 4 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002741/1.062, allocations: 31.94 kB / 1.12 GB, free: 15.95 MB / 0.7292 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) * 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 (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.001568/1.063, allocations: 1.134 MB / 1.121 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001774/1.064, allocations: 63.98 kB / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.064, allocations: 3.938 kB / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/1.064, allocations: 36.17 kB / 1.121 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.064, allocations: 28.06 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006586/1.065, allocations: 228.8 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.065, allocations: 0.7158 MB / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001049/1.065, allocations: 24.86 kB / 1.122 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/1.065, allocations: 35.42 kB / 1.122 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/1.065, allocations: 0 / 1.122 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/1.093, allocations: 3.026 MB / 1.125 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.093, allocations: 171.5 kB / 1.125 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.824, allocations: 0 / 1.125 GB, free: 10.58 MB / 0.7292 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/linux/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)