Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 100.6 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001942, allocations: 197.2 kB / 17.3 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006777/0.006778, allocations: 1.004 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 353.5 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 49.64 MB / 403.1 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.002084/0.3573, allocations: 498.7 kB / 403.6 MB, free: 34.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3592, allocations: 1.345 MB / 405 MB, free: 33.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.3593, allocations: 0 / 405 MB, free: 33.57 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.00153/0.3608, allocations: 315.4 kB / 405.3 MB, free: 33.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.3609, allocations: 27.91 kB / 405.3 MB, free: 33.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.002e-05/0.3609, allocations: 8 kB / 405.3 MB, free: 33.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.319e-05/0.361, allocations: 19.97 kB / 405.3 MB, free: 33.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.361, allocations: 0 / 405.3 MB, free: 33.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.3611, allocations: 8 kB / 405.3 MB, free: 33.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3612, allocations: 26.36 kB / 405.4 MB, free: 33.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3612, allocations: 0 / 405.4 MB, free: 33.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.3616, allocations: 335.5 kB / 405.7 MB, free: 32.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.3617, allocations: 12 kB / 405.7 MB, free: 32.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.3618, allocations: 15.91 kB / 405.7 MB, free: 32.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.3621, allocations: 263.6 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3621, allocations: 3.984 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3621, allocations: 3.75 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3622, allocations: 0 / 406 MB, free: 32.57 MB / 302.1 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.0004295/0.3626, allocations: 421.1 kB / 406.4 MB, free: 32.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3626, allocations: 8.031 kB / 406.4 MB, free: 32.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.3627, allocations: 80.22 kB / 406.5 MB, free: 32.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.3629, allocations: 257.4 kB / 406.7 MB, free: 31.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.3629, allocations: 150.9 kB / 406.9 MB, free: 31.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.363, allocations: 154.9 kB / 407 MB, free: 31.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.925e-05/0.363, allocations: 105.1 kB / 407.1 MB, free: 31.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.363, allocations: 79.22 kB / 407.2 MB, free: 31.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.3631, allocations: 154.6 kB / 407.4 MB, free: 31.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.3631, allocations: 154.5 kB / 407.5 MB, free: 30.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.3632, allocations: 154.6 kB / 407.7 MB, free: 30.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.3634, allocations: 449.9 kB / 408.1 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.3635, allocations: 169.1 kB / 408.3 MB, free: 30.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.3635, allocations: 80.14 kB / 408.4 MB, free: 30.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3635, allocations: 79.28 kB / 408.4 MB, free: 29.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.3636, allocations: 76.98 kB / 408.5 MB, free: 29.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 3.968e-06/0.3637, allocations: 0 / 408.5 MB, free: 29.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002086/0.3639, allocations: 71.33 kB / 408.6 MB, free: 29.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3639, allocations: 132.5 kB / 408.7 MB, free: 29.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.364, allocations: 109.8 kB / 408.8 MB, free: 29.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.364, allocations: 25.7 kB / 408.8 MB, free: 29.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.3641, allocations: 84.27 kB / 408.9 MB, free: 29.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3641, allocations: 3.984 kB / 408.9 MB, free: 29.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.3641, allocations: 21.66 kB / 408.9 MB, free: 29.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.3642, allocations: 310.8 kB / 409.2 MB, free: 29.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.3642, allocations: 0 / 409.2 MB, free: 29.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.3642, allocations: 7.984 kB / 409.3 MB, free: 29.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.3643, allocations: 56.27 kB / 409.3 MB, free: 28.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3643, allocations: 8.062 kB / 409.3 MB, free: 28.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.974e-05/0.3643, allocations: 67.25 kB / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.3644, allocations: 33.7 kB / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3644, allocations: 0 / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3644, allocations: 3.984 kB / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.614e-06/0.3644, allocations: 0 / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3644, allocations: 0 / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.3645, allocations: 3.938 kB / 409.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3645, allocations: 4 kB / 409.4 MB, free: 28.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.089e-05/0.3645, allocations: 139.6 kB / 409.6 MB, free: 28.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3646, allocations: 7.938 kB / 409.6 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.3646, allocations: 3.125 kB / 409.6 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3646, allocations: 0 / 409.6 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3646, allocations: 3.984 kB / 409.6 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3646, allocations: 0 / 409.6 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.606e-05/0.3647, allocations: 153.7 kB / 409.7 MB, free: 28.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3647, allocations: 3.938 kB / 409.7 MB, free: 28.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3647, allocations: 4 kB / 409.7 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3647, allocations: 256 / 409.7 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3647, allocations: 0 / 409.7 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3647, allocations: 8 kB / 409.7 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3647, allocations: 3.938 kB / 409.7 MB, free: 28.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/0.3648, allocations: 90.83 kB / 409.8 MB, free: 28.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.3648, allocations: 81.05 kB / 409.9 MB, free: 28.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3649, allocations: 7.938 kB / 409.9 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.3649, allocations: 0 / 409.9 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.3649, allocations: 3.938 kB / 409.9 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3649, allocations: 4.031 kB / 409.9 MB, free: 28.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.741e-05/0.365, allocations: 95.27 kB / 410 MB, free: 28.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.365, allocations: 0 / 410 MB, free: 28.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.3653, allocations: 95.98 kB / 410.1 MB, free: 28.03 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007082/0.366, allocations: 394.2 kB / 410.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3662, allocations: 59.45 kB / 410.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3662, allocations: 0 / 410.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.3662, allocations: 63.45 kB / 410.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.3664, allocations: 7.938 kB / 410.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.3666, allocations: 128.8 kB / 410.8 MB, free: 27.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.3668, allocations: 0.6807 MB / 411.4 MB, free: 26.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.323e-05/0.3668, allocations: 3.938 kB / 411.4 MB, free: 26.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.3669, allocations: 11.44 kB / 411.5 MB, free: 26.68 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.3669, allocations: 0 / 411.5 MB, free: 26.68 MB / 302.1 MB Notification: Performance of Templates: time 0.005254/0.3721, allocations: 2.27 MB / 413.7 MB, free: 24.41 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)