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.001185/0.001185, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001197/0.001198, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 64.42 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1604, allocations: 81.03 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003002/0.1634, allocations: 1.736 MB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1654, allocations: 1.463 MB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.1655, allocations: 8 kB / 0.5876 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1658, allocations: 39.83 kB / 0.5877 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.166, allocations: 55.77 kB / 0.5877 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1663, allocations: 91.83 kB / 0.5878 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1664, allocations: 135.5 kB / 0.5879 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1665, allocations: 13.09 kB / 0.5879 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1666, allocations: 59.7 kB / 0.588 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1668, allocations: 47.77 kB / 0.588 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1668, allocations: 12 kB / 0.5881 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.167, allocations: 63.91 kB / 0.5881 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.167, allocations: 23.92 kB / 0.5881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.1671, allocations: 47.72 kB / 0.5882 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1673, allocations: 139.9 kB / 0.5883 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1673, allocations: 0 / 0.5883 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1673, allocations: 0 / 0.5883 GB, free: 388 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1673, allocations: 4 kB / 0.5883 GB, free: 384 kB / 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.0006338/0.168, allocations: 438.9 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.168, allocations: 12.03 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.1681, allocations: 12.75 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.1684, allocations: 228 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1684, allocations: 384 / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.1684, allocations: 8.125 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1686, allocations: 93.09 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1687, allocations: 7.984 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1687, allocations: 3.938 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1687, allocations: 0 / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.1689, allocations: 51.95 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.1691, allocations: 215.4 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1694, allocations: 115.8 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1695, allocations: 50.56 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1695, allocations: 3.938 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.1698, allocations: 113.9 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1698, allocations: 3.938 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.1703, allocations: 173.5 kB / 0.5898 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.1704, allocations: 132.5 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1706, allocations: 171.9 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1706, allocations: 25.7 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1707, allocations: 104.1 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.1707, allocations: 23.7 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.1708, allocations: 21.72 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1709, allocations: 326.9 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.171, allocations: 31.97 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1712, allocations: 68.2 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1714, allocations: 95.38 kB / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1714, allocations: 0 / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003039/0.1717, allocations: 141.3 kB / 0.5909 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1717, allocations: 4 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1718, allocations: 4 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1718, allocations: 4.094 kB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1719, allocations: 19.98 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1719, allocations: 0 / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.172, allocations: 15.92 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.172, allocations: 8 kB / 0.5909 GB, free: 13.38 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.0001104/0.1721, allocations: 125.7 kB / 0.5911 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1722, allocations: 11.81 kB / 0.5911 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.1722, allocations: 25.7 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1722, allocations: 4 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1722, allocations: 0 / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1722, allocations: 8 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1724, allocations: 197.5 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1724, allocations: 4 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1725, allocations: 11.98 kB / 0.5913 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1725, allocations: 4 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1725, allocations: 0 / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1725, allocations: 0 / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1726, allocations: 4 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.1729, allocations: 174.6 kB / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.173, allocations: 92.91 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.173, allocations: 3.938 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1731, allocations: 4 kB / 0.5916 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.1731, allocations: 15.98 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1731, allocations: 4 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001242/0.1733, allocations: 137 kB / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1733, allocations: 0 / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002338/0.1735, allocations: 28 kB / 0.5918 GB, free: 12.44 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.001489/0.175, allocations: 460.7 kB / 0.5922 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.1753, allocations: 95.83 kB / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1753, allocations: 0 / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1754, allocations: 40.22 kB / 0.5923 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1757, allocations: 36.64 kB / 0.5924 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1762, allocations: 256.9 kB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1765, allocations: 0.704 MB / 0.5933 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.441e-05/0.1766, allocations: 16.88 kB / 0.5933 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1767, allocations: 27.42 kB / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1767, allocations: 0 / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.004921/0.1816, allocations: 1.978 MB / 0.5953 GB, free: 9.012 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)