Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005487/0.005487, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001213/0.001213, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.21/1.21, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 251.7 MB / 0.5094 GB, free: 2.945 MB / 414.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.001262/0.001262, allocations: 85.75 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002577/0.1705, allocations: 1.692 MB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1722, allocations: 1.422 MB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.1722, allocations: 7.938 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1725, allocations: 35.77 kB / 0.8311 GB, free: 13 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.0002052/0.1727, allocations: 67.61 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1729, allocations: 91.69 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1731, allocations: 123.6 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.1731, allocations: 9.125 kB / 0.8314 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1732, allocations: 63.64 kB / 0.8315 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1734, allocations: 55.77 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1734, allocations: 4 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1735, allocations: 63.97 kB / 0.8316 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.1736, allocations: 15.92 kB / 0.8316 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.1736, allocations: 47.72 kB / 0.8316 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.1739, allocations: 155.3 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1739, allocations: 3.938 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1739, allocations: 0 / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1739, allocations: 0 / 0.8318 GB, free: 12.31 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.0005286/0.1744, allocations: 442.6 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.1745, allocations: 8.031 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1745, allocations: 16.84 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1748, allocations: 216.2 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1748, allocations: 384 / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1748, allocations: 8.125 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.175, allocations: 105 kB / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.175, allocations: 0 / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.175, allocations: 0 / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.175, allocations: 4 kB / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1752, allocations: 59.83 kB / 0.8326 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.1754, allocations: 211.4 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1757, allocations: 111.8 kB / 0.8329 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1758, allocations: 54.56 kB / 0.833 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1758, allocations: 7.984 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.176, allocations: 109.9 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.176, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.000432/0.1765, allocations: 161.5 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.1765, allocations: 132.5 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1767, allocations: 181.1 kB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1767, allocations: 25.7 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.1768, allocations: 104.1 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1768, allocations: 28 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.1769, allocations: 29.7 kB / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.177, allocations: 326.8 kB / 0.834 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.1771, allocations: 27.92 kB / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1772, allocations: 72.2 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1774, allocations: 95.38 kB / 0.8342 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1774, allocations: 0 / 0.8342 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002688/0.1777, allocations: 137.5 kB / 0.8343 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1777, allocations: 8 kB / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1777, allocations: 0 / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.1777, allocations: 0 / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1779, allocations: 23.92 kB / 0.8344 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1779, allocations: 4 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.1779, allocations: 15.94 kB / 0.8344 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.178, allocations: 4 kB / 0.8344 GB, free: 9.32 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.75e-05/0.1781, allocations: 125.8 kB / 0.8345 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1781, allocations: 19.89 kB / 0.8345 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.1781, allocations: 17.72 kB / 0.8346 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1781, allocations: 0 / 0.8346 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1781, allocations: 0 / 0.8346 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1782, allocations: 8 kB / 0.8346 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1783, allocations: 205.5 kB / 0.8348 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1783, allocations: 0 / 0.8348 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.1784, allocations: 19.92 kB / 0.8348 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1784, allocations: 3.938 kB / 0.8348 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1784, allocations: 0 / 0.8348 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1784, allocations: 11.98 kB / 0.8348 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1784, allocations: 0 / 0.8348 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1787, allocations: 170.6 kB / 0.835 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1788, allocations: 85.06 kB / 0.835 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1788, allocations: 4 kB / 0.835 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.1789, allocations: 11.98 kB / 0.8351 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1789, allocations: 11.94 kB / 0.8351 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.179, allocations: 7.984 kB / 0.8351 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001024/0.1791, allocations: 131.5 kB / 0.8352 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1791, allocations: 0 / 0.8352 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002225/0.1793, allocations: 31.92 kB / 0.8352 GB, free: 8.371 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.000891/0.1802, allocations: 465.9 kB / 0.8357 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1804, allocations: 79.89 kB / 0.8357 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1805, allocations: 0 / 0.8357 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1806, allocations: 48.09 kB / 0.8358 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.1808, allocations: 34.3 kB / 0.8358 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.1812, allocations: 232.6 kB / 0.836 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1815, allocations: 0.7042 MB / 0.8367 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.1815, allocations: 16.88 kB / 0.8368 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.1816, allocations: 27.36 kB / 0.8368 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.1816, allocations: 0 / 0.8368 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of Templates: time 0.004058/0.1857, allocations: 2.045 MB / 0.8388 GB, free: 4.863 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)