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.001096/0.001096, allocations: 92.7 kB / 20.2 MB, free: 4.23 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.001206/0.001206, allocations: 165.3 kB / 23.52 MB, free: 0.918 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 0.9289/0.9289, allocations: 177.2 MB / 203.9 MB, free: 5.609 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.003863/0.003863, allocations: 0.7944 MB / 261.1 MB, free: 12.3 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.894e-06/1.894e-06, allocations: 0 / 330.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.631e-05, allocations: 6.25 kB / 330.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001022/0.001049, allocations: 0.5072 MB / 331.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.002357, allocations: 1.441 MB / 332.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.002387, allocations: 0 / 332.5 MB, free: 17.34 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.001301/0.003688, allocations: 320 kB / 332.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.003729, allocations: 27.91 kB / 332.9 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.915e-05/0.003768, allocations: 7.984 kB / 332.9 MB, free: 17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.003825, allocations: 19.98 kB / 332.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.003861, allocations: 3.938 kB / 332.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.00391, allocations: 15.92 kB / 332.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.003964, allocations: 15.98 kB / 332.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.003977, allocations: 0 / 332.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.004312, allocations: 323.3 kB / 333.2 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.004369, allocations: 12 kB / 333.3 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.004398, allocations: 7.984 kB / 333.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.004767, allocations: 315.1 kB / 333.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004769, allocations: 0 / 333.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00477, allocations: 4 kB / 333.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.004775, allocations: 0 / 333.6 MB, free: 16.3 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.000302/0.005077, allocations: 359.2 kB / 333.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005113, allocations: 8.031 kB / 333.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.005162, allocations: 80.22 kB / 334 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.005283, allocations: 189 kB / 334.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005296, allocations: 150.9 kB / 334.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.005314, allocations: 158.9 kB / 334.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.848e-05/0.005353, allocations: 101.5 kB / 334.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005362, allocations: 75.47 kB / 334.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.005385, allocations: 154.7 kB / 334.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.005399, allocations: 158.6 kB / 335 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.005416, allocations: 154.5 kB / 335.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.005547, allocations: 397.6 kB / 335.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.005587, allocations: 169.1 kB / 335.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.005607, allocations: 84.12 kB / 335.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.00562, allocations: 75.28 kB / 335.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.005721, allocations: 98.77 kB / 335.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.926e-06/0.005724, allocations: 0 / 335.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.005898, allocations: 126.7 kB / 336.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.005934, allocations: 132.6 kB / 336.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.005993, allocations: 109.8 kB / 336.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.006, allocations: 25.7 kB / 336.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.006023, allocations: 84.14 kB / 336.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.006044, allocations: 4 kB / 336.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.006066, allocations: 13.66 kB / 336.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.006121, allocations: 314.8 kB / 336.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.006138, allocations: 37.64 kB / 336.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.006147, allocations: 25.7 kB / 336.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.006181, allocations: 60.27 kB / 336.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.006184, allocations: 4.312 kB / 336.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.362e-05/0.006238, allocations: 93.09 kB / 336.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.006262, allocations: 29.7 kB / 337 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006267, allocations: 8 kB / 337 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.006283, allocations: 3.938 kB / 337 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.006284, allocations: 0 / 337 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.006291, allocations: 0 / 337 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.006305, allocations: 0 / 337 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.006311, allocations: 0 / 337 MB, free: 12.6 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 4.825e-05/0.006359, allocations: 147.5 kB / 337.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.006368, allocations: 11.98 kB / 337.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-06/0.006377, allocations: 7.109 kB / 337.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.006381, allocations: 7.922 kB / 337.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.006385, allocations: 0 / 337.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006388, allocations: 0 / 337.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.21e-05/0.00643, allocations: 105.3 kB / 337.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006431, allocations: 0 / 337.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-07/0.006431, allocations: 4 kB / 337.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.006432, allocations: 0 / 337.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.006437, allocations: 0 / 337.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006438, allocations: 0 / 337.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.00644, allocations: 7.938 kB / 337.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.228e-05/0.006492, allocations: 116.5 kB / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006503, allocations: 4 kB / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.006518, allocations: 0 / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.006528, allocations: 4 kB / 337.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.006555, allocations: 7.875 kB / 337.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.006558, allocations: 0 / 337.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.427e-05/0.006592, allocations: 91.27 kB / 337.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006592, allocations: 0 / 337.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.006879, allocations: 103.6 kB / 337.6 MB, free: 11.92 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.0006913/0.00757, allocations: 395.1 kB / 338 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.007703, allocations: 118.8 kB / 338.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.007705, allocations: 0 / 338.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.007726, allocations: 85.11 kB / 338.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.007876, allocations: 7.984 kB / 338.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.008125, allocations: 162.1 kB / 338.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.008169, allocations: 67.28 kB / 338.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.165e-05/0.008181, allocations: 0 / 338.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.0082, allocations: 12.5 kB / 338.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.008201, allocations: 0 / 338.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Templates: time 0.003948/0.01215, allocations: 2.338 MB / 340.8 MB, free: 8.719 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=480 -s gbode -gbm=radauIIA3 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.6904345974326134]