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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 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.001087/0.001087, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.109/1.109, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.447/1.447, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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: 68.06 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002491/0.1601, allocations: 1.67 MB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1616, allocations: 1.435 MB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.1616, allocations: 0 / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1618, allocations: 43.7 kB / 0.7864 GB, free: 10.29 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.0001919/0.162, allocations: 67.61 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1622, allocations: 87.7 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1624, allocations: 123.6 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.1624, allocations: 13.12 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.1625, allocations: 55.77 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1627, allocations: 51.72 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1627, allocations: 4 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1628, allocations: 67.95 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1628, allocations: 19.92 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1629, allocations: 47.72 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1631, allocations: 143.8 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1631, allocations: 4 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1631, allocations: 0 / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.1631, allocations: 4 kB / 0.7871 GB, free: 9.609 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.000467/0.1636, allocations: 430.9 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.409e-05/0.1636, allocations: 11.97 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1637, allocations: 16.75 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1639, allocations: 220.1 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1639, allocations: 4.375 kB / 0.7878 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1639, allocations: 12.06 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1641, allocations: 101.1 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1641, allocations: 7.875 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1641, allocations: 0 / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1641, allocations: 0 / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1643, allocations: 47.95 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.1645, allocations: 211.4 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1647, allocations: 115.8 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1648, allocations: 62.48 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1648, allocations: 0 / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.165, allocations: 109.9 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.947e-06/0.1651, allocations: 4 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000418/0.1655, allocations: 165.3 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1655, allocations: 136.5 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1657, allocations: 170.4 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1657, allocations: 29.7 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.1657, allocations: 96.39 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1658, allocations: 31.69 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1658, allocations: 25.72 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.1659, allocations: 326.8 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.166, allocations: 27.98 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1661, allocations: 68.2 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1663, allocations: 87.44 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1663, allocations: 4 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002628/0.1666, allocations: 141.4 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.1666, allocations: 4 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1666, allocations: 4 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.1666, allocations: 0 / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1667, allocations: 19.98 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1668, allocations: 4 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.1668, allocations: 15.83 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1669, allocations: 4 kB / 0.7897 GB, free: 6.629 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.1e-05/0.1669, allocations: 136.4 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.167, allocations: 7.906 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.167, allocations: 21.39 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.167, allocations: 0 / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.167, allocations: 192 / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.167, allocations: 4 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1672, allocations: 209.6 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1672, allocations: 4 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.1672, allocations: 15.98 kB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1673, allocations: 8 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1673, allocations: 4 kB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1673, allocations: 0 / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1673, allocations: 4 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1676, allocations: 166.6 kB / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1676, allocations: 96.91 kB / 0.7903 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1676, allocations: 4 kB / 0.7903 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1677, allocations: 4 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1677, allocations: 7.984 kB / 0.7904 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1678, allocations: 4 kB / 0.7904 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.444e-05/0.1679, allocations: 148.2 kB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1679, allocations: 0 / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002108/0.1681, allocations: 24 kB / 0.7905 GB, free: 5.676 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.0008234/0.1689, allocations: 467.3 kB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1692, allocations: 83.89 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1692, allocations: 4.188 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1693, allocations: 51.89 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.1696, allocations: 30.36 kB / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.1699, allocations: 237 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.1701, allocations: 0.7002 MB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.533e-05/0.1702, allocations: 20.88 kB / 0.7921 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1702, allocations: 23.42 kB / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of SimCode: time 1.8e-07/0.1702, allocations: 0 / 0.7921 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.003835/0.1741, allocations: 2.033 MB / 0.7941 GB, free: 2.176 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)