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.0007818/0.0007817, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005076/0.005076, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9417/0.9417, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004263, allocations: 12 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001948/0.1805, allocations: 1.379 MB / 0.5893 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1825, allocations: 1.444 MB / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.1825, allocations: 0 / 0.5907 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1828, allocations: 31.91 kB / 0.5908 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.183, allocations: 67.69 kB / 0.5908 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1833, allocations: 91.83 kB / 0.5909 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1835, allocations: 123.5 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.1835, allocations: 5.125 kB / 0.591 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1837, allocations: 59.64 kB / 0.5911 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1838, allocations: 51.77 kB / 0.5911 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1839, allocations: 4 kB / 0.5912 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.184, allocations: 55.97 kB / 0.5912 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1841, allocations: 31.84 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1841, allocations: 61.44 kB / 0.5913 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1844, allocations: 143.9 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1844, allocations: 0 / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1844, allocations: 0 / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1844, allocations: 0 / 0.5914 GB, free: 15.06 MB / 0.4981 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.0005658/0.1849, allocations: 427 kB / 0.5918 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.185, allocations: 16.03 kB / 0.5919 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.185, allocations: 12.75 kB / 0.5919 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1853, allocations: 221.5 kB / 0.5921 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1853, allocations: 4.375 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1853, allocations: 4.125 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1856, allocations: 109.1 kB / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1856, allocations: 0 / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1856, allocations: 4 kB / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1856, allocations: 0 / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1858, allocations: 59.89 kB / 0.5923 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.186, allocations: 215.4 kB / 0.5925 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1863, allocations: 119.8 kB / 0.5926 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1865, allocations: 58.55 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1865, allocations: 4 kB / 0.5926 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.1868, allocations: 113.9 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.846e-06/0.1868, allocations: 0 / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004815/0.1873, allocations: 181.5 kB / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.1874, allocations: 136.5 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1875, allocations: 179.9 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1876, allocations: 25.7 kB / 0.5932 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1876, allocations: 104.1 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1877, allocations: 19.72 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1877, allocations: 17.7 kB / 0.5934 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1878, allocations: 330.9 kB / 0.5937 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1879, allocations: 31.98 kB / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1881, allocations: 68.2 kB / 0.5938 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1883, allocations: 107.4 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1883, allocations: 0 / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003094/0.1886, allocations: 145.7 kB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1887, allocations: 7.938 kB / 0.594 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1887, allocations: 0 / 0.594 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1887, allocations: 4 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1888, allocations: 28.08 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1888, allocations: 0 / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.1889, allocations: 23.83 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1889, allocations: 0 / 0.5941 GB, free: 12.02 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.0001091/0.1891, allocations: 129.8 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1891, allocations: 11.91 kB / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.1891, allocations: 13.41 kB / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1892, allocations: 11.94 kB / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1892, allocations: 0 / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1892, allocations: 0 / 0.5942 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1893, allocations: 209.4 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1894, allocations: 0 / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.1894, allocations: 15.98 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1894, allocations: 4 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1895, allocations: 3.984 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1895, allocations: 4 kB / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1895, allocations: 0 / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.1898, allocations: 178.6 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1899, allocations: 88.92 kB / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1899, allocations: 8 kB / 0.5947 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.19, allocations: 15.92 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.19, allocations: 7.984 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1901, allocations: 8 kB / 0.5948 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001139/0.1902, allocations: 131.2 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1902, allocations: 0 / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002497/0.1905, allocations: 32 kB / 0.5949 GB, free: 11.06 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.001006/0.1915, allocations: 454.6 kB / 0.5954 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.1918, allocations: 95.88 kB / 0.5954 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1918, allocations: 0 / 0.5954 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1919, allocations: 43.92 kB / 0.5955 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1922, allocations: 36.16 kB / 0.5955 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.1927, allocations: 275.1 kB / 0.5958 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.193, allocations: 0.7043 MB / 0.5965 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.101e-05/0.1931, allocations: 24.86 kB / 0.5965 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1932, allocations: 19.42 kB / 0.5965 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1932, allocations: 0 / 0.5965 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.004594/0.1978, allocations: 1.899 MB / 0.5984 GB, free: 7.684 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)