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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006884/0.0006884, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009878/0.001676, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006846/0.0006846, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000994/0.001679, allocations: 483.5 kB / 11.83 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9623/0.9623, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08651/1.049, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.004228/0.004228, allocations: 0.7858 MB / 245 MB, free: 13.99 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.005612, allocations: 0.6395 MB / 245.6 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.199e-05, allocations: 6.25 kB / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001344/0.001356, allocations: 0.5518 MB / 247.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.003271, allocations: 1.512 MB / 248.9 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.0033, allocations: 0 / 248.9 MB, free: 9.996 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.12.1/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.12.1/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.12.1/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.001147/0.004447, allocations: 311.6 kB / 249.2 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.004492, allocations: 23.92 kB / 249.3 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.428e-05/0.004536, allocations: 15.97 kB / 249.3 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.0046, allocations: 11.94 kB / 249.3 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.004639, allocations: 0 / 249.3 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.004708, allocations: 23.97 kB / 249.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.004767, allocations: 15.92 kB / 249.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.004779, allocations: 0 / 249.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.005165, allocations: 351.2 kB / 249.7 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.005209, allocations: 12 kB / 249.7 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.005228, allocations: 4 kB / 249.7 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.005527, allocations: 267.3 kB / 250 MB, free: 8.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.005538, allocations: 0 / 250 MB, free: 8.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005539, allocations: 0 / 250 MB, free: 8.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.005549, allocations: 0 / 250 MB, free: 8.984 MB / 250.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.0003452/0.005894, allocations: 357.6 kB / 250.3 MB, free: 8.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.005926, allocations: 12.03 kB / 250.3 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.00597, allocations: 76.22 kB / 250.4 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.006087, allocations: 204.9 kB / 250.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.006163, allocations: 150.9 kB / 250.7 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.006196, allocations: 150.9 kB / 250.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.852e-05/0.006234, allocations: 101.5 kB / 251 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.00625, allocations: 75.47 kB / 251.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.006285, allocations: 158.7 kB / 251.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.006315, allocations: 150.6 kB / 251.4 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.006349, allocations: 158.5 kB / 251.5 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.006542, allocations: 357.2 kB / 251.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/0.006597, allocations: 169.1 kB / 252 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.006616, allocations: 80.14 kB / 252.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.006633, allocations: 79.28 kB / 252.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.00674, allocations: 98.81 kB / 252.3 MB, free: 6.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.006741, allocations: 3.938 kB / 252.3 MB, free: 6.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001013/0.006843, allocations: 110.8 kB / 252.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.00689, allocations: 162.2 kB / 252.6 MB, free: 6.203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.00694, allocations: 106.6 kB / 252.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.006948, allocations: 29.7 kB / 252.7 MB, free: 6.051 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.006967, allocations: 84.12 kB / 252.8 MB, free: 5.965 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.006983, allocations: 3.953 kB / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.007003, allocations: 21.83 kB / 252.8 MB, free: 5.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.007069, allocations: 310.8 kB / 253.1 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.00708, allocations: 25.7 kB / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.007091, allocations: 29.7 kB / 253.1 MB, free: 5.555 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.007122, allocations: 68.19 kB / 253.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007123, allocations: 0 / 253.2 MB, free: 5.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001754/0.007299, allocations: 89.11 kB / 253.3 MB, free: 5.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.007329, allocations: 33.69 kB / 253.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.007333, allocations: 0 / 253.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.007341, allocations: 4.094 kB / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.007342, allocations: 0 / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.007346, allocations: 3.938 kB / 253.3 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.007361, allocations: 4 kB / 253.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007367, allocations: 0 / 253.3 MB, free: 5.316 MB / 250.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: 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 5.359e-05/0.00742, allocations: 138.4 kB / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-06/0.007425, allocations: 0 / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/0.007437, allocations: 15.08 kB / 253.5 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.007439, allocations: 256 / 253.5 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.00744, allocations: 0 / 253.5 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.007444, allocations: 11.88 kB / 253.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.18e-05/0.007485, allocations: 65.91 kB / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-07/0.007486, allocations: 0 / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.007486, allocations: 0 / 253.6 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.007492, allocations: 7.969 kB / 253.6 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007494, allocations: 4 kB / 253.6 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.007497, allocations: 0 / 253.6 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.007498, allocations: 3.984 kB / 253.6 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.007498, allocations: 0 / 253.6 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.422e-05/0.007553, allocations: 120.5 kB / 253.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.007563, allocations: 0 / 253.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.007571, allocations: 4.031 kB / 253.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-06/0.007578, allocations: 4 kB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-06/0.00758, allocations: 0 / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.114e-05/0.007591, allocations: 8.859 kB / 253.7 MB, free: 4.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007591, allocations: 0 / 253.7 MB, free: 4.871 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.007782, allocations: 103.6 kB / 253.8 MB, free: 4.77 MB / 250.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: 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.0006321/0.008415, allocations: 474.7 kB / 254.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.814e-05/0.008493, allocations: 119.7 kB / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.008496, allocations: 0 / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.008524, allocations: 98 kB / 254.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.793e-05/0.008592, allocations: 19.91 kB / 254.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/0.008757, allocations: 153 kB / 254.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.711e-05/0.008784, allocations: 55.41 kB / 254.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.011e-05/0.008794, allocations: 4 kB / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.008845, allocations: 63.36 kB / 254.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of SimCode: time 3.4e-07/0.008846, allocations: 0 / 254.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of Templates: time 0.003789/0.01264, allocations: 2.764 MB / 257.6 MB, free: 1.059 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile [Timeout 660] (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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.476647703908384]