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.001154/0.001154, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 188 kB / 16.62 MB, free: 6.582 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.115/1.115, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.481/1.481, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001247/0.001247, allocations: 77.44 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002554/0.1653, allocations: 1.671 MB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1669, allocations: 1.431 MB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.167, allocations: 3.938 kB / 0.7872 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1672, allocations: 43.7 kB / 0.7872 GB, free: 9.574 MB / 0.6075 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.0001992/0.1674, allocations: 63.69 kB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1676, allocations: 83.62 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1678, allocations: 131.6 kB / 0.7875 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1678, allocations: 9.109 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.1679, allocations: 59.72 kB / 0.7875 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1681, allocations: 51.77 kB / 0.7876 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1681, allocations: 4 kB / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1682, allocations: 67.95 kB / 0.7877 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.1683, allocations: 19.92 kB / 0.7877 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.1683, allocations: 43.73 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1685, allocations: 147.5 kB / 0.7879 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1685, allocations: 3.938 kB / 0.7879 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1685, allocations: 0 / 0.7879 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1685, allocations: 0 / 0.7879 GB, free: 8.902 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.0004897/0.169, allocations: 438.9 kB / 0.7883 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.1691, allocations: 12.03 kB / 0.7883 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1691, allocations: 12.75 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1693, allocations: 224 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1693, allocations: 4.375 kB / 0.7885 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1694, allocations: 4.125 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1696, allocations: 113 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1696, allocations: 0 / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1696, allocations: 4 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1696, allocations: 0 / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1698, allocations: 51.89 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.17, allocations: 211.4 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1702, allocations: 123.7 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1703, allocations: 50.56 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1703, allocations: 4 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1705, allocations: 109.9 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1705, allocations: 0 / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004157/0.171, allocations: 165.4 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.171, allocations: 132.5 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1712, allocations: 170.4 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1712, allocations: 33.7 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1712, allocations: 96.14 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1713, allocations: 23.95 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1713, allocations: 29.72 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.1714, allocations: 322.8 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.1715, allocations: 35.92 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1716, allocations: 60.27 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1718, allocations: 99.38 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1718, allocations: 0 / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002574/0.1721, allocations: 133.5 kB / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1721, allocations: 8 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1721, allocations: 0 / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1721, allocations: 4 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1722, allocations: 23.92 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1722, allocations: 0 / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.1723, allocations: 19.83 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1723, allocations: 0 / 0.7905 GB, free: 5.918 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.604e-05/0.1724, allocations: 126.1 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1725, allocations: 15.91 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.1725, allocations: 25.33 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1725, allocations: 4 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1725, allocations: 0 / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1725, allocations: 0 / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1727, allocations: 209.4 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1727, allocations: 0 / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.1727, allocations: 19.98 kB / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1728, allocations: 0 / 0.7908 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1728, allocations: 7.938 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1728, allocations: 4.188 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1728, allocations: 0 / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1731, allocations: 162.6 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.1731, allocations: 92.91 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1731, allocations: 8 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.1732, allocations: 8 kB / 0.7911 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1733, allocations: 7.984 kB / 0.7911 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1733, allocations: 8 kB / 0.7911 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.359e-05/0.1734, allocations: 144.2 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1734, allocations: 0 / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000243/0.1736, allocations: 32 kB / 0.7913 GB, free: 4.957 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.0008157/0.1745, allocations: 455 kB / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.1747, allocations: 79.89 kB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1747, allocations: 0 / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1748, allocations: 56.09 kB / 0.7919 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1751, allocations: 29.81 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.1755, allocations: 239.5 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1757, allocations: 0.7081 MB / 0.7928 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.242e-05/0.1757, allocations: 16.88 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1758, allocations: 19.42 kB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1758, allocations: 0 / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of Templates: time 0.004005/0.1798, allocations: 2.032 MB / 0.7948 GB, free: 1.465 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)