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-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_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_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.008951/0.008951, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9261/0.9261, allocations: 135.2 MB / 151.1 MB, free: 13.8 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.487/1.487, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001272/0.001272, allocations: 109.4 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4583, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.6226, allocations: 115.6 MB / 0.7624 GB, free: 412 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.6229, allocations: 87.95 kB / 0.7625 GB, free: 324 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.6373, allocations: 4.861 MB / 0.7672 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6374, allocations: 3.938 kB / 0.7672 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.6374, allocations: 4 kB / 0.7672 GB, free: 11.44 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.0006625/0.6381, allocations: 450.6 kB / 0.7677 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6382, allocations: 12.03 kB / 0.7677 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.6382, allocations: 34.56 kB / 0.7677 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.6383, allocations: 19.77 kB / 0.7677 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.6386, allocations: 218.8 kB / 0.7679 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.6387, allocations: 4 kB / 0.7679 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.6387, allocations: 0 / 0.7679 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.639, allocations: 117 kB / 0.7681 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.639, allocations: 0 / 0.7681 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.639, allocations: 8 kB / 0.7681 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.639, allocations: 0 / 0.7681 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.6392, allocations: 63.88 kB / 0.7681 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.6395, allocations: 215.4 kB / 0.7683 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.6399, allocations: 119.9 kB / 0.7684 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.6399, allocations: 7.984 kB / 0.7684 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.6402, allocations: 110 kB / 0.7686 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 3.517e-06/0.6402, allocations: 3.938 kB / 0.7686 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0006796/0.6409, allocations: 189.5 kB / 0.7687 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/0.641, allocations: 128.5 kB / 0.7689 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.6412, allocations: 167.5 kB / 0.769 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.6413, allocations: 29.7 kB / 0.769 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.6413, allocations: 104.1 kB / 0.7691 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.6414, allocations: 31.62 kB / 0.7692 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.6414, allocations: 0 / 0.7692 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6416, allocations: 330.8 kB / 0.7695 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.6417, allocations: 35.98 kB / 0.7695 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.6418, allocations: 72.27 kB / 0.7696 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.642, allocations: 47.97 kB / 0.7696 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.642, allocations: 4.031 kB / 0.7696 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003329/0.6423, allocations: 137.4 kB / 0.7698 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6424, allocations: 11.98 kB / 0.7698 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.6424, allocations: 0 / 0.7698 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6424, allocations: 0 / 0.7698 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.6425, allocations: 32.02 kB / 0.7698 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6426, allocations: 192 / 0.7698 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.6427, allocations: 12 kB / 0.7698 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.6427, allocations: 11.92 kB / 0.7698 GB, free: 8.469 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.0001431/0.6428, allocations: 124.5 kB / 0.77 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.6429, allocations: 19.81 kB / 0.77 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.6432, allocations: 127 kB / 0.7701 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6432, allocations: 0 / 0.7701 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6432, allocations: 0 / 0.7701 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6432, allocations: 4 kB / 0.7701 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.6434, allocations: 213.5 kB / 0.7703 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6435, allocations: 0 / 0.7703 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.6435, allocations: 16 kB / 0.7703 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.6436, allocations: 3.984 kB / 0.7703 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.6436, allocations: 8 kB / 0.7703 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6436, allocations: 4 kB / 0.7703 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6436, allocations: 4 kB / 0.7703 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.644, allocations: 205.9 kB / 0.7705 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.229e-05/0.6441, allocations: 97 kB / 0.7706 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.6441, allocations: 3.938 kB / 0.7706 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.6442, allocations: 15.98 kB / 0.7707 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.6443, allocations: 11.92 kB / 0.7707 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.6443, allocations: 8.062 kB / 0.7707 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001448/0.6445, allocations: 151.4 kB / 0.7708 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6445, allocations: 0 / 0.7708 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002887/0.6448, allocations: 36 kB / 0.7708 GB, free: 7.32 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.001822/0.6466, allocations: 1.231 MB / 0.7721 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.6469, allocations: 103.9 kB / 0.7721 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.647, allocations: 0 / 0.7721 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.6471, allocations: 56.09 kB / 0.7722 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6474, allocations: 31.88 kB / 0.7722 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6493, allocations: 1.277 MB / 0.7735 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.6497, allocations: 0.716 MB / 0.7742 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.6498, allocations: 20.48 kB / 0.7742 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.6499, allocations: 43.41 kB / 0.7742 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/0.6499, allocations: 0 / 0.7742 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.6727, allocations: 3.389 MB / 0.7776 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003308/0.6731, allocations: 198.1 kB / 0.7777 GB, free: 388 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.403, allocations: 0 / 0.7777 GB, free: 388 kB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)