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.001005/0.001005, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7472/0.7472, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0008831/0.0008831, allocations: 110.5 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.663e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.4637, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.6226, allocations: 114.8 MB / 0.7461 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.6229, allocations: 79.94 kB / 0.7461 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.6355, allocations: 4.56 MB / 0.7506 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6355, allocations: 0 / 0.7506 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.6356, allocations: 0 / 0.7506 GB, free: 3.262 MB / 0.5261 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.0005361/0.6361, allocations: 422.1 kB / 0.751 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6362, allocations: 16.03 kB / 0.751 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.6362, allocations: 11.84 kB / 0.751 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.6365, allocations: 214.7 kB / 0.7512 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6366, allocations: 4 kB / 0.7512 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.6366, allocations: 3.984 kB / 0.7512 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/0.6367, allocations: 39.97 kB / 0.7513 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.6369, allocations: 85.05 kB / 0.7514 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.6369, allocations: 4 kB / 0.7514 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.6369, allocations: 7.984 kB / 0.7514 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.6369, allocations: 3.984 kB / 0.7514 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.6372, allocations: 184 kB / 0.7515 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.6373, allocations: 107.8 kB / 0.7517 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.6374, allocations: 34.77 kB / 0.7517 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.6374, allocations: 4 kB / 0.7517 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.6376, allocations: 101.9 kB / 0.7518 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.6376, allocations: 4 kB / 0.7518 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002571/0.6379, allocations: 101.5 kB / 0.7519 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.6379, allocations: 136.5 kB / 0.752 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.6381, allocations: 162 kB / 0.7522 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.6381, allocations: 29.7 kB / 0.7522 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.6382, allocations: 104.1 kB / 0.7523 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.6383, allocations: 27.64 kB / 0.7523 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.6383, allocations: 4.062 kB / 0.7523 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6384, allocations: 326.8 kB / 0.7526 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.6384, allocations: 20 kB / 0.7527 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.6385, allocations: 52.28 kB / 0.7527 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.6386, allocations: 31.94 kB / 0.7527 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6386, allocations: 4.031 kB / 0.7527 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001603/0.6388, allocations: 105.5 kB / 0.7528 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6388, allocations: 4.188 kB / 0.7528 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6388, allocations: 4 kB / 0.7529 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.6388, allocations: 3.938 kB / 0.7529 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.6389, allocations: 23.98 kB / 0.7529 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.639, allocations: 0 / 0.7529 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.6391, allocations: 19.98 kB / 0.7529 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6391, allocations: 4 kB / 0.7529 GB, free: 0.6133 MB / 0.5261 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 () * 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.0001074/0.6392, allocations: 118.8 kB / 0.753 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001671/0.6394, allocations: 105.5 kB / 0.7531 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.6394, allocations: 15.75 kB / 0.7531 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.6396, allocations: 119.5 kB / 0.7532 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6396, allocations: 3.984 kB / 0.7532 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6397, allocations: 4.062 kB / 0.7533 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6397, allocations: 192 / 0.7533 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.6398, allocations: 190.1 kB / 0.7534 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6399, allocations: 0 / 0.7534 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.64, allocations: 20.03 kB / 0.7535 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.64, allocations: 0 / 0.7535 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.64, allocations: 0 / 0.7535 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.64, allocations: 4 kB / 0.7535 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.64, allocations: 3.938 kB / 0.7535 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.6402, allocations: 178 kB / 0.7536 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.6403, allocations: 96.91 kB / 0.7537 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.6403, allocations: 3.938 kB / 0.7537 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.6404, allocations: 15.98 kB / 0.7537 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.6405, allocations: 8 kB / 0.7537 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6405, allocations: 7.984 kB / 0.7538 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.97e-05/0.6406, allocations: 131.2 kB / 0.7539 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6406, allocations: 0 / 0.7539 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002752/0.6409, allocations: 47.86 kB / 0.7539 GB, free: 15.45 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) * 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.001299/0.6422, allocations: 1.118 MB / 0.755 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.6424, allocations: 67.92 kB / 0.7551 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6424, allocations: 0 / 0.7551 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.6425, allocations: 31.94 kB / 0.7551 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.6427, allocations: 34.83 kB / 0.7551 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.6432, allocations: 216 kB / 0.7554 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.6435, allocations: 0.7119 MB / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.285e-05/0.6436, allocations: 29 kB / 0.7561 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/0.6437, allocations: 47.34 kB / 0.7561 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.6437, allocations: 3.938 kB / 0.7561 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.6698, allocations: 3.016 MB / 0.7591 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.67, allocations: 153 kB / 0.7592 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.288, allocations: 6.688 kB / 0.7592 GB, free: 10.01 MB / 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)