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.0009839/0.0009839, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009278/0.0009278, allocations: 197.3 kB / 16.26 MB, free: 6.621 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.145/1.145, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.459/1.459, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001194/0.001194, allocations: 66.61 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1664, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002769/0.1692, allocations: 1.741 MB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1709, allocations: 1.41 MB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.171, allocations: 0 / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1713, allocations: 31.83 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1715, allocations: 59.75 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1717, allocations: 83.77 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1719, allocations: 127.6 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.1719, allocations: 9.125 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1721, allocations: 59.77 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1722, allocations: 51.77 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1723, allocations: 4 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1724, allocations: 67.91 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.1724, allocations: 19.92 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.1725, allocations: 51.7 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1727, allocations: 147.8 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1727, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1727, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1727, allocations: 0 / 0.7866 GB, free: 10.04 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.0005208/0.1732, allocations: 434.9 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1733, allocations: 8.031 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1733, allocations: 16.75 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1735, allocations: 220 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1735, allocations: 4.375 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1736, allocations: 12.06 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.1738, allocations: 97.08 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1738, allocations: 3.938 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1738, allocations: 4 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1738, allocations: 4 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.174, allocations: 51.89 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1742, allocations: 207.4 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1744, allocations: 111.8 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1745, allocations: 50.5 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1746, allocations: 15.98 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1748, allocations: 105.9 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1748, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004191/0.1752, allocations: 169.5 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1753, allocations: 132.5 kB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1754, allocations: 179.4 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1754, allocations: 29.7 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.1755, allocations: 100.1 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1755, allocations: 23.7 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1756, allocations: 25.95 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1757, allocations: 326.8 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.1758, allocations: 32.05 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1759, allocations: 64.27 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1761, allocations: 95.38 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1761, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002519/0.1763, allocations: 133.4 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1764, allocations: 12.09 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1764, allocations: 0 / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1764, allocations: 0 / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1765, allocations: 23.98 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1765, allocations: 4 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.1766, allocations: 15.83 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1766, allocations: 4 kB / 0.7892 GB, free: 7.062 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.631e-05/0.1767, allocations: 132.5 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1767, allocations: 19.89 kB / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.1768, allocations: 13.41 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1768, allocations: 0 / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1768, allocations: 7.938 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1768, allocations: 0 / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.177, allocations: 205.6 kB / 0.7896 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.177, allocations: 0 / 0.7896 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.177, allocations: 19.92 kB / 0.7896 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.177, allocations: 0 / 0.7896 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1771, allocations: 4 kB / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1771, allocations: 3.984 kB / 0.7896 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1771, allocations: 8.062 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1773, allocations: 170.6 kB / 0.7898 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1774, allocations: 88.92 kB / 0.7898 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1774, allocations: 4 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.1775, allocations: 15.98 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1775, allocations: 7.984 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1776, allocations: 7.984 kB / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001005/0.1777, allocations: 131.2 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1777, allocations: 0 / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002222/0.1779, allocations: 35.98 kB / 0.79 GB, free: 6.102 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.0008005/0.1787, allocations: 452.5 kB / 0.7905 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.179, allocations: 83.83 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.179, allocations: 4 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1791, allocations: 48.16 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.1794, allocations: 26.97 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.1798, allocations: 265 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.18, allocations: 0.7041 MB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.18, allocations: 12.88 kB / 0.7916 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1801, allocations: 27.42 kB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1801, allocations: 0 / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.003858/0.184, allocations: 1.983 MB / 0.7935 GB, free: 2.648 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)