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.001428/0.001428, allocations: 75.73 kB / 20.97 MB, free: 3.574 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.001279/0.001279, allocations: 169 kB / 24.28 MB, free: 276 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.9798/0.9798, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.006981/0.006981, allocations: 0.7875 MB / 261.9 MB, free: 12.33 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.252e-06/1.252e-06, allocations: 0 / 331.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.671e-05, allocations: 2.312 kB / 331.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0008681/0.0008848, allocations: 0.4993 MB / 331.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002028, allocations: 1.472 MB / 333.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.002058, allocations: 0 / 333.3 MB, free: 17.27 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.001005/0.003062, allocations: 326 kB / 333.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.003096, allocations: 31.97 kB / 333.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.059e-05/0.003126, allocations: 15.86 kB / 333.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.00318, allocations: 15.98 kB / 333.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.12e-05/0.003211, allocations: 0 / 333.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.003248, allocations: 15.92 kB / 333.7 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.003287, allocations: 7.984 kB / 333.7 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.003296, allocations: 4 kB / 333.7 MB, free: 16.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.003564, allocations: 315.4 kB / 334 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.003608, allocations: 19.98 kB / 334.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.003633, allocations: 7.984 kB / 334.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.00391, allocations: 311.1 kB / 334.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003912, allocations: 4 kB / 334.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003913, allocations: 0 / 334.4 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.00392, allocations: 0 / 334.4 MB, free: 16.23 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.000238/0.004158, allocations: 457.5 kB / 334.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004187, allocations: 12.03 kB / 334.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.004226, allocations: 120.1 kB / 334.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.004319, allocations: 235.8 kB / 335.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.004336, allocations: 238.8 kB / 335.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004351, allocations: 242.7 kB / 335.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.179e-05/0.004382, allocations: 149.5 kB / 335.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.004393, allocations: 127.3 kB / 335.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.004416, allocations: 242.5 kB / 336.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.004435, allocations: 242.4 kB / 336.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.004451, allocations: 242.4 kB / 336.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.004571, allocations: 0.5681 MB / 337.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.598e-05/0.004607, allocations: 269.4 kB / 337.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.00462, allocations: 130.8 kB / 337.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.004628, allocations: 127.2 kB / 337.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.569e-05/0.004714, allocations: 104.4 kB / 337.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.924e-06/0.004716, allocations: 3.938 kB / 337.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.004843, allocations: 126.7 kB / 337.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.004875, allocations: 136.5 kB / 338.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.004926, allocations: 161.9 kB / 338.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-06/0.00493, allocations: 29.7 kB / 338.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.004947, allocations: 126.9 kB / 338.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.004958, allocations: 0 / 338.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.004977, allocations: 23.38 kB / 338.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.005009, allocations: 496.1 kB / 338.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/0.005018, allocations: 25.7 kB / 338.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.005025, allocations: 29.7 kB / 338.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.005048, allocations: 67.28 kB / 339 MB, free: 11.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.00505, allocations: 0 / 339 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.177e-05/0.005091, allocations: 97.03 kB / 339.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.005109, allocations: 29.7 kB / 339.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.005113, allocations: 0 / 339.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.005124, allocations: 3.938 kB / 339.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.005125, allocations: 0 / 339.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.005129, allocations: 0 / 339.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.005141, allocations: 4 kB / 339.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.005146, allocations: 0 / 339.1 MB, free: 11.13 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.827e-05/0.005184, allocations: 186.3 kB / 339.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.005191, allocations: 7.938 kB / 339.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-06/0.0052, allocations: 7.156 kB / 339.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.005203, allocations: 3.938 kB / 339.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.005206, allocations: 3.984 kB / 339.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.005208, allocations: 0 / 339.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.693e-05/0.005245, allocations: 116.6 kB / 339.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005245, allocations: 0 / 339.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.005246, allocations: 0 / 339.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.41e-07/0.005247, allocations: 0 / 339.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.005251, allocations: 4 kB / 339.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.005252, allocations: 4 kB / 339.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.005253, allocations: 3.938 kB / 339.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.62e-05/0.005299, allocations: 131.8 kB / 339.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.005304, allocations: 256 / 339.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.005318, allocations: 7.938 kB / 339.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.005326, allocations: 4 kB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-06/0.005336, allocations: 3.938 kB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.005338, allocations: 4 kB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.776e-05/0.005356, allocations: 131.2 kB / 339.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005356, allocations: 4.031 kB / 339.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.005573, allocations: 99.61 kB / 339.9 MB, free: 10.34 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.0005154/0.006089, allocations: 414 kB / 340.3 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.816e-05/0.006157, allocations: 122.5 kB / 340.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006158, allocations: 0 / 340.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.00617, allocations: 92.73 kB / 340.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.006274, allocations: 8 kB / 340.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001643/0.006438, allocations: 154.3 kB / 340.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.819e-05/0.006456, allocations: 59.2 kB / 340.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.818e-06/0.006466, allocations: 4.125 kB / 340.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.006479, allocations: 12.5 kB / 340.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00648, allocations: 4 kB / 340.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of Templates: time 0.003243/0.009723, allocations: 2.342 MB / 343 MB, free: 7.102 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.862286899005994]