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.00116/0.00116, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.001207/0.001207, allocations: 189.5 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.807/0.807, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 61.34 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1547, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003239/0.158, allocations: 1.663 MB / 0.662 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1603, allocations: 1.518 MB / 0.6634 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1605, allocations: 0 / 0.6634 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.1608, allocations: 43.77 kB / 0.6635 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.1611, allocations: 59.64 kB / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1615, allocations: 119.6 kB / 0.6636 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1618, allocations: 119.6 kB / 0.6638 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.1619, allocations: 17.09 kB / 0.6638 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.162, allocations: 63.7 kB / 0.6638 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.1639, allocations: 51.75 kB / 0.6639 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.164, allocations: 8 kB / 0.6639 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1642, allocations: 55.98 kB / 0.6639 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1642, allocations: 27.91 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.1643, allocations: 39.73 kB / 0.664 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1646, allocations: 155.5 kB / 0.6642 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1646, allocations: 0 / 0.6642 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1647, allocations: 4 kB / 0.6642 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1647, allocations: 0 / 0.6642 GB, free: 6.336 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.0006435/0.1653, allocations: 438.9 kB / 0.6646 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1654, allocations: 8.031 kB / 0.6646 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.1654, allocations: 12.84 kB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1658, allocations: 228.4 kB / 0.6648 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1658, allocations: 384 / 0.6648 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1658, allocations: 12.11 kB / 0.6648 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.1661, allocations: 101 kB / 0.6649 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1661, allocations: 0 / 0.6649 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1661, allocations: 0 / 0.6649 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1661, allocations: 0 / 0.6649 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1663, allocations: 51.89 kB / 0.665 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1665, allocations: 219.4 kB / 0.6652 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1668, allocations: 107.8 kB / 0.6653 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1669, allocations: 58.55 kB / 0.6653 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.167, allocations: 3.984 kB / 0.6653 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.1672, allocations: 117.9 kB / 0.6655 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1673, allocations: 0 / 0.6655 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005094/0.1678, allocations: 161.4 kB / 0.6656 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.1679, allocations: 136.5 kB / 0.6657 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1681, allocations: 174.3 kB / 0.6659 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1681, allocations: 25.95 kB / 0.6659 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.1682, allocations: 108.1 kB / 0.666 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.1682, allocations: 27.64 kB / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1683, allocations: 21.72 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1684, allocations: 322.8 kB / 0.6664 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1685, allocations: 35.91 kB / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1687, allocations: 72.27 kB / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1689, allocations: 91.34 kB / 0.6666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1689, allocations: 0 / 0.6666 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003016/0.1692, allocations: 133.5 kB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1693, allocations: 7.984 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1693, allocations: 4 kB / 0.6667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1693, allocations: 0 / 0.6667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1694, allocations: 24.23 kB / 0.6667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1694, allocations: 0 / 0.6667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.1695, allocations: 11.91 kB / 0.6668 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1695, allocations: 16.03 kB / 0.6668 GB, free: 3.34 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.0001061/0.1696, allocations: 129.8 kB / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1697, allocations: 7.906 kB / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.1697, allocations: 25.39 kB / 0.6669 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1698, allocations: 0 / 0.6669 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1698, allocations: 0 / 0.6669 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1698, allocations: 4 kB / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.17, allocations: 205.5 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.17, allocations: 0 / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.17, allocations: 19.92 kB / 0.6671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1701, allocations: 4 kB / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1701, allocations: 0 / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1701, allocations: 0 / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1701, allocations: 4 kB / 0.6672 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1704, allocations: 166.5 kB / 0.6673 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1705, allocations: 96.94 kB / 0.6674 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1705, allocations: 0 / 0.6674 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1706, allocations: 11.98 kB / 0.6674 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1706, allocations: 15.92 kB / 0.6674 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1707, allocations: 192 / 0.6674 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001214/0.1708, allocations: 140.2 kB / 0.6676 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1708, allocations: 3.938 kB / 0.6676 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002626/0.1711, allocations: 28 kB / 0.6676 GB, free: 2.387 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.001072/0.1722, allocations: 442.7 kB / 0.668 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.1725, allocations: 91.88 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1725, allocations: 4 kB / 0.6681 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1726, allocations: 39.92 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1729, allocations: 36.02 kB / 0.6682 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1735, allocations: 266.9 kB / 0.6684 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1738, allocations: 0.7012 MB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.1739, allocations: 27.42 kB / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1739, allocations: 0 / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of Templates: time 0.00451/0.1784, allocations: 2.222 MB / 0.6713 GB, free: 14.73 MB / 0.5137 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)