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.001367/0.001367, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001595/0.001595, allocations: 187 kB / 17.34 MB, free: 5.742 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8075/0.8075, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 70.36 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 80.92 MB / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003438/0.1509, allocations: 1.675 MB / 0.6669 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1533, allocations: 1.51 MB / 0.6684 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1534, allocations: 3.938 kB / 0.6684 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1537, allocations: 43.77 kB / 0.6684 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1541, allocations: 59.62 kB / 0.6685 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1544, allocations: 115.6 kB / 0.6686 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1547, allocations: 131.6 kB / 0.6687 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/0.1548, allocations: 9.125 kB / 0.6687 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1549, allocations: 59.7 kB / 0.6688 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.1555, allocations: 51.77 kB / 0.6689 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1555, allocations: 8 kB / 0.6689 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1557, allocations: 59.97 kB / 0.6689 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.1558, allocations: 19.92 kB / 0.6689 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.828e-05/0.1559, allocations: 43.72 kB / 0.669 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1562, allocations: 155.5 kB / 0.6691 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1562, allocations: 0 / 0.6691 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1562, allocations: 0 / 0.6691 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1562, allocations: 4 kB / 0.6691 GB, free: 1.969 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.0007196/0.1569, allocations: 430.9 kB / 0.6695 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.157, allocations: 13.11 kB / 0.6696 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1571, allocations: 8.844 kB / 0.6696 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.1575, allocations: 227.9 kB / 0.6698 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1575, allocations: 384 / 0.6698 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1575, allocations: 8.125 kB / 0.6698 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1578, allocations: 105 kB / 0.6699 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1578, allocations: 0 / 0.6699 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1578, allocations: 0 / 0.6699 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1579, allocations: 0 / 0.6699 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.158, allocations: 51.89 kB / 0.6699 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.1583, allocations: 215.4 kB / 0.6701 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1586, allocations: 115.7 kB / 0.6703 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1587, allocations: 58.55 kB / 0.6703 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1588, allocations: 0 / 0.6703 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.159, allocations: 113.9 kB / 0.6704 GB, free: 444 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.159, allocations: 4 kB / 0.6704 GB, free: 440 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004915/0.1595, allocations: 157.5 kB / 0.6706 GB, free: 276 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1596, allocations: 132.5 kB / 0.6707 GB, free: 112 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1598, allocations: 175.8 kB / 0.6709 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1598, allocations: 29.7 kB / 0.6709 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.1599, allocations: 108.4 kB / 0.671 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1599, allocations: 23.66 kB / 0.671 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.16, allocations: 25.7 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1601, allocations: 326.8 kB / 0.6714 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1602, allocations: 27.92 kB / 0.6714 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1603, allocations: 72.52 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.1605, allocations: 99.33 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1605, allocations: 0 / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003206/0.1609, allocations: 137.4 kB / 0.6717 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1609, allocations: 4 kB / 0.6717 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1609, allocations: 4 kB / 0.6717 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1609, allocations: 0 / 0.6717 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1611, allocations: 23.92 kB / 0.6717 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1611, allocations: 0 / 0.6717 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.1612, allocations: 15.98 kB / 0.6717 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1612, allocations: 4 kB / 0.6717 GB, free: 14.99 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.0001157/0.1613, allocations: 129.9 kB / 0.6718 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1614, allocations: 15.75 kB / 0.6719 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.1614, allocations: 21.41 kB / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1614, allocations: 0 / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1614, allocations: 0 / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1615, allocations: 3.984 kB / 0.6719 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1616, allocations: 197.6 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1616, allocations: 7.984 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.1617, allocations: 11.94 kB / 0.6721 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1617, allocations: 8 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1618, allocations: 3.984 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1618, allocations: 0 / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1618, allocations: 4 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1621, allocations: 170.5 kB / 0.6723 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.1622, allocations: 93.02 kB / 0.6724 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1622, allocations: 4 kB / 0.6724 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.1623, allocations: 7.984 kB / 0.6724 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1623, allocations: 11.94 kB / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1624, allocations: 8.172 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001157/0.1625, allocations: 136.8 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1625, allocations: 3.938 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002624/0.1628, allocations: 31.98 kB / 0.6726 GB, free: 14.04 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.001087/0.1639, allocations: 454.6 kB / 0.673 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.1642, allocations: 88.02 kB / 0.6731 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1642, allocations: 0 / 0.6731 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1643, allocations: 43.91 kB / 0.6731 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1647, allocations: 39.66 kB / 0.6732 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1652, allocations: 262.7 kB / 0.6734 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1655, allocations: 0.7119 MB / 0.6741 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.1656, allocations: 19.44 kB / 0.6741 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.1656, allocations: 0 / 0.6741 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.004544/0.1701, allocations: 2.217 MB / 0.6763 GB, free: 10.34 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)