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.00153/0.00153, allocations: 172.5 kB / 7.646 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.7719/0.7719, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.429/1.429, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008277/0.0008277, allocations: 105.4 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.783e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4414, allocations: 82.3 MB / 0.6339 GB, free: 40.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5969, allocations: 114.8 MB / 0.7461 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5972, allocations: 87.95 kB / 0.7462 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.6094, allocations: 4.548 MB / 0.7506 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6094, allocations: 0 / 0.7506 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.6095, allocations: 0 / 0.7506 GB, free: 3.199 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.000528/0.61, allocations: 430 kB / 0.751 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6101, allocations: 12.03 kB / 0.751 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.6101, allocations: 11.84 kB / 0.751 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.6104, allocations: 214.7 kB / 0.7512 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.6104, allocations: 8 kB / 0.7512 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.6105, allocations: 0 / 0.7512 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/0.6106, allocations: 31.98 kB / 0.7513 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.6107, allocations: 89.03 kB / 0.7514 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6108, allocations: 0 / 0.7514 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6108, allocations: 0 / 0.7514 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.6108, allocations: 4 kB / 0.7514 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.6111, allocations: 196 kB / 0.7515 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.6112, allocations: 103.9 kB / 0.7516 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.6113, allocations: 38.62 kB / 0.7517 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.6114, allocations: 0 / 0.7517 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.6116, allocations: 109.9 kB / 0.7518 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.6116, allocations: 0 / 0.7518 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003224/0.6119, allocations: 101.5 kB / 0.7519 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6121, allocations: 136.5 kB / 0.752 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.6123, allocations: 166 kB / 0.7522 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.6123, allocations: 29.77 kB / 0.7522 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.6124, allocations: 100.1 kB / 0.7523 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.6125, allocations: 31.58 kB / 0.7523 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.6125, allocations: 4 kB / 0.7523 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6127, allocations: 322.8 kB / 0.7526 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.6128, allocations: 20 kB / 0.7527 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.6128, allocations: 52.28 kB / 0.7527 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.6129, allocations: 31.97 kB / 0.7527 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6129, allocations: 4 kB / 0.7527 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.6131, allocations: 101.5 kB / 0.7528 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6131, allocations: 9.859 kB / 0.7528 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.6131, allocations: 4 kB / 0.7529 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6132, allocations: 0 / 0.7529 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.6133, allocations: 32.06 kB / 0.7529 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6133, allocations: 4.188 kB / 0.7529 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.6134, allocations: 11.91 kB / 0.7529 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.6135, allocations: 11.92 kB / 0.7529 GB, free: 0.543 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.0001072/0.6136, allocations: 110.4 kB / 0.753 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001796/0.6138, allocations: 113.6 kB / 0.7531 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6138, allocations: 19.81 kB / 0.7531 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.614, allocations: 107.5 kB / 0.7532 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.614, allocations: 4 kB / 0.7532 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.614, allocations: 0 / 0.7532 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.614, allocations: 0 / 0.7532 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.6142, allocations: 190.1 kB / 0.7534 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6143, allocations: 4 kB / 0.7534 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.6144, allocations: 15.98 kB / 0.7534 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.6144, allocations: 4 kB / 0.7535 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.6144, allocations: 4 kB / 0.7535 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6144, allocations: 4 kB / 0.7535 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6144, allocations: 3.938 kB / 0.7535 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.6146, allocations: 174 kB / 0.7536 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.6147, allocations: 96.92 kB / 0.7537 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.6147, allocations: 11.92 kB / 0.7537 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.6148, allocations: 8 kB / 0.7537 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.6149, allocations: 7.984 kB / 0.7537 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.6149, allocations: 4 kB / 0.7538 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001152/0.615, allocations: 135.2 kB / 0.7539 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.615, allocations: 3.938 kB / 0.7539 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002608/0.6153, allocations: 35.94 kB / 0.7539 GB, free: 15.39 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.001398/0.6167, allocations: 1.128 MB / 0.755 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.6169, allocations: 68.03 kB / 0.7551 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6169, allocations: 4 kB / 0.7551 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.617, allocations: 35.92 kB / 0.7551 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.6172, allocations: 31.19 kB / 0.7552 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.6178, allocations: 224 kB / 0.7554 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.6182, allocations: 0.7159 MB / 0.7561 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.155e-05/0.6183, allocations: 16.88 kB / 0.7561 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.6183, allocations: 39.42 kB / 0.7561 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.6183, allocations: 0 / 0.7561 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.6416, allocations: 3.029 MB / 0.7591 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.6418, allocations: 153.9 kB / 0.7592 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.32, allocations: 0 / 0.7592 GB, free: 9.949 MB / 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)