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.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001511/0.001511, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.94 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1767, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003213/0.1799, allocations: 1.733 MB / 0.5856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1821, allocations: 1.467 MB / 0.587 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.1822, allocations: 0 / 0.587 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1825, allocations: 39.83 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1828, allocations: 63.75 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1832, allocations: 94.58 kB / 0.5872 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1834, allocations: 131.5 kB / 0.5873 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.1834, allocations: 5.125 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1836, allocations: 59.7 kB / 0.5874 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1837, allocations: 55.7 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1838, allocations: 8 kB / 0.5874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1839, allocations: 63.97 kB / 0.5875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.184, allocations: 23.91 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.1841, allocations: 43.73 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1843, allocations: 143.9 kB / 0.5877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1843, allocations: 4 kB / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1843, allocations: 0 / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1843, allocations: 0 / 0.5877 GB, free: 0.957 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.0005724/0.1849, allocations: 442.8 kB / 0.5881 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1849, allocations: 8.031 kB / 0.5881 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.185, allocations: 16.75 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1853, allocations: 221.6 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1853, allocations: 384 / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1853, allocations: 8.125 kB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.1855, allocations: 101 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1855, allocations: 3.984 kB / 0.5885 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1856, allocations: 3.938 kB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1856, allocations: 4 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1858, allocations: 47.95 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.1861, allocations: 215.4 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.1864, allocations: 115.8 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1865, allocations: 54.5 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1865, allocations: 0 / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.1868, allocations: 109.9 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.186e-06/0.1868, allocations: 0 / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004883/0.1873, allocations: 173.2 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.1874, allocations: 136.8 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1876, allocations: 179.9 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1876, allocations: 25.7 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.1877, allocations: 100.1 kB / 0.5896 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.1878, allocations: 23.7 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.1878, allocations: 21.72 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.188, allocations: 326.8 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1881, allocations: 31.97 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1882, allocations: 72.2 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.1884, allocations: 95.62 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1884, allocations: 4 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003213/0.1888, allocations: 133.3 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1888, allocations: 6.188 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1888, allocations: 4 kB / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1888, allocations: 0 / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1889, allocations: 20.08 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.189, allocations: 8 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.189, allocations: 15.92 kB / 0.5903 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1891, allocations: 4 kB / 0.5903 GB, free: 13.96 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.0001003/0.1892, allocations: 125.7 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1892, allocations: 11.81 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.1893, allocations: 25.39 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1893, allocations: 0 / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1893, allocations: 0 / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1893, allocations: 8 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.1895, allocations: 205.5 kB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1895, allocations: 192 / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.1896, allocations: 11.98 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1896, allocations: 7.938 kB / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1896, allocations: 0 / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1896, allocations: 4 kB / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1897, allocations: 0 / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.19, allocations: 170.6 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.1901, allocations: 92.91 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1901, allocations: 0 / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.1902, allocations: 12 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1902, allocations: 15.98 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1903, allocations: 8 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001061/0.1904, allocations: 131.2 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1904, allocations: 0 / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002462/0.1906, allocations: 28 kB / 0.5911 GB, free: 13.02 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.0009745/0.1916, allocations: 459.7 kB / 0.5916 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.192, allocations: 87.88 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.192, allocations: 0 / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1921, allocations: 43.91 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.1924, allocations: 33.47 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.1929, allocations: 257.2 kB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1932, allocations: 0.7118 MB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.163e-05/0.1933, allocations: 16.88 kB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.1934, allocations: 19.42 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.1934, allocations: 0 / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.004821/0.1982, allocations: 1.979 MB / 0.5946 GB, free: 9.582 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)