Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001254, allocations: 193.1 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9242/0.9242, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 64.5 kB / 0.5047 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1613, allocations: 80.93 MB / 0.5837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003905/0.1652, allocations: 1.721 MB / 0.5854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1675, allocations: 1.471 MB / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1677, allocations: 0 / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.1681, allocations: 35.84 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1683, allocations: 55.75 kB / 0.5869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.1687, allocations: 110.9 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1689, allocations: 111.6 kB / 0.5871 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.169, allocations: 9.125 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1691, allocations: 55.7 kB / 0.5872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1693, allocations: 51.7 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.1693, allocations: 4 kB / 0.5873 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1695, allocations: 59.97 kB / 0.5873 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.1696, allocations: 19.91 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.1696, allocations: 39.73 kB / 0.5874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1699, allocations: 139.9 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1699, allocations: 4 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1699, allocations: 4 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1699, allocations: 0 / 0.5875 GB, free: 1.066 MB / 494.1 MB 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.0006706/0.1706, allocations: 438.8 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1707, allocations: 8.031 kB / 0.5879 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.1707, allocations: 12.75 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.171, allocations: 225.6 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.171, allocations: 384 / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1711, allocations: 12.12 kB / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1713, allocations: 105 kB / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1713, allocations: 0 / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1714, allocations: 3.984 kB / 0.5883 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1714, allocations: 0 / 0.5883 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1716, allocations: 55.95 kB / 0.5883 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1718, allocations: 211.3 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1721, allocations: 115.8 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1723, allocations: 50.56 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1723, allocations: 7.969 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1726, allocations: 121.9 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1726, allocations: 0 / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005419/0.1732, allocations: 157.4 kB / 0.589 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.1733, allocations: 136.5 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1735, allocations: 180.1 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1735, allocations: 29.7 kB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.1736, allocations: 104.1 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.1736, allocations: 19.72 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.1737, allocations: 25.7 kB / 0.5894 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1738, allocations: 326.8 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.174, allocations: 27.98 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1741, allocations: 68.2 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1743, allocations: 91.59 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1743, allocations: 0 / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003174/0.1747, allocations: 145.4 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1747, allocations: 4 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1747, allocations: 4 kB / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1747, allocations: 0 / 0.5901 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1749, allocations: 19.98 kB / 0.5901 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1749, allocations: 3.938 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.175, allocations: 24.02 kB / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.175, allocations: 4 kB / 0.5901 GB, free: 14.07 MB / 0.4981 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 0.0001061/0.1751, allocations: 125.8 kB / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.1752, allocations: 15.8 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.1752, allocations: 17.41 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1752, allocations: 0 / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1752, allocations: 0 / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1753, allocations: 4.188 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.1754, allocations: 201.5 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1754, allocations: 11.94 kB / 0.5905 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.1755, allocations: 11.98 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1755, allocations: 4 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1756, allocations: 0 / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1756, allocations: 3.984 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1756, allocations: 7.938 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.1759, allocations: 166.6 kB / 0.5907 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.176, allocations: 88.92 kB / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.176, allocations: 0 / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.1761, allocations: 11.98 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.1762, allocations: 7.938 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1762, allocations: 7.984 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001105/0.1763, allocations: 131.2 kB / 0.5909 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1763, allocations: 4 kB / 0.5909 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002681/0.1766, allocations: 31.98 kB / 0.5909 GB, free: 13.12 MB / 0.4981 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.001042/0.1776, allocations: 450.6 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.1779, allocations: 87.89 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1779, allocations: 4 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1781, allocations: 43.91 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1784, allocations: 31.03 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.1789, allocations: 259 kB / 0.5918 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1792, allocations: 0.7083 MB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.1793, allocations: 16.86 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.1794, allocations: 27.42 kB / 0.5925 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1794, allocations: 0 / 0.5925 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.004712/0.1841, allocations: 1.92 MB / 0.5944 GB, free: 9.754 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)