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.005711/0.005711, allocations: 97.11 kB / 15.73 MB, free: 6.043 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.001297/0.001297, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7716/0.7716, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 61.61 kB / 0.5813 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.21 MB / 0.6597 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002642/0.1531, allocations: 1.659 MB / 0.6613 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1554, allocations: 1.518 MB / 0.6628 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.1555, allocations: 0 / 0.6628 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1559, allocations: 39.77 kB / 0.6628 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1562, allocations: 67.61 kB / 0.6629 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1565, allocations: 117.5 kB / 0.663 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1567, allocations: 119.6 kB / 0.6631 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.1568, allocations: 17.08 kB / 0.6631 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1569, allocations: 55.77 kB / 0.6632 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.1578, allocations: 59.7 kB / 0.6632 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1578, allocations: 4 kB / 0.6632 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.158, allocations: 63.97 kB / 0.6633 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.1581, allocations: 23.91 kB / 0.6633 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.1582, allocations: 43.73 kB / 0.6634 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1586, allocations: 151.3 kB / 0.6635 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1586, allocations: 0 / 0.6635 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1586, allocations: 0 / 0.6635 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1586, allocations: 0 / 0.6635 GB, free: 9.691 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.0008859/0.1595, allocations: 450.6 kB / 0.6639 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.1596, allocations: 8.031 kB / 0.6639 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.1596, allocations: 16.84 kB / 0.664 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.1601, allocations: 224.5 kB / 0.6642 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1601, allocations: 4.375 kB / 0.6642 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1601, allocations: 4.125 kB / 0.6642 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.1604, allocations: 105 kB / 0.6643 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1605, allocations: 3.938 kB / 0.6643 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1605, allocations: 0 / 0.6643 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1605, allocations: 4 kB / 0.6643 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.1608, allocations: 51.95 kB / 0.6643 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1611, allocations: 211.4 kB / 0.6645 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1614, allocations: 119.8 kB / 0.6647 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1616, allocations: 46.56 kB / 0.6647 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.1617, allocations: 8 kB / 0.6647 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.162, allocations: 105.9 kB / 0.6648 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.003e-06/0.162, allocations: 0 / 0.6648 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0007108/0.1627, allocations: 173.5 kB / 0.665 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1628, allocations: 128.5 kB / 0.6651 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.1631, allocations: 177.1 kB / 0.6653 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1632, allocations: 25.7 kB / 0.6653 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.1633, allocations: 104.1 kB / 0.6654 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.1633, allocations: 27.78 kB / 0.6654 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.1634, allocations: 21.86 kB / 0.6654 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1636, allocations: 326.8 kB / 0.6657 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1637, allocations: 31.98 kB / 0.6658 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1639, allocations: 72.2 kB / 0.6658 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.1643, allocations: 95.38 kB / 0.6659 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1643, allocations: 0 / 0.6659 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000476/0.1648, allocations: 133.4 kB / 0.6661 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1648, allocations: 8 kB / 0.6661 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1648, allocations: 4.094 kB / 0.6661 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.1649, allocations: 4 kB / 0.6661 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1651, allocations: 19.98 kB / 0.6661 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1651, allocations: 3.938 kB / 0.6661 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1652, allocations: 7.984 kB / 0.6661 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1653, allocations: 8 kB / 0.6661 GB, free: 6.695 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.0001087/0.1654, allocations: 125.7 kB / 0.6662 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1654, allocations: 19.89 kB / 0.6663 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.1655, allocations: 21.72 kB / 0.6663 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1655, allocations: 7.984 kB / 0.6663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1655, allocations: 0 / 0.6663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1656, allocations: 4 kB / 0.6663 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.1658, allocations: 205.7 kB / 0.6665 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1658, allocations: 0 / 0.6665 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.166, allocations: 19.92 kB / 0.6665 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.166, allocations: 0 / 0.6665 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.166, allocations: 4 kB / 0.6665 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.166, allocations: 3.984 kB / 0.6665 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.166, allocations: 7.938 kB / 0.6665 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.1665, allocations: 158.7 kB / 0.6667 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1666, allocations: 96.98 kB / 0.6668 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.1666, allocations: 4 kB / 0.6668 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1668, allocations: 11.98 kB / 0.6668 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.1669, allocations: 8 kB / 0.6668 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1669, allocations: 7.984 kB / 0.6668 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00019/0.1671, allocations: 129.2 kB / 0.6669 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.1671, allocations: 0 / 0.6669 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004432/0.1676, allocations: 31.98 kB / 0.6669 GB, free: 5.738 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.001553/0.1691, allocations: 453.6 kB / 0.6674 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.1695, allocations: 83.89 kB / 0.6675 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1695, allocations: 0 / 0.6675 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.1698, allocations: 48.09 kB / 0.6675 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1702, allocations: 31.17 kB / 0.6675 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.1709, allocations: 240.2 kB / 0.6678 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1713, allocations: 0.7081 MB / 0.6685 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.1714, allocations: 16.88 kB / 0.6685 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.1715, allocations: 19.42 kB / 0.6685 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1715, allocations: 0 / 0.6685 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.007132/0.1786, allocations: 2.052 MB / 0.6705 GB, free: 2.281 MB / 0.4981 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)