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.0008633/0.0008633, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009455/0.0009455, allocations: 177.3 kB / 15.95 MB, free: 216 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.204/1.204, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8452/0.8452, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 8.625 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001753/0.1433, allocations: 1.346 MB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.145, allocations: 1.392 MB / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1451, allocations: 0 / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1453, allocations: 31.84 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1455, allocations: 55.8 kB / 0.59 GB, free: 264 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1458, allocations: 91.75 kB / 0.59 GB, free: 172 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.146, allocations: 79.83 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.146, allocations: 5.125 kB / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1461, allocations: 55.77 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1463, allocations: 41.73 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1463, allocations: 7.906 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1464, allocations: 43.92 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.1464, allocations: 15.92 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1465, allocations: 45.62 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1466, allocations: 112 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1466, allocations: 3.938 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1466, allocations: 0 / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1467, allocations: 0 / 0.5904 GB, free: 15.76 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.0005221/0.1472, allocations: 422.9 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.1472, allocations: 8.031 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.1473, allocations: 15.81 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1475, allocations: 220.3 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1475, allocations: 0 / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1475, allocations: 4 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.1478, allocations: 109 kB / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1478, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1478, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1478, allocations: 0 / 0.5912 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.148, allocations: 67.83 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.1482, allocations: 215.4 kB / 0.5915 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1484, allocations: 119.9 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1485, allocations: 3.984 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.1487, allocations: 117.9 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1487, allocations: 0 / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000448/0.1492, allocations: 177.6 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.1492, allocations: 128.5 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1494, allocations: 179.9 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1494, allocations: 25.7 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.1495, allocations: 104.1 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1495, allocations: 19.72 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.1495, allocations: 4 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1496, allocations: 330.8 kB / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1497, allocations: 39.92 kB / 0.5926 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1499, allocations: 68.27 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.15, allocations: 36.27 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.15, allocations: 7.953 kB / 0.5928 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002847/0.1503, allocations: 145.4 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1503, allocations: 4 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1503, allocations: 4 kB / 0.5929 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1503, allocations: 0 / 0.5929 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1504, allocations: 19.98 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1505, allocations: 4 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.1505, allocations: 19.84 kB / 0.5929 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1506, allocations: 12.08 kB / 0.593 GB, free: 12.89 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 9.824e-05/0.1507, allocations: 125.8 kB / 0.5931 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1507, allocations: 11.86 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.1507, allocations: 21.39 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1508, allocations: 0 / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1508, allocations: 0 / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1508, allocations: 4 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1509, allocations: 201.5 kB / 0.5933 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1509, allocations: 4 kB / 0.5933 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.151, allocations: 23.94 kB / 0.5933 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.151, allocations: 0 / 0.5933 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.151, allocations: 7.938 kB / 0.5933 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1511, allocations: 0 / 0.5933 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1511, allocations: 0 / 0.5933 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1514, allocations: 198 kB / 0.5935 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.1514, allocations: 96.91 kB / 0.5936 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1515, allocations: 4 kB / 0.5936 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1515, allocations: 15.98 kB / 0.5936 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1516, allocations: 11.98 kB / 0.5936 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1516, allocations: 0 / 0.5936 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.1517, allocations: 131.2 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1517, allocations: 0 / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002386/0.152, allocations: 31.98 kB / 0.5938 GB, free: 11.89 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.0008864/0.1529, allocations: 458.4 kB / 0.5942 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.1531, allocations: 95.95 kB / 0.5943 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1531, allocations: 0 / 0.5943 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1533, allocations: 48.03 kB / 0.5944 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1535, allocations: 28.06 kB / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.1539, allocations: 261.6 kB / 0.5947 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1542, allocations: 0.7121 MB / 0.5953 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.115e-05/0.1542, allocations: 16.88 kB / 0.5954 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.1543, allocations: 23.42 kB / 0.5954 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1543, allocations: 0 / 0.5954 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.004013/0.1583, allocations: 1.856 MB / 0.5972 GB, free: 8.562 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: