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.001518/0.001518, allocations: 107.1 kB / 16.41 MB, free: 6.477 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.001316/0.001316, allocations: 187 kB / 17.34 MB, free: 5.715 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8616/0.8616, allocations: 135.2 MB / 426.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.52 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1549, allocations: 80.94 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003526/0.1584, allocations: 1.667 MB / 0.667 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1609, allocations: 1.514 MB / 0.6685 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.161, allocations: 4 kB / 0.6685 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1613, allocations: 43.75 kB / 0.6685 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1616, allocations: 63.64 kB / 0.6686 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.162, allocations: 123.1 kB / 0.6687 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1622, allocations: 119.6 kB / 0.6688 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1622, allocations: 5.125 kB / 0.6688 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1624, allocations: 55.77 kB / 0.6689 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1626, allocations: 63.69 kB / 0.6689 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1627, allocations: 4 kB / 0.6689 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1628, allocations: 59.98 kB / 0.669 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.1629, allocations: 19.91 kB / 0.669 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.1629, allocations: 43.73 kB / 0.6691 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1632, allocations: 155.3 kB / 0.6692 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.1632, allocations: 4 kB / 0.6692 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1632, allocations: 0 / 0.6692 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1632, allocations: 0 / 0.6692 GB, free: 1.812 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.0007567/0.164, allocations: 446.5 kB / 0.6696 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.164, allocations: 17.09 kB / 0.6696 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1641, allocations: 12.84 kB / 0.6697 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1645, allocations: 220.1 kB / 0.6699 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1645, allocations: 4.375 kB / 0.6699 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1645, allocations: 8.125 kB / 0.6699 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1648, allocations: 101 kB / 0.67 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1648, allocations: 0 / 0.67 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1648, allocations: 4 kB / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1648, allocations: 0 / 0.67 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.165, allocations: 51.95 kB / 0.67 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.1653, allocations: 203.5 kB / 0.6702 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1656, allocations: 115.8 kB / 0.6703 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1657, allocations: 58.48 kB / 0.6704 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.1657, allocations: 7.984 kB / 0.6704 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.166, allocations: 117.9 kB / 0.6705 GB, free: 264 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.166, allocations: 0 / 0.6705 GB, free: 264 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005402/0.1665, allocations: 161.4 kB / 0.6707 GB, free: 96 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1666, allocations: 132.5 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1668, allocations: 171.9 kB / 0.671 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1669, allocations: 41.89 kB / 0.671 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.1669, allocations: 100.1 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.167, allocations: 23.8 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.167, allocations: 29.7 kB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1672, allocations: 322.8 kB / 0.6715 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1673, allocations: 27.98 kB / 0.6715 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1675, allocations: 68.2 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.1677, allocations: 95.33 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1677, allocations: 0 / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003221/0.168, allocations: 141.5 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.168, allocations: 7.938 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.168, allocations: 0 / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1681, allocations: 4 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1682, allocations: 19.98 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1682, allocations: 0 / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.1683, allocations: 11.98 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.1683, allocations: 4.094 kB / 0.6718 GB, free: 14.82 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.00013/0.1684, allocations: 133.7 kB / 0.6719 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.1685, allocations: 15.91 kB / 0.672 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.1685, allocations: 13.41 kB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1685, allocations: 4 kB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1685, allocations: 3.984 kB / 0.672 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1685, allocations: 0 / 0.672 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1687, allocations: 205.8 kB / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1687, allocations: 0 / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.1688, allocations: 20 kB / 0.6722 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1688, allocations: 3.984 kB / 0.6722 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1688, allocations: 8 kB / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1688, allocations: 0 / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1688, allocations: 0 / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.1692, allocations: 174.6 kB / 0.6724 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1693, allocations: 89 kB / 0.6725 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1693, allocations: 8 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.1694, allocations: 7.984 kB / 0.6725 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.1694, allocations: 7.984 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1695, allocations: 4 kB / 0.6725 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001315/0.1696, allocations: 136.4 kB / 0.6726 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1696, allocations: 0 / 0.6726 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002808/0.1699, allocations: 39.92 kB / 0.6727 GB, free: 13.86 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.001682/0.1716, allocations: 449.1 kB / 0.6731 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1719, allocations: 87.88 kB / 0.6732 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1719, allocations: 0 / 0.6732 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.172, allocations: 35.98 kB / 0.6732 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1723, allocations: 38.52 kB / 0.6732 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.1729, allocations: 270.7 kB / 0.6735 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1732, allocations: 0.7002 MB / 0.6742 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.1733, allocations: 19.44 kB / 0.6742 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1733, allocations: 4 kB / 0.6742 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.004805/0.1781, allocations: 2.216 MB / 0.6764 GB, free: 10.18 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)