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.001198/0.001198, allocations: 98.58 kB / 16.29 MB, free: 6.012 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.001116/0.001116, allocations: 177.6 kB / 17.22 MB, free: 5.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.185/1.185, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.558/1.558, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001254/0.001254, allocations: 67.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.177, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002732/0.1798, allocations: 1.674 MB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1815, allocations: 1.43 MB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.1816, allocations: 4 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1818, allocations: 39.77 kB / 0.7871 GB, free: 0.6641 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.0002006/0.1821, allocations: 67.61 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1823, allocations: 85.02 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1824, allocations: 127.6 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.1825, allocations: 17.11 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1826, allocations: 51.72 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1827, allocations: 59.75 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1828, allocations: 4 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1829, allocations: 63.97 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.1829, allocations: 15.92 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.183, allocations: 47.67 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.2789/0.4619, allocations: 150.5 kB / 0.7878 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.4619, allocations: 0 / 0.7878 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4619, allocations: 0 / 0.7878 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.4619, allocations: 2.281 kB / 0.7878 GB, free: 46.08 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.0005422/0.4625, allocations: 433.2 kB / 0.7882 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.4625, allocations: 15.09 kB / 0.7882 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.4626, allocations: 18.09 kB / 0.7883 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4628, allocations: 215 kB / 0.7885 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4628, allocations: 6.969 kB / 0.7885 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.4628, allocations: 3.5 kB / 0.7885 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.463, allocations: 97.81 kB / 0.7886 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.463, allocations: 6.062 kB / 0.7886 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.463, allocations: 2.125 kB / 0.7886 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.463, allocations: 2.812 kB / 0.7886 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.4632, allocations: 54.19 kB / 0.7886 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.4634, allocations: 202.3 kB / 0.7888 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.4636, allocations: 115 kB / 0.7889 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.4637, allocations: 49.73 kB / 0.789 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4637, allocations: 4.531 kB / 0.789 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.464, allocations: 112.2 kB / 0.7891 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.464, allocations: 3.219 kB / 0.7891 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004145/0.4644, allocations: 165.4 kB / 0.7892 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4644, allocations: 131.5 kB / 0.7894 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4646, allocations: 180.2 kB / 0.7895 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4646, allocations: 28.39 kB / 0.7896 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.4646, allocations: 103.6 kB / 0.7897 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.4647, allocations: 26.11 kB / 0.7897 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.4647, allocations: 27.44 kB / 0.7897 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.4647, allocations: 321.2 kB / 0.79 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.4648, allocations: 36.45 kB / 0.7901 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.4649, allocations: 63.8 kB / 0.7901 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4651, allocations: 90.75 kB / 0.7902 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4651, allocations: 0 / 0.7902 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002392/0.4654, allocations: 139 kB / 0.7903 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4654, allocations: 8.297 kB / 0.7904 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4654, allocations: 2.625 kB / 0.7904 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4654, allocations: 1.781 kB / 0.7904 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4655, allocations: 22.58 kB / 0.7904 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4655, allocations: 6.906 kB / 0.7904 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.4656, allocations: 8.766 kB / 0.7904 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4656, allocations: 5.594 kB / 0.7904 GB, free: 44.2 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 7.232e-05/0.4657, allocations: 126.5 kB / 0.7905 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.4657, allocations: 15.11 kB / 0.7905 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4658, allocations: 16.44 kB / 0.7905 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4658, allocations: 0 / 0.7905 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4658, allocations: 12.2 kB / 0.7906 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4658, allocations: 0 / 0.7906 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.4659, allocations: 207.8 kB / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4659, allocations: 5.312 kB / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.466, allocations: 15.14 kB / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.466, allocations: 0 / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.466, allocations: 6.938 kB / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.466, allocations: 1.406 kB / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.466, allocations: 3.438 kB / 0.7908 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4663, allocations: 164.7 kB / 0.7909 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.4663, allocations: 94.86 kB / 0.791 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.4663, allocations: 8 kB / 0.791 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.4664, allocations: 11.14 kB / 0.7911 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.4665, allocations: 13.11 kB / 0.7911 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4665, allocations: 2.625 kB / 0.7911 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.4666, allocations: 136.8 kB / 0.7912 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4666, allocations: 2.438 kB / 0.7912 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002377/0.4668, allocations: 35.55 kB / 0.7912 GB, free: 43.61 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.0009357/0.4678, allocations: 439.5 kB / 0.7917 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.468, allocations: 83.97 kB / 0.7917 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.468, allocations: 2.625 kB / 0.7917 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.4682, allocations: 50.38 kB / 0.7918 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4684, allocations: 29.5 kB / 0.7918 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.4688, allocations: 248.7 kB / 0.7921 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.4689, allocations: 0.7065 MB / 0.7927 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.469, allocations: 23.03 kB / 0.7928 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.4691, allocations: 21.58 kB / 0.7928 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.4691, allocations: 0 / 0.7928 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.003815/0.4729, allocations: 2.033 MB / 0.7948 GB, free: 42.52 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)