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.001277/0.001277, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.00183/0.00183, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 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.9149/0.9149, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.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.0112/0.0112, allocations: 0.7993 MB / 261.9 MB, free: 12.12 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. " [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.553e-06/1.553e-06, allocations: 0 / 331.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.201e-05, allocations: 8.422 kB / 331.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001019/0.001041, allocations: 0.4889 MB / 332.3 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002322, allocations: 1.461 MB / 333.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.002353, allocations: 0 / 333.8 MB, free: 16.68 MB / 266.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.0011/0.003453, allocations: 342.8 kB / 334.1 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.003492, allocations: 27.91 kB / 334.1 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.534e-05/0.003527, allocations: 7.938 kB / 334.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.003577, allocations: 23.91 kB / 334.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.117e-05/0.003608, allocations: 4 kB / 334.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.003645, allocations: 7.984 kB / 334.2 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.003684, allocations: 11.98 kB / 334.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.003693, allocations: 0 / 334.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.00401, allocations: 323.4 kB / 334.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.004052, allocations: 12 kB / 334.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.004075, allocations: 15.92 kB / 334.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.004429, allocations: 315.1 kB / 334.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004432, allocations: 0 / 334.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.004434, allocations: 0 / 334.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.004437, allocations: 0 / 334.8 MB, free: 15.62 MB / 266.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.0002423/0.00468, allocations: 453.5 kB / 335.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.004716, allocations: 12.03 kB / 335.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.004755, allocations: 124.1 kB / 335.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.066e-05/0.004836, allocations: 239.8 kB / 335.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.004858, allocations: 238.8 kB / 335.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.004876, allocations: 242.7 kB / 336.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.704e-05/0.004913, allocations: 149.5 kB / 336.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.004926, allocations: 127.3 kB / 336.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.004951, allocations: 246.5 kB / 336.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.004974, allocations: 238.4 kB / 336.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.005001, allocations: 238.4 kB / 337.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.005145, allocations: 0.5609 MB / 337.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.005187, allocations: 269.4 kB / 337.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.005202, allocations: 126.9 kB / 338 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.005212, allocations: 119.2 kB / 338.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.497e-05/0.005287, allocations: 104.4 kB / 338.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.005289, allocations: 4 kB / 338.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.005391, allocations: 122.7 kB / 338.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.005414, allocations: 132.5 kB / 338.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.933e-05/0.005453, allocations: 165.9 kB / 338.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-06/0.005457, allocations: 25.7 kB / 338.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.235e-05/0.005469, allocations: 126.9 kB / 338.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.00548, allocations: 4 kB / 338.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.005496, allocations: 15.38 kB / 338.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.005532, allocations: 0.4884 MB / 339.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.005543, allocations: 29.7 kB / 339.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.00555, allocations: 29.83 kB / 339.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.005572, allocations: 67.09 kB / 339.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005573, allocations: 3.938 kB / 339.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.613e-05/0.00561, allocations: 89.09 kB / 339.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.005626, allocations: 29.7 kB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.00563, allocations: 0 / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.005641, allocations: 4 kB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.005641, allocations: 0 / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.005644, allocations: 3.938 kB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.064e-05/0.005654, allocations: 4.094 kB / 339.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005658, allocations: 0 / 339.6 MB, free: 10.56 MB / 266.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 3.63e-05/0.005695, allocations: 186.3 kB / 339.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.005701, allocations: 7.953 kB / 339.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.005714, allocations: 7.156 kB / 339.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005715, allocations: 0 / 339.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.005717, allocations: 3.938 kB / 339.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005719, allocations: 0 / 339.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.634e-05/0.005756, allocations: 97.45 kB / 339.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005756, allocations: 0 / 339.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-07/0.005757, allocations: 4 kB / 339.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005758, allocations: 11.98 kB / 339.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.005761, allocations: 0 / 339.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005762, allocations: 3.938 kB / 339.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005763, allocations: 3.984 kB / 339.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.386e-05/0.005807, allocations: 127.8 kB / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.005812, allocations: 4 kB / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.005821, allocations: 0 / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.005828, allocations: 0 / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-06/0.005835, allocations: 8 kB / 340 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.005836, allocations: 0 / 340 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.7e-05/0.005853, allocations: 131.2 kB / 340.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005853, allocations: 0 / 340.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.006092, allocations: 107.5 kB / 340.3 MB, free: 9.793 MB / 266.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.0005345/0.006627, allocations: 418.4 kB / 340.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.323e-05/0.00669, allocations: 118.4 kB / 340.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006692, allocations: 0 / 340.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.006704, allocations: 92.78 kB / 340.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.63e-05/0.006801, allocations: 8 kB / 340.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.006933, allocations: 150.4 kB / 341 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.639e-05/0.006949, allocations: 59.33 kB / 341.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.006962, allocations: 8 kB / 341.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.007004, allocations: 86.19 kB / 341.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007004, allocations: 0 / 341.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of Templates: time 0.003492/0.0105, allocations: 2.782 MB / 344 MB, free: 6.051 MB / 266.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.7678870749659836]