Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005726/0.005726, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001218/0.001219, allocations: 194.2 kB / 16.67 MB, free: 5.52 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9334/0.9334, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.17 kB / 0.5813 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.179, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002962/0.182, allocations: 1.666 MB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1841, allocations: 1.518 MB / 0.6628 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.1842, allocations: 0 / 0.6628 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1845, allocations: 39.77 kB / 0.6628 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1848, allocations: 59.64 kB / 0.6629 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1851, allocations: 131 kB / 0.663 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1853, allocations: 123.6 kB / 0.6631 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.1853, allocations: 13.11 kB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1855, allocations: 59.75 kB / 0.6632 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007608/0.1862, allocations: 55.7 kB / 0.6632 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1863, allocations: 8 kB / 0.6632 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1864, allocations: 55.98 kB / 0.6633 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.1865, allocations: 27.89 kB / 0.6633 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.1866, allocations: 35.75 kB / 0.6634 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1869, allocations: 155.5 kB / 0.6635 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.187, allocations: 0 / 0.6635 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.187, allocations: 0 / 0.6635 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.187, allocations: 4 kB / 0.6635 GB, free: 6.316 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.0008145/0.1878, allocations: 434.9 kB / 0.6639 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1879, allocations: 12.03 kB / 0.6639 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.1879, allocations: 8.844 kB / 0.6639 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.1884, allocations: 228.4 kB / 0.6642 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1884, allocations: 4.375 kB / 0.6642 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1884, allocations: 4.125 kB / 0.6642 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.1887, allocations: 105 kB / 0.6643 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1888, allocations: 4 kB / 0.6643 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1888, allocations: 3.984 kB / 0.6643 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1888, allocations: 3.984 kB / 0.6643 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.1891, allocations: 51.91 kB / 0.6643 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1894, allocations: 215.4 kB / 0.6645 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.1898, allocations: 107.8 kB / 0.6646 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1899, allocations: 58.55 kB / 0.6647 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.19, allocations: 0 / 0.6647 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.1903, allocations: 113.9 kB / 0.6648 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1903, allocations: 4 kB / 0.6648 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0006448/0.191, allocations: 161.6 kB / 0.665 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1911, allocations: 132.5 kB / 0.6651 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1913, allocations: 170.4 kB / 0.6652 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1913, allocations: 29.7 kB / 0.6653 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.1914, allocations: 108.4 kB / 0.6654 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.1915, allocations: 27.64 kB / 0.6654 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.1916, allocations: 21.72 kB / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1917, allocations: 326.8 kB / 0.6657 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1919, allocations: 28.03 kB / 0.6658 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.192, allocations: 84.14 kB / 0.6658 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.1923, allocations: 91.34 kB / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1924, allocations: 0 / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003931/0.1928, allocations: 137.5 kB / 0.6661 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1928, allocations: 4 kB / 0.6661 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1928, allocations: 0 / 0.6661 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1928, allocations: 4 kB / 0.6661 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.193, allocations: 19.98 kB / 0.6661 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.193, allocations: 3.938 kB / 0.6661 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1931, allocations: 15.91 kB / 0.6661 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1932, allocations: 11.92 kB / 0.6661 GB, free: 3.316 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.0001281/0.1933, allocations: 125.9 kB / 0.6662 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1933, allocations: 7.906 kB / 0.6662 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.1934, allocations: 21.39 kB / 0.6663 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1934, allocations: 4 kB / 0.6663 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1934, allocations: 0 / 0.6663 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1934, allocations: 0 / 0.6663 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1937, allocations: 205.5 kB / 0.6665 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1937, allocations: 4 kB / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.1938, allocations: 11.98 kB / 0.6665 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1938, allocations: 4 kB / 0.6665 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1938, allocations: 4 kB / 0.6665 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1938, allocations: 3.938 kB / 0.6665 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1938, allocations: 4.062 kB / 0.6665 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.1943, allocations: 174.5 kB / 0.6667 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.1943, allocations: 84.95 kB / 0.6667 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.1944, allocations: 7.984 kB / 0.6668 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.1945, allocations: 4 kB / 0.6668 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.1945, allocations: 11.98 kB / 0.6668 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1946, allocations: 4 kB / 0.6668 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001548/0.1947, allocations: 140.2 kB / 0.6669 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.934e-06/0.1947, allocations: 0 / 0.6669 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003664/0.1951, allocations: 31.94 kB / 0.6669 GB, free: 2.371 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.001436/0.1966, allocations: 454.8 kB / 0.6674 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.1969, allocations: 83.95 kB / 0.6674 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.197, allocations: 0 / 0.6674 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.1971, allocations: 47.91 kB / 0.6675 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1975, allocations: 33.8 kB / 0.6675 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.1981, allocations: 233.1 kB / 0.6677 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1985, allocations: 0.709 MB / 0.6684 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.1986, allocations: 16.86 kB / 0.6685 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.1987, allocations: 27.42 kB / 0.6685 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1987, allocations: 0 / 0.6685 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of Templates: time 0.006686/0.2054, allocations: 2.052 MB / 0.6705 GB, free: 14.9 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)