Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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/KeyWordIO 0.11.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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.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: translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00815/0.00815, allocations: 0.9679 MB / 9.041 MB, free: 20 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.5 MB / 231.2 MB, free: 6.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 101.7 kB / 282.3 MB, free: 3.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.89e-05, allocations: 4 kB / 339.1 MB, free: 8.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 50.63 MB / 389.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4484, allocations: 76.37 MB / 466.1 MB, free: 156 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4487, allocations: 63.97 kB / 466.2 MB, free: 92 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.4606, allocations: 4.05 MB / 470.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.4607, allocations: 0 / 470.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.618e-05/0.4608, allocations: 4 kB / 470.2 MB, free: 12.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004285/0.4612, allocations: 395.2 kB / 470.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4613, allocations: 8.031 kB / 470.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.4614, allocations: 83.19 kB / 470.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.4617, allocations: 280 kB / 471 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.4618, allocations: 158.6 kB / 471.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.4618, allocations: 154.5 kB / 471.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.444e-05/0.4619, allocations: 150.6 kB / 471.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.212e-05/0.462, allocations: 105 kB / 471.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.462, allocations: 75.28 kB / 471.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.4621, allocations: 154.5 kB / 471.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.4622, allocations: 154.6 kB / 471.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.4625, allocations: 446.4 kB / 472.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.4626, allocations: 177.1 kB / 472.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.4627, allocations: 80.14 kB / 472.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4627, allocations: 79.28 kB / 472.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.4628, allocations: 106.7 kB / 472.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4628, allocations: 0 / 472.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.4629, allocations: 33.61 kB / 472.8 MB, free: 9.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.463, allocations: 51.41 kB / 472.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.4632, allocations: 151.9 kB / 473 MB, free: 9.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4632, allocations: 25.7 kB / 473.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.4633, allocations: 100.1 kB / 473.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.4633, allocations: 3.938 kB / 473.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.4633, allocations: 0 / 473.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4634, allocations: 322.8 kB / 473.5 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.4634, allocations: 0 / 473.5 MB, free: 8.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.4634, allocations: 0 / 473.5 MB, free: 8.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.4635, allocations: 75.28 kB / 473.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.4635, allocations: 79.23 kB / 473.6 MB, free: 8.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.389e-05/0.4636, allocations: 37.61 kB / 473.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4636, allocations: 85 kB / 473.7 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.4637, allocations: 83.27 kB / 473.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.868e-05/0.4637, allocations: 155.3 kB / 474 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.229e-05/0.4638, allocations: 75.28 kB / 474 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.055e-05/0.4638, allocations: 154.6 kB / 474.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.464, allocations: 83.22 kB / 474.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.464, allocations: 91.27 kB / 474.4 MB, free: 7.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001066/0.4641, allocations: 251.5 kB / 474.6 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.4642, allocations: 112.9 kB / 474.7 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.4643, allocations: 112.9 kB / 474.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.4643, allocations: 176.3 kB / 475 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-05/0.4644, allocations: 184.2 kB / 475.2 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.176e-05/0.4645, allocations: 188.2 kB / 475.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.4647, allocations: 393.8 kB / 475.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.394e-05/0.4648, allocations: 105 kB / 475.9 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.4648, allocations: 104.9 kB / 476 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.786e-05/0.4649, allocations: 184.2 kB / 476.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.465, allocations: 180.3 kB / 476.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.46e-05/0.465, allocations: 185.2 kB / 476.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.415e-05/0.4651, allocations: 180.3 kB / 476.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.4653, allocations: 307.7 kB / 477 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4654, allocations: 202 kB / 477.2 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.4655, allocations: 180.2 kB / 477.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.4656, allocations: 108.9 kB / 477.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.4656, allocations: 180.7 kB / 477.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.4657, allocations: 101 kB / 477.7 MB, free: 4.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.4658, allocations: 127.2 kB / 477.9 MB, free: 4.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4658, allocations: 11.94 kB / 477.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.4663, allocations: 103.9 kB / 478 MB, free: 3.902 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0008082/0.4672, allocations: 397.7 kB / 478.4 MB, free: 3.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.954e-05/0.4672, allocations: 3.984 kB / 478.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4672, allocations: 0 / 478.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-06/0.4673, allocations: 0 / 478.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4676, allocations: 0.5329 MB / 478.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.4679, allocations: 167.1 kB / 479.1 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.4682, allocations: 0.6924 MB / 479.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.4682, allocations: 8 kB / 479.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.4683, allocations: 23.42 kB / 479.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4683, allocations: 0 / 479.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of Templates: time 0.004843/0.4731, allocations: 2.006 MB / 481.8 MB, free: 68 kB / 346.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)