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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 182.8 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6944/0.6944, allocations: 133.3 MB / 150.1 MB, free: 11.19 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 404.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 94.83 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009921/0.0009921, allocations: 48.16 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1348, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003909/0.1387, allocations: 1.729 MB / 0.6438 GB, free: 3.695 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.1413, allocations: 1.475 MB / 0.6453 GB, free: 2.211 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1415, allocations: 0 / 0.6453 GB, free: 2.211 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1419, allocations: 39.83 kB / 0.6453 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1422, allocations: 55.77 kB / 0.6454 GB, free: 2.117 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1426, allocations: 101.6 kB / 0.6455 GB, free: 2.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1428, allocations: 119.6 kB / 0.6456 GB, free: 1.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.1428, allocations: 9.109 kB / 0.6456 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1429, allocations: 59.7 kB / 0.6456 GB, free: 1.836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.1431, allocations: 53.16 kB / 0.6457 GB, free: 1.785 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1432, allocations: 7.938 kB / 0.6457 GB, free: 1.777 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1433, allocations: 55.98 kB / 0.6457 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.1434, allocations: 19.91 kB / 0.6458 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.1434, allocations: 39.73 kB / 0.6458 GB, free: 1.664 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1437, allocations: 147.9 kB / 0.6459 GB, free: 1.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1437, allocations: 0 / 0.6459 GB, free: 1.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1437, allocations: 0 / 0.6459 GB, free: 1.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1437, allocations: 0 / 0.6459 GB, free: 1.52 MB / 442.7 MB 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.0006885/0.1444, allocations: 438.9 kB / 0.6464 GB, free: 1.043 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1445, allocations: 8.031 kB / 0.6464 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.1445, allocations: 12.75 kB / 0.6464 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1448, allocations: 220 kB / 0.6466 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1448, allocations: 4.375 kB / 0.6466 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1449, allocations: 12.12 kB / 0.6466 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1451, allocations: 93.08 kB / 0.6467 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1451, allocations: 3.938 kB / 0.6467 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1451, allocations: 4 kB / 0.6467 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1451, allocations: 0 / 0.6467 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.1453, allocations: 51.95 kB / 0.6468 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.1456, allocations: 219.3 kB / 0.647 GB, free: 324 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1459, allocations: 111.8 kB / 0.6471 GB, free: 184 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.146, allocations: 58.48 kB / 0.6471 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.146, allocations: 4 kB / 0.6471 GB, free: 112 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.1463, allocations: 113.9 kB / 0.6472 GB, free: 15.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1463, allocations: 0 / 0.6472 GB, free: 15.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.000492/0.1468, allocations: 157.4 kB / 0.6474 GB, free: 15.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.1469, allocations: 132.5 kB / 0.6475 GB, free: 15.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1471, allocations: 179 kB / 0.6477 GB, free: 15.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1471, allocations: 37.7 kB / 0.6477 GB, free: 15.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.1472, allocations: 100.1 kB / 0.6478 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.1472, allocations: 19.72 kB / 0.6478 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.1473, allocations: 29.7 kB / 0.6479 GB, free: 15.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1474, allocations: 322.8 kB / 0.6482 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1475, allocations: 31.97 kB / 0.6482 GB, free: 14.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1477, allocations: 60.28 kB / 0.6483 GB, free: 14.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1479, allocations: 95.33 kB / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1479, allocations: 32 / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002966/0.1482, allocations: 141.3 kB / 0.6485 GB, free: 14.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1482, allocations: 4 kB / 0.6485 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1482, allocations: 4 kB / 0.6485 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1483, allocations: 0 / 0.6485 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1484, allocations: 27.97 kB / 0.6485 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1484, allocations: 0 / 0.6485 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.1485, allocations: 16.03 kB / 0.6485 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1485, allocations: 4 kB / 0.6485 GB, free: 14.54 MB / 458.7 MB 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.0001131/0.1486, allocations: 136.7 kB / 0.6487 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1487, allocations: 11.81 kB / 0.6487 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1487, allocations: 21.38 kB / 0.6487 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1487, allocations: 4.312 kB / 0.6487 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1487, allocations: 0 / 0.6487 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1487, allocations: 0 / 0.6487 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1489, allocations: 205.5 kB / 0.6489 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1489, allocations: 8 kB / 0.6489 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.149, allocations: 11.98 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.149, allocations: 4 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.149, allocations: 4 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.149, allocations: 0 / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.149, allocations: 4 kB / 0.6489 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.1498, allocations: 0.762 MB / 0.6497 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.1498, allocations: 85.02 kB / 0.6498 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1499, allocations: 11.94 kB / 0.6498 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.1499, allocations: 7.984 kB / 0.6498 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.15, allocations: 15.86 kB / 0.6498 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.15, allocations: 8.188 kB / 0.6498 GB, free: 13.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1502, allocations: 132.2 kB / 0.6499 GB, free: 12.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1502, allocations: 3.938 kB / 0.6499 GB, free: 12.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.1505, allocations: 39.98 kB / 0.65 GB, free: 12.94 MB / 458.7 MB 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.001018/0.1515, allocations: 450.2 kB / 0.6504 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1518, allocations: 83.88 kB / 0.6505 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1518, allocations: 0 / 0.6505 GB, free: 12.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.152, allocations: 43.92 kB / 0.6505 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1523, allocations: 33.67 kB / 0.6505 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.1528, allocations: 397.6 kB / 0.6509 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1531, allocations: 0.7004 MB / 0.6516 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.835e-05/0.1532, allocations: 20.81 kB / 0.6516 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1533, allocations: 23.42 kB / 0.6517 GB, free: 11.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1533, allocations: 4 kB / 0.6517 GB, free: 11.3 MB / 458.7 MB Notification: Performance of Templates: time 0.004496/0.1578, allocations: 1.963 MB / 0.6536 GB, free: 9.355 MB / 458.7 MB 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)