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.002039/0.002039, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002173/0.002173, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 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 1.71/1.71, allocations: 177.1 MB / 203.1 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 178] 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.01329/0.01329, allocations: 0.8003 MB / 260.3 MB, free: 12.05 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.774e-06/1.774e-06, allocations: 0 / 329.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.238e-05, allocations: 2.312 kB / 329.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001818/0.00185, allocations: 0.5007 MB / 330.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.003768, allocations: 1.453 MB / 331.8 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.003815, allocations: 0 / 331.8 MB, free: 17.32 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.001949/0.005764, allocations: 327.5 kB / 332.1 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.005828, allocations: 23.97 kB / 332.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.383e-05/0.005881, allocations: 7.938 kB / 332.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.005951, allocations: 19.97 kB / 332.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.00599, allocations: 4 kB / 332.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.425e-05/0.006044, allocations: 11.92 kB / 332.1 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.006141, allocations: 22.86 kB / 332.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.006158, allocations: 0 / 332.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.006698, allocations: 323.3 kB / 332.5 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.00676, allocations: 12 kB / 332.5 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.006797, allocations: 7.984 kB / 332.5 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.007399, allocations: 319.1 kB / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.007403, allocations: 0 / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007404, allocations: 0 / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.00741, allocations: 0 / 332.8 MB, free: 16.27 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.0004462/0.007856, allocations: 457.2 kB / 333.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.007899, allocations: 8.031 kB / 333.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.007977, allocations: 128.1 kB / 333.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.008142, allocations: 231.8 kB / 333.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.008194, allocations: 246.8 kB / 333.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.00823, allocations: 238.8 kB / 334.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.681e-05/0.008286, allocations: 145.5 kB / 334.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.00831, allocations: 119.4 kB / 334.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.008361, allocations: 250.4 kB / 334.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.008399, allocations: 238.4 kB / 334.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.008442, allocations: 238.4 kB / 335.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.008677, allocations: 0.572 MB / 335.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.00876, allocations: 269.5 kB / 335.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.008788, allocations: 130.9 kB / 336 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.008815, allocations: 123.1 kB / 336.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.008947, allocations: 104.5 kB / 336.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.054e-06/0.008949, allocations: 0 / 336.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001932/0.009142, allocations: 126.6 kB / 336.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.009188, allocations: 128.5 kB / 336.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.009268, allocations: 173.9 kB / 336.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.009275, allocations: 25.7 kB / 336.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.00931, allocations: 134.9 kB / 336.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.009324, allocations: 4.125 kB / 336.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.009354, allocations: 19.36 kB / 336.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.009453, allocations: 496.1 kB / 337.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.009471, allocations: 29.7 kB / 337.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.009485, allocations: 25.7 kB / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.00952, allocations: 63.09 kB / 337.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009523, allocations: 0 / 337.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.255e-05/0.009595, allocations: 93.09 kB / 337.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.009627, allocations: 33.7 kB / 337.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.009632, allocations: 8.031 kB / 337.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.009651, allocations: 3.938 kB / 337.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.009652, allocations: 0 / 337.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009657, allocations: 0 / 337.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/0.009675, allocations: 0 / 337.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.009682, allocations: 4 kB / 337.6 MB, free: 11.18 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 7.044e-05/0.009752, allocations: 186.3 kB / 337.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.009768, allocations: 3.953 kB / 337.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.009784, allocations: 11.14 kB / 337.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.009787, allocations: 3.938 kB / 337.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.009792, allocations: 0 / 337.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.009794, allocations: 4 kB / 337.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.856e-05/0.009863, allocations: 116.6 kB / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.009864, allocations: 0 / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.009865, allocations: 0 / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009867, allocations: 0 / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.009874, allocations: 0 / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.009876, allocations: 4 kB / 337.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009877, allocations: 3.938 kB / 337.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.677e-05/0.009964, allocations: 131.8 kB / 338 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.00997, allocations: 0 / 338 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009986, allocations: 8.031 kB / 338 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.01, allocations: 3.938 kB / 338.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.01002, allocations: 4.188 kB / 338.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.01002, allocations: 4 kB / 338.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.01006, allocations: 135.2 kB / 338.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01006, allocations: 0 / 338.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.01045, allocations: 95.67 kB / 338.3 MB, free: 10.39 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.001159/0.01161, allocations: 410 kB / 338.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.01173, allocations: 122.5 kB / 338.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01173, allocations: 0 / 338.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.01176, allocations: 92.8 kB / 338.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.01193, allocations: 12.11 kB / 338.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.0122, allocations: 165.5 kB / 339.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.01225, allocations: 59.34 kB / 339.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.01226, allocations: 4 kB / 339.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.01228, allocations: 12.5 kB / 339.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01229, allocations: 0 / 339.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of Templates: time 0.006225/0.01851, allocations: 2.343 MB / 341.5 MB, free: 7.148 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: 4.945228328928351]