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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7043/0.7043, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.385/1.385, allocations: 222.9 MB / 403.4 MB, free: 7.043 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.0009984/0.0009984, allocations: 99.77 kB / 484.3 MB, free: 8.652 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009526/0.0009526, allocations: 51.92 kB / 0.5618 GB, free: 70.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1323, allocations: 80.21 MB / 0.6402 GB, free: 6.707 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003126/0.1354, allocations: 1.728 MB / 0.6419 GB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1375, allocations: 1.471 MB / 0.6433 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.1376, allocations: 0 / 0.6433 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1379, allocations: 39.83 kB / 0.6433 GB, free: 3.441 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1381, allocations: 51.77 kB / 0.6434 GB, free: 3.391 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1384, allocations: 101.3 kB / 0.6435 GB, free: 3.293 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1386, allocations: 127.6 kB / 0.6436 GB, free: 3.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.1386, allocations: 5.125 kB / 0.6436 GB, free: 3.164 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1388, allocations: 59.64 kB / 0.6437 GB, free: 3.105 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.1395, allocations: 47.77 kB / 0.6437 GB, free: 3.059 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1395, allocations: 4 kB / 0.6437 GB, free: 3.055 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1396, allocations: 59.91 kB / 0.6438 GB, free: 2.996 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1397, allocations: 19.92 kB / 0.6438 GB, free: 2.977 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.1398, allocations: 43.72 kB / 0.6438 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.14, allocations: 143.9 kB / 0.644 GB, free: 2.793 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.14, allocations: 4 kB / 0.644 GB, free: 2.789 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.14, allocations: 0 / 0.644 GB, free: 2.789 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.14, allocations: 3.938 kB / 0.644 GB, free: 2.785 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.0005885/0.1406, allocations: 438.9 kB / 0.6444 GB, free: 2.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1407, allocations: 12.03 kB / 0.6444 GB, free: 2.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1407, allocations: 12.75 kB / 0.6444 GB, free: 2.285 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.141, allocations: 212.1 kB / 0.6446 GB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.141, allocations: 4.375 kB / 0.6446 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.141, allocations: 12.12 kB / 0.6446 GB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1412, allocations: 105 kB / 0.6447 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1412, allocations: 0 / 0.6447 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1413, allocations: 7.984 kB / 0.6447 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1413, allocations: 0 / 0.6447 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1415, allocations: 55.89 kB / 0.6448 GB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.1417, allocations: 215.3 kB / 0.645 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.142, allocations: 111.8 kB / 0.6451 GB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1421, allocations: 54.55 kB / 0.6452 GB, free: 1.375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1422, allocations: 4 kB / 0.6452 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.1424, allocations: 113.9 kB / 0.6453 GB, free: 1.238 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1424, allocations: 3.938 kB / 0.6453 GB, free: 1.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004567/0.1429, allocations: 157.5 kB / 0.6454 GB, free: 1.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.143, allocations: 128.5 kB / 0.6456 GB, free: 0.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1431, allocations: 178.9 kB / 0.6457 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1432, allocations: 33.95 kB / 0.6458 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.1432, allocations: 104.1 kB / 0.6459 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1433, allocations: 19.7 kB / 0.6459 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1433, allocations: 29.7 kB / 0.6459 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1434, allocations: 318.8 kB / 0.6462 GB, free: 220 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.946e-05/0.1435, allocations: 31.98 kB / 0.6462 GB, free: 188 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1437, allocations: 68.2 kB / 0.6463 GB, free: 104 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.1439, allocations: 99.38 kB / 0.6464 GB, free: 15.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1439, allocations: 0 / 0.6464 GB, free: 15.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000311/0.1442, allocations: 137.5 kB / 0.6465 GB, free: 15.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1442, allocations: 4.938 kB / 0.6465 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1443, allocations: 3.938 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1443, allocations: 4 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1444, allocations: 19.98 kB / 0.6466 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1444, allocations: 7.922 kB / 0.6466 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.1445, allocations: 11.94 kB / 0.6466 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1445, allocations: 4.406 kB / 0.6466 GB, free: 15.8 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.0001073/0.1446, allocations: 132.8 kB / 0.6467 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1447, allocations: 19.81 kB / 0.6467 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.1447, allocations: 17.39 kB / 0.6467 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1447, allocations: 4 kB / 0.6467 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1447, allocations: 0 / 0.6467 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1447, allocations: 0 / 0.6467 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1449, allocations: 205.5 kB / 0.6469 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1449, allocations: 0 / 0.6469 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.145, allocations: 19.98 kB / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.145, allocations: 0 / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.145, allocations: 4 kB / 0.647 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.145, allocations: 3.938 kB / 0.647 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.145, allocations: 0 / 0.647 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.1457, allocations: 0.7659 MB / 0.6477 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.1458, allocations: 89.02 kB / 0.6478 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1458, allocations: 7.938 kB / 0.6478 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.1459, allocations: 7.984 kB / 0.6478 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1459, allocations: 11.92 kB / 0.6478 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.146, allocations: 8 kB / 0.6478 GB, free: 14.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1461, allocations: 131.2 kB / 0.648 GB, free: 14.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1461, allocations: 0 / 0.648 GB, free: 14.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.1464, allocations: 35.98 kB / 0.648 GB, free: 14.2 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.0009323/0.1474, allocations: 446.8 kB / 0.6484 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1476, allocations: 87.88 kB / 0.6485 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1477, allocations: 0 / 0.6485 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1478, allocations: 43.91 kB / 0.6485 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1481, allocations: 31.97 kB / 0.6486 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.1486, allocations: 389.8 kB / 0.649 GB, free: 13.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1489, allocations: 0.7082 MB / 0.6496 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.344e-05/0.149, allocations: 16.88 kB / 0.6497 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.149, allocations: 23.42 kB / 0.6497 GB, free: 12.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.9e-07/0.149, allocations: 0 / 0.6497 GB, free: 12.57 MB / 458.7 MB Notification: Performance of Templates: time 0.004401/0.1534, allocations: 1.966 MB / 0.6516 GB, free: 10.63 MB / 458.7 MB 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)