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.006983/0.006983, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001131/0.001131, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.397/1.397, allocations: 222.9 MB / 240.3 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.7819/0.7819, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 61.84 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1795, allocations: 80.2 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00343/0.183, allocations: 1.672 MB / 0.6613 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1854, allocations: 1.506 MB / 0.6628 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1856, allocations: 7.938 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.186, allocations: 43.77 kB / 0.6628 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1863, allocations: 59.69 kB / 0.6629 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1868, allocations: 122.5 kB / 0.663 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.187, allocations: 119.6 kB / 0.6631 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.1871, allocations: 25.02 kB / 0.6631 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1873, allocations: 55.77 kB / 0.6632 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1875, allocations: 51.77 kB / 0.6632 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1876, allocations: 4 kB / 0.6632 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1877, allocations: 67.97 kB / 0.6633 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.1878, allocations: 23.86 kB / 0.6633 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.1879, allocations: 47.72 kB / 0.6634 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1882, allocations: 147.5 kB / 0.6635 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1882, allocations: 0 / 0.6635 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1882, allocations: 0 / 0.6635 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1882, allocations: 0 / 0.6635 GB, free: 6.418 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.0007128/0.1889, allocations: 430.9 kB / 0.6639 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.189, allocations: 12.03 kB / 0.6639 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.1891, allocations: 16.78 kB / 0.6639 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1894, allocations: 228.4 kB / 0.6642 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1894, allocations: 4.375 kB / 0.6642 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1895, allocations: 8.125 kB / 0.6642 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1897, allocations: 93.08 kB / 0.6643 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1897, allocations: 4 kB / 0.6643 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1898, allocations: 4 kB / 0.6643 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1898, allocations: 7.938 kB / 0.6643 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1899, allocations: 51.89 kB / 0.6643 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.1902, allocations: 203.4 kB / 0.6645 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1905, allocations: 119.8 kB / 0.6646 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1906, allocations: 46.5 kB / 0.6647 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.1907, allocations: 4 kB / 0.6647 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1909, allocations: 117.9 kB / 0.6648 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.1909, allocations: 0 / 0.6648 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004888/0.1914, allocations: 173.6 kB / 0.665 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1915, allocations: 132.5 kB / 0.6651 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.1918, allocations: 174.4 kB / 0.6653 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1918, allocations: 25.7 kB / 0.6653 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.1918, allocations: 104.1 kB / 0.6654 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.1919, allocations: 27.64 kB / 0.6654 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.192, allocations: 17.72 kB / 0.6654 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1921, allocations: 334.8 kB / 0.6657 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1922, allocations: 31.98 kB / 0.6658 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1923, allocations: 64.27 kB / 0.6658 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1925, allocations: 95.38 kB / 0.6659 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1925, allocations: 0 / 0.6659 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002831/0.1928, allocations: 133.4 kB / 0.6661 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1929, allocations: 8 kB / 0.6661 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1929, allocations: 0 / 0.6661 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1929, allocations: 8.094 kB / 0.6661 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.193, allocations: 19.98 kB / 0.6661 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.193, allocations: 0 / 0.6661 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.1931, allocations: 19.83 kB / 0.6661 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1931, allocations: 4 kB / 0.6661 GB, free: 3.43 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.0001038/0.1932, allocations: 125.8 kB / 0.6662 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.1933, allocations: 11.91 kB / 0.6662 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.1933, allocations: 21.33 kB / 0.6663 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1933, allocations: 8 kB / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1934, allocations: 0 / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1934, allocations: 0 / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.1935, allocations: 201.5 kB / 0.6665 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1935, allocations: 320 / 0.6665 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.1936, allocations: 16.17 kB / 0.6665 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1936, allocations: 0 / 0.6665 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1937, allocations: 11.94 kB / 0.6665 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1937, allocations: 3.984 kB / 0.6665 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1937, allocations: 0 / 0.6665 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.194, allocations: 178.5 kB / 0.6667 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.194, allocations: 92.94 kB / 0.6668 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1941, allocations: 4 kB / 0.6668 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1941, allocations: 11.98 kB / 0.6668 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1942, allocations: 11.98 kB / 0.6668 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1942, allocations: 4 kB / 0.6668 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001075/0.1943, allocations: 136.2 kB / 0.6669 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1943, allocations: 0 / 0.6669 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002416/0.1946, allocations: 32 kB / 0.6669 GB, free: 2.469 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.001024/0.1956, allocations: 448.7 kB / 0.6674 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.1959, allocations: 79.89 kB / 0.6674 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1959, allocations: 0 / 0.6674 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1961, allocations: 44.16 kB / 0.6675 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1964, allocations: 39.17 kB / 0.6675 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.1969, allocations: 236.8 kB / 0.6678 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1972, allocations: 0.7051 MB / 0.6684 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.1973, allocations: 24.86 kB / 0.6685 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.1974, allocations: 19.42 kB / 0.6685 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1974, allocations: 4 kB / 0.6685 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.005158/0.2025, allocations: 2.044 MB / 0.6705 GB, free: 15.01 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)