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.001621/0.001622, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 197 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9174/0.9174, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 59.97 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 80.93 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003006/0.1629, allocations: 1.656 MB / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.165, allocations: 1.499 MB / 0.5875 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.1652, allocations: 4 kB / 0.5875 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1654, allocations: 35.77 kB / 0.5875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1657, allocations: 63.64 kB / 0.5876 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.166, allocations: 118.7 kB / 0.5877 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1662, allocations: 127.6 kB / 0.5878 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.1663, allocations: 13.11 kB / 0.5878 GB, free: 1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1664, allocations: 63.64 kB / 0.5879 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1666, allocations: 55.7 kB / 0.5879 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1666, allocations: 4 kB / 0.5879 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1668, allocations: 63.97 kB / 0.588 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1668, allocations: 23.91 kB / 0.588 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.1669, allocations: 39.75 kB / 0.588 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1671, allocations: 147.9 kB / 0.5882 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1672, allocations: 0 / 0.5882 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1672, allocations: 4 kB / 0.5882 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1672, allocations: 0 / 0.5882 GB, free: 0.6055 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.0005859/0.1678, allocations: 442.8 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1678, allocations: 8.031 kB / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.1679, allocations: 16.75 kB / 0.5886 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1681, allocations: 216.6 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1681, allocations: 4.359 kB / 0.5888 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1682, allocations: 8.125 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1684, allocations: 101 kB / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1684, allocations: 0 / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1684, allocations: 0 / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1684, allocations: 0 / 0.5889 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1686, allocations: 51.89 kB / 0.589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.1688, allocations: 219.4 kB / 0.5892 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1691, allocations: 107.8 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1692, allocations: 62.55 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1693, allocations: 3.984 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1695, allocations: 113.9 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.1696, allocations: 3.938 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000484/0.17, allocations: 161.4 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.1701, allocations: 136.5 kB / 0.5898 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1703, allocations: 172.9 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1703, allocations: 25.95 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1704, allocations: 108.1 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1704, allocations: 23.7 kB / 0.5901 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1705, allocations: 21.72 kB / 0.5901 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1706, allocations: 322.8 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1707, allocations: 31.97 kB / 0.5904 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1708, allocations: 76.2 kB / 0.5905 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1711, allocations: 87.78 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1711, allocations: 4 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003098/0.1714, allocations: 145.3 kB / 0.5907 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1714, allocations: 10.97 kB / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1714, allocations: 0 / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1714, allocations: 0 / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1716, allocations: 19.98 kB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.1716, allocations: 11.92 kB / 0.5908 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.1717, allocations: 7.938 kB / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1717, allocations: 16.08 kB / 0.5908 GB, free: 13.61 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 9.556e-05/0.1718, allocations: 123.8 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1718, allocations: 15.81 kB / 0.5909 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.1719, allocations: 21.39 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1719, allocations: 0 / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1719, allocations: 0 / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1719, allocations: 7.984 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1721, allocations: 205.5 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1721, allocations: 0 / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.1722, allocations: 15.98 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1722, allocations: 4 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1722, allocations: 0 / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1722, allocations: 7.938 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1722, allocations: 0 / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1726, allocations: 162.6 kB / 0.5913 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.1726, allocations: 92.92 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.1727, allocations: 7.922 kB / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.1727, allocations: 8 kB / 0.5914 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.1728, allocations: 11.98 kB / 0.5915 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1728, allocations: 4 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000128/0.173, allocations: 136.7 kB / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.633e-06/0.173, allocations: 0 / 0.5916 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002525/0.1732, allocations: 35.94 kB / 0.5916 GB, free: 12.66 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.001/0.1742, allocations: 448.5 kB / 0.5921 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1745, allocations: 87.89 kB / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1746, allocations: 0 / 0.5921 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1747, allocations: 48.03 kB / 0.5922 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.175, allocations: 31.92 kB / 0.5922 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.1755, allocations: 237.2 kB / 0.5924 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1758, allocations: 0.7079 MB / 0.5931 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.583e-05/0.1758, allocations: 24.84 kB / 0.5932 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1759, allocations: 27.42 kB / 0.5932 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1759, allocations: 3.938 kB / 0.5932 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.005031/0.1809, allocations: 2.038 MB / 0.5952 GB, free: 9.184 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)