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.0009131/0.000913, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009931/0.0009931, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.963/0.963, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003336, allocations: 8.875 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 82.3 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001971/0.1482, allocations: 1.363 MB / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1502, allocations: 1.39 MB / 0.5901 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.1503, allocations: 0 / 0.5901 GB, free: 236 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.1506, allocations: 31.84 kB / 0.5901 GB, free: 204 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1509, allocations: 59.75 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1512, allocations: 99.64 kB / 0.5902 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1514, allocations: 107.6 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.1514, allocations: 5.125 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1516, allocations: 51.77 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1518, allocations: 55.75 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1518, allocations: 4 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.152, allocations: 47.98 kB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.152, allocations: 19.92 kB / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.1521, allocations: 41.64 kB / 0.5906 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1523, allocations: 104 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1523, allocations: 0 / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1523, allocations: 3.938 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1523, allocations: 0 / 0.5907 GB, free: 15.61 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.0005924/0.1529, allocations: 430.9 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1529, allocations: 12.03 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.153, allocations: 15.81 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1532, allocations: 220.2 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1533, allocations: 4 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1533, allocations: 4 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1535, allocations: 109.1 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1536, allocations: 0 / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1536, allocations: 0 / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1536, allocations: 0 / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1538, allocations: 59.89 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.154, allocations: 227.3 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1543, allocations: 115.8 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1544, allocations: 54.62 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1545, allocations: 3.984 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1547, allocations: 121.8 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1547, allocations: 0 / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004994/0.1552, allocations: 177.5 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1553, allocations: 136.5 kB / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1555, allocations: 175.9 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1555, allocations: 29.69 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.1556, allocations: 100.1 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1556, allocations: 19.7 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.1557, allocations: 4 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1558, allocations: 330.8 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1559, allocations: 31.98 kB / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.156, allocations: 64.27 kB / 0.593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1561, allocations: 51.94 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1561, allocations: 0 / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000303/0.1565, allocations: 137.5 kB / 0.5932 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1565, allocations: 4 kB / 0.5932 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1565, allocations: 3.984 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1565, allocations: 4 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1566, allocations: 19.98 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1567, allocations: 4 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.1567, allocations: 31.86 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1568, allocations: 4 kB / 0.5932 GB, free: 12.65 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1569, allocations: 121.8 kB / 0.5934 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.1569, allocations: 11.89 kB / 0.5934 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.157, allocations: 17.41 kB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.157, allocations: 4 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.157, allocations: 0 / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.157, allocations: 320 / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1572, allocations: 205.5 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1572, allocations: 12 kB / 0.5936 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.1573, allocations: 15.98 kB / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.1573, allocations: 0 / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1573, allocations: 7.922 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1573, allocations: 4 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1573, allocations: 3.938 kB / 0.5936 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1576, allocations: 174.6 kB / 0.5938 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1577, allocations: 93.06 kB / 0.5939 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1577, allocations: 4 kB / 0.5939 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1578, allocations: 15.92 kB / 0.5939 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1579, allocations: 11.98 kB / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1579, allocations: 4 kB / 0.5939 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001144/0.158, allocations: 131.2 kB / 0.594 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.158, allocations: 0 / 0.594 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002527/0.1583, allocations: 28 kB / 0.5941 GB, free: 11.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009905/0.1593, allocations: 456 kB / 0.5945 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1596, allocations: 95.81 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.1596, allocations: 4.188 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1597, allocations: 39.98 kB / 0.5946 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.16, allocations: 32.52 kB / 0.5947 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.1605, allocations: 263 kB / 0.5949 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.1608, allocations: 0.7004 MB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.362e-05/0.1609, allocations: 24.86 kB / 0.5956 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1609, allocations: 23.42 kB / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1609, allocations: 0 / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.004595/0.1655, allocations: 1.868 MB / 0.5975 GB, free: 8.355 MB / 0.4981 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)