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.001462/0.001462, allocations: 111.6 kB / 16.41 MB, free: 6.488 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.001686/0.001686, allocations: 187 kB / 17.34 MB, free: 5.762 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7877/0.7877, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.91 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 80.93 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003011/0.1558, allocations: 1.667 MB / 0.6669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.158, allocations: 1.506 MB / 0.6684 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.1581, allocations: 4 kB / 0.6684 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1583, allocations: 43.7 kB / 0.6684 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1586, allocations: 67.62 kB / 0.6685 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1589, allocations: 123.6 kB / 0.6686 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1591, allocations: 119.6 kB / 0.6687 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.1592, allocations: 13.12 kB / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1593, allocations: 55.7 kB / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1595, allocations: 47.77 kB / 0.6688 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.1596, allocations: 8 kB / 0.6689 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1597, allocations: 59.97 kB / 0.6689 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.1598, allocations: 27.91 kB / 0.6689 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.1599, allocations: 51.67 kB / 0.669 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.1601, allocations: 143.5 kB / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1601, allocations: 0 / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.036e-06/0.1602, allocations: 4 kB / 0.6691 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1602, allocations: 0 / 0.6691 GB, free: 1.887 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.0006153/0.1608, allocations: 434.9 kB / 0.6695 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1608, allocations: 9.109 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.1609, allocations: 8.844 kB / 0.6696 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1612, allocations: 231.9 kB / 0.6698 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1612, allocations: 4.375 kB / 0.6698 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1613, allocations: 12.06 kB / 0.6698 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1615, allocations: 97.08 kB / 0.6699 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1615, allocations: 3.938 kB / 0.6699 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1615, allocations: 0 / 0.6699 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1615, allocations: 0 / 0.6699 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.1617, allocations: 55.89 kB / 0.6699 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.162, allocations: 211.4 kB / 0.6701 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1622, allocations: 115.8 kB / 0.6703 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1624, allocations: 50.56 kB / 0.6703 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1624, allocations: 7.969 kB / 0.6703 GB, free: 488 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.1626, allocations: 109.9 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1626, allocations: 0 / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004785/0.1631, allocations: 161.5 kB / 0.6706 GB, free: 188 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.1632, allocations: 136.7 kB / 0.6707 GB, free: 20 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1634, allocations: 179.9 kB / 0.6709 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1634, allocations: 25.7 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1635, allocations: 100.1 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.1635, allocations: 27.64 kB / 0.671 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.1636, allocations: 25.7 kB / 0.671 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1637, allocations: 322.8 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1638, allocations: 27.98 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1639, allocations: 76.27 kB / 0.6715 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1642, allocations: 91.38 kB / 0.6715 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1642, allocations: 4 kB / 0.6715 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002997/0.1645, allocations: 133.3 kB / 0.6717 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1645, allocations: 8 kB / 0.6717 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1645, allocations: 0 / 0.6717 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1645, allocations: 0 / 0.6717 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1647, allocations: 23.92 kB / 0.6717 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1647, allocations: 4.094 kB / 0.6717 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.1648, allocations: 12.3 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1648, allocations: 8 kB / 0.6717 GB, free: 14.91 MB / 0.5137 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.0001062/0.1649, allocations: 125.8 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.1649, allocations: 19.78 kB / 0.6719 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.165, allocations: 25.34 kB / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.165, allocations: 0 / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.165, allocations: 0 / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.165, allocations: 4 kB / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1652, allocations: 209.7 kB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1652, allocations: 3.938 kB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.1653, allocations: 15.92 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1653, allocations: 4 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1653, allocations: 0 / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1653, allocations: 7.984 kB / 0.6721 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1653, allocations: 0 / 0.6721 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.1657, allocations: 170.5 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1657, allocations: 92.95 kB / 0.6724 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1657, allocations: 0 / 0.6724 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1658, allocations: 11.98 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1659, allocations: 8 kB / 0.6724 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.1659, allocations: 7.984 kB / 0.6724 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001086/0.166, allocations: 136.8 kB / 0.6725 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.166, allocations: 0 / 0.6725 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000246/0.1663, allocations: 31.98 kB / 0.6726 GB, free: 13.95 MB / 0.5137 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.0009632/0.1672, allocations: 444.5 kB / 0.673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.1675, allocations: 83.89 kB / 0.6731 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1676, allocations: 0 / 0.6731 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1677, allocations: 43.91 kB / 0.6731 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.168, allocations: 42.84 kB / 0.6731 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.1685, allocations: 270.8 kB / 0.6734 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1687, allocations: 0.7002 MB / 0.6741 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1688, allocations: 27.42 kB / 0.6741 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1688, allocations: 0 / 0.6741 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.003867/0.1727, allocations: 2.207 MB / 0.6763 GB, free: 10.27 MB / 0.5137 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)