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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 102.3 kB / 16.36 MB, free: 6.434 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.001044/0.001044, allocations: 193.7 kB / 17.3 MB, free: 5.801 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.002189/0.002189, allocations: 74.88 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.225, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003068/0.2281, allocations: 1.668 MB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.23, allocations: 1.434 MB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.2301, allocations: 7.875 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.4074/0.6375, allocations: 37.81 kB / 0.7879 GB, free: 46.58 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.6381, allocations: 53.97 kB / 0.7879 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.6385, allocations: 86.59 kB / 0.788 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.6387, allocations: 128.7 kB / 0.7881 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.524e-05/0.6388, allocations: 6.938 kB / 0.7881 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.639, allocations: 60.67 kB / 0.7882 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.6392, allocations: 51.58 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.6392, allocations: 5.25 kB / 0.7882 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.6394, allocations: 66.16 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.6394, allocations: 23.31 kB / 0.7883 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.6395, allocations: 44.58 kB / 0.7884 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.6398, allocations: 147.4 kB / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6398, allocations: 0 / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6398, allocations: 0 / 0.7885 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6398, allocations: 0 / 0.7885 GB, free: 46.54 MB / 0.6544 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.000581/0.6404, allocations: 452.8 kB / 0.7889 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6405, allocations: 9.062 kB / 0.7889 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.6405, allocations: 14.56 kB / 0.789 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.6408, allocations: 214.8 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6408, allocations: 1.375 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.6408, allocations: 6.531 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.641, allocations: 102.5 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6411, allocations: 0 / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6411, allocations: 0.5938 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.6411, allocations: 3.125 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.6413, allocations: 56.78 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.6415, allocations: 206.9 kB / 0.7895 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.6417, allocations: 114.5 kB / 0.7896 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6418, allocations: 50.88 kB / 0.7897 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.6418, allocations: 2.719 kB / 0.7897 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.6421, allocations: 121.2 kB / 0.7898 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.6421, allocations: 0 / 0.7898 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005104/0.6427, allocations: 164.4 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.6427, allocations: 134.9 kB / 0.7901 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.6429, allocations: 173 kB / 0.7903 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.6429, allocations: 29.27 kB / 0.7903 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.643, allocations: 102.3 kB / 0.7904 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.643, allocations: 29.72 kB / 0.7904 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.643, allocations: 21 kB / 0.7904 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.6431, allocations: 330.6 kB / 0.7907 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.6432, allocations: 27.66 kB / 0.7908 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.6433, allocations: 68.12 kB / 0.7908 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.6435, allocations: 97.66 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6436, allocations: 4.719 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002816/0.6438, allocations: 134.8 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6439, allocations: 5.375 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6439, allocations: 5.406 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6439, allocations: 2.812 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6441, allocations: 20.64 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6441, allocations: 9.359 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.6442, allocations: 5.344 kB / 0.7911 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6442, allocations: 9.766 kB / 0.7911 GB, free: 44.62 MB / 0.6544 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.722e-05/0.6443, allocations: 120.6 kB / 0.7912 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.6443, allocations: 16.12 kB / 0.7912 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.6444, allocations: 16.19 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6444, allocations: 2.625 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6444, allocations: 2.156 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6444, allocations: 6 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.6445, allocations: 204.9 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6445, allocations: 7.078 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.6446, allocations: 15.42 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6446, allocations: 5.25 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6446, allocations: 3.938 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6446, allocations: 2.625 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6447, allocations: 3.656 kB / 0.7915 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.6449, allocations: 163.2 kB / 0.7917 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.645, allocations: 95.23 kB / 0.7917 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.645, allocations: 3.938 kB / 0.7918 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.6451, allocations: 8.156 kB / 0.7918 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.6451, allocations: 8.531 kB / 0.7918 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.6452, allocations: 2.625 kB / 0.7918 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.359e-05/0.6453, allocations: 139.8 kB / 0.7919 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6453, allocations: 0.6562 kB / 0.7919 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002574/0.6455, allocations: 31.88 kB / 0.7919 GB, free: 44.04 MB / 0.6544 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.001047/0.6466, allocations: 455.8 kB / 0.7924 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.6469, allocations: 82.89 kB / 0.7924 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6469, allocations: 2.625 kB / 0.7924 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.647, allocations: 45.3 kB / 0.7925 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.6473, allocations: 35.83 kB / 0.7925 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.6478, allocations: 239.1 kB / 0.7928 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.648, allocations: 0.7127 MB / 0.7935 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.346e-05/0.648, allocations: 22.28 kB / 0.7935 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.6481, allocations: 18.44 kB / 0.7935 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6481, allocations: 0 / 0.7935 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.004954/0.6531, allocations: 2.037 MB / 0.7955 GB, free: 42.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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 & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)