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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007866/0.007867, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7796/0.7796, allocations: 135.2 MB / 151 MB, free: 13.84 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.682/1.682, allocations: 223.2 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008817, allocations: 96.45 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4593, allocations: 82.31 MB / 0.6495 GB, free: 36.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.6253, allocations: 115.6 MB / 0.7624 GB, free: 320 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6256, allocations: 87.89 kB / 0.7625 GB, free: 232 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.6387, allocations: 4.864 MB / 0.7672 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6388, allocations: 0 / 0.7672 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.6388, allocations: 4 kB / 0.7672 GB, free: 11.35 MB / 0.5417 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.0006282/0.6394, allocations: 462.6 kB / 0.7677 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.6395, allocations: 8.031 kB / 0.7677 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.6395, allocations: 30.56 kB / 0.7677 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.6396, allocations: 19.77 kB / 0.7677 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.6399, allocations: 214.8 kB / 0.7679 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.6399, allocations: 8 kB / 0.7679 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.6399, allocations: 0 / 0.7679 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.6402, allocations: 109 kB / 0.768 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6402, allocations: 4 kB / 0.768 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.6403, allocations: 0 / 0.768 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6403, allocations: 0 / 0.768 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.6405, allocations: 67.89 kB / 0.7681 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.6407, allocations: 211.4 kB / 0.7683 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.641, allocations: 123.8 kB / 0.7684 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.641, allocations: 4.062 kB / 0.7684 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.6413, allocations: 122 kB / 0.7686 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.6413, allocations: 3.938 kB / 0.7686 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0005202/0.6418, allocations: 177.4 kB / 0.7687 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.6419, allocations: 136.8 kB / 0.7689 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.6421, allocations: 163.3 kB / 0.769 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6421, allocations: 33.64 kB / 0.769 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.6422, allocations: 104.1 kB / 0.7691 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.6423, allocations: 27.64 kB / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.6423, allocations: 0 / 0.7692 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6424, allocations: 330.8 kB / 0.7695 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.6425, allocations: 39.97 kB / 0.7695 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.6426, allocations: 68.2 kB / 0.7696 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.6428, allocations: 48.02 kB / 0.7696 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6428, allocations: 0 / 0.7696 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002966/0.6431, allocations: 141.4 kB / 0.7698 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6431, allocations: 9.188 kB / 0.7698 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6431, allocations: 0 / 0.7698 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6431, allocations: 4 kB / 0.7698 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6433, allocations: 31.91 kB / 0.7698 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6433, allocations: 0 / 0.7698 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.6434, allocations: 8 kB / 0.7698 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.6434, allocations: 4 kB / 0.7698 GB, free: 8.395 MB / 0.5417 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.0001125/0.6435, allocations: 136.2 kB / 0.77 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.6436, allocations: 19.8 kB / 0.77 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.6439, allocations: 123 kB / 0.7701 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.6439, allocations: 3.984 kB / 0.7701 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.6439, allocations: 8 kB / 0.7701 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6439, allocations: 0 / 0.7701 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.6441, allocations: 209.5 kB / 0.7703 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6441, allocations: 4 kB / 0.7703 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.6442, allocations: 23.98 kB / 0.7703 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6442, allocations: 4 kB / 0.7703 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.6443, allocations: 3.984 kB / 0.7703 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.6443, allocations: 4 kB / 0.7703 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6443, allocations: 0 / 0.7703 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.6447, allocations: 214.1 kB / 0.7705 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.6447, allocations: 89 kB / 0.7706 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.6448, allocations: 11.97 kB / 0.7706 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.6449, allocations: 15.92 kB / 0.7707 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.6449, allocations: 11.98 kB / 0.7707 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6449, allocations: 4 kB / 0.7707 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001368/0.6451, allocations: 147.4 kB / 0.7708 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6451, allocations: 0 / 0.7708 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002704/0.6454, allocations: 36 kB / 0.7708 GB, free: 7.23 MB / 0.5417 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.00168/0.6471, allocations: 1.227 MB / 0.772 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.6474, allocations: 100 kB / 0.7721 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6474, allocations: 0 / 0.7721 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.6476, allocations: 51.92 kB / 0.7722 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.6478, allocations: 42.52 kB / 0.7722 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.6495, allocations: 1.277 MB / 0.7735 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.6499, allocations: 0.7121 MB / 0.7742 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.6501, allocations: 24.62 kB / 0.7742 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6502, allocations: 47.41 kB / 0.7742 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6502, allocations: 3.938 kB / 0.7742 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.6674, allocations: 3.364 MB / 0.7775 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.6677, allocations: 209.3 kB / 0.7777 GB, free: 312 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.398, allocations: 4 kB / 0.7777 GB, free: 308 kB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)