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.001059/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00108/0.001081, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.936/0.936, allocations: 135.2 MB / 425.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.47 kB / 0.5049 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 80.94 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002806/0.1402, allocations: 1.72 MB / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1421, allocations: 1.475 MB / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1422, allocations: 0 / 0.5871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1424, allocations: 35.84 kB / 0.5871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1426, allocations: 59.77 kB / 0.5872 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1429, allocations: 106.7 kB / 0.5873 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1431, allocations: 123.6 kB / 0.5874 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1431, allocations: 13.09 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1432, allocations: 63.7 kB / 0.5874 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1434, allocations: 55.7 kB / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1434, allocations: 4 kB / 0.5875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1436, allocations: 63.97 kB / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.1436, allocations: 23.92 kB / 0.5876 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.1437, allocations: 47.72 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1439, allocations: 143.9 kB / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1439, allocations: 0 / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1439, allocations: 0 / 0.5878 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1439, allocations: 0 / 0.5878 GB, free: 0.9375 MB / 494.1 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.0005627/0.1445, allocations: 438.8 kB / 0.5882 GB, free: 472 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1445, allocations: 8.031 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1446, allocations: 20.75 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1448, allocations: 220.8 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1448, allocations: 384 / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.1449, allocations: 12.12 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1451, allocations: 97.02 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1451, allocations: 0 / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1451, allocations: 8 kB / 0.5885 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1451, allocations: 7.938 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.1453, allocations: 48.02 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.1456, allocations: 207.3 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1458, allocations: 115.8 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1459, allocations: 50.56 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.146, allocations: 11.98 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.1462, allocations: 113.9 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1462, allocations: 0 / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004593/0.1467, allocations: 161.4 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.1468, allocations: 140.7 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.147, allocations: 179.9 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.147, allocations: 29.7 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.147, allocations: 96.14 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1471, allocations: 23.7 kB / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.1471, allocations: 25.7 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1472, allocations: 326.8 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1474, allocations: 31.98 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1475, allocations: 68.2 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1477, allocations: 95.38 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1477, allocations: 0 / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002876/0.148, allocations: 133.6 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.148, allocations: 10.03 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.148, allocations: 4 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1481, allocations: 0 / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1482, allocations: 28.08 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1482, allocations: 7.938 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.1483, allocations: 11.92 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1483, allocations: 4 kB / 0.5904 GB, free: 13.94 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 9.495e-05/0.1484, allocations: 125.8 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.1484, allocations: 19.8 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.1485, allocations: 13.41 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1485, allocations: 0 / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1485, allocations: 8 kB / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1485, allocations: 0 / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1487, allocations: 201.5 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1487, allocations: 0 / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.1488, allocations: 16.17 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1488, allocations: 0 / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1488, allocations: 3.938 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1488, allocations: 7.984 kB / 0.5908 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1488, allocations: 3.938 kB / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1492, allocations: 174.6 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.1492, allocations: 88.92 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.1493, allocations: 4 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.1493, allocations: 11.98 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.1494, allocations: 7.938 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1494, allocations: 11.98 kB / 0.591 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001089/0.1495, allocations: 127.2 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1495, allocations: 0 / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002486/0.1498, allocations: 35.98 kB / 0.5912 GB, free: 12.99 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.000937/0.1507, allocations: 450.2 kB / 0.5916 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.151, allocations: 83.89 kB / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.151, allocations: 0 / 0.5917 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1512, allocations: 51.91 kB / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1514, allocations: 25.09 kB / 0.5918 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.1519, allocations: 264.9 kB / 0.592 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1521, allocations: 0.704 MB / 0.5927 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.946e-05/0.1522, allocations: 24.84 kB / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.1523, allocations: 19.42 kB / 0.5928 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1523, allocations: 4 kB / 0.5928 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.00466/0.157, allocations: 1.976 MB / 0.5947 GB, free: 9.57 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)