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/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/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: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008322/0.008322, allocations: 172.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 403.2 MB, free: 6.762 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.0009331/0.0009331, allocations: 90.06 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4257, allocations: 81.59 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5839, allocations: 115.3 MB / 0.7564 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5843, allocations: 83.95 kB / 0.7565 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.5977, allocations: 4.87 MB / 0.7612 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5978, allocations: 0 / 0.7612 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.5978, allocations: 4 kB / 0.7612 GB, free: 15.63 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.0006877/0.5985, allocations: 450.6 kB / 0.7617 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5985, allocations: 8.031 kB / 0.7617 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.5986, allocations: 19.77 kB / 0.7617 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.599, allocations: 218.8 kB / 0.7619 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.599, allocations: 3.938 kB / 0.7619 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.599, allocations: 4 kB / 0.7619 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.5993, allocations: 109 kB / 0.762 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5993, allocations: 0 / 0.762 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5993, allocations: 0 / 0.762 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5993, allocations: 0 / 0.762 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.5995, allocations: 75.88 kB / 0.7621 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.5998, allocations: 207.4 kB / 0.7623 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.6001, allocations: 123.9 kB / 0.7624 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.6002, allocations: 8.047 kB / 0.7624 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.6004, allocations: 117.9 kB / 0.7625 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.6004, allocations: 0 / 0.7625 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0005287/0.601, allocations: 181.4 kB / 0.7627 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.601, allocations: 140.7 kB / 0.7628 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.6012, allocations: 162.3 kB / 0.763 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.6013, allocations: 25.7 kB / 0.763 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.6013, allocations: 108.1 kB / 0.7631 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.6014, allocations: 23.66 kB / 0.7631 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.6014, allocations: 0 / 0.7631 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6015, allocations: 330.8 kB / 0.7634 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6017, allocations: 35.98 kB / 0.7635 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.6018, allocations: 72.2 kB / 0.7635 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.6019, allocations: 52 kB / 0.7636 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6019, allocations: 0 / 0.7636 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003053/0.6022, allocations: 137.4 kB / 0.7637 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6023, allocations: 12.08 kB / 0.7637 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6023, allocations: 0 / 0.7637 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6023, allocations: 4 kB / 0.7637 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.6025, allocations: 23.92 kB / 0.7638 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6025, allocations: 0 / 0.7638 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.6026, allocations: 12 kB / 0.7638 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6026, allocations: 7.984 kB / 0.7638 GB, free: 12.73 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.0001366/0.6027, allocations: 128.2 kB / 0.7639 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.6028, allocations: 16.12 kB / 0.7639 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.603, allocations: 123 kB / 0.764 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.603, allocations: 0 / 0.764 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.603, allocations: 8.188 kB / 0.764 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6031, allocations: 0 / 0.764 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.6033, allocations: 225.4 kB / 0.7643 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6033, allocations: 0 / 0.7643 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.6034, allocations: 12 kB / 0.7643 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6034, allocations: 8 kB / 0.7643 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6034, allocations: 3.984 kB / 0.7643 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6034, allocations: 4 kB / 0.7643 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6034, allocations: 3.984 kB / 0.7643 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.6038, allocations: 213.9 kB / 0.7645 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.6039, allocations: 93 kB / 0.7646 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.6039, allocations: 0 / 0.7646 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.604, allocations: 15.92 kB / 0.7646 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.6041, allocations: 19.92 kB / 0.7646 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6041, allocations: 7.953 kB / 0.7646 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001312/0.6042, allocations: 143.5 kB / 0.7648 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6042, allocations: 0 / 0.7648 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002634/0.6045, allocations: 32 kB / 0.7648 GB, free: 11.57 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.00112/0.6056, allocations: 460.6 kB / 0.7652 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.6059, allocations: 99.88 kB / 0.7653 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.606, allocations: 4.188 kB / 0.7653 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6061, allocations: 51.91 kB / 0.7654 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.6064, allocations: 27.92 kB / 0.7654 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.6069, allocations: 274.9 kB / 0.7657 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.6073, allocations: 0.7082 MB / 0.7664 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.702e-05/0.6074, allocations: 24.86 kB / 0.7664 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.6074, allocations: 23.42 kB / 0.7664 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.6074, allocations: 0 / 0.7664 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.004912/0.6123, allocations: 1.947 MB / 0.7683 GB, free: 8.094 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (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 & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)