Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.001898/0.001898, 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.002081/0.002081, allocations: 173.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.656/1.656, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.008523/0.008523, allocations: 0.8016 MB / 260.4 MB, free: 12.31 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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 329.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.881e-05, allocations: 6.25 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.00134/0.001369, allocations: 0.499 MB / 330.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.003059, allocations: 1.449 MB / 331.8 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.003089, 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.00137/0.004459, allocations: 326.5 kB / 332.1 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.004511, allocations: 27.92 kB / 332.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.379e-05/0.004555, allocations: 15.91 kB / 332.1 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.00464, allocations: 27.97 kB / 332.2 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.004678, allocations: 4 kB / 332.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.004736, allocations: 19.92 kB / 332.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.004803, allocations: 19.97 kB / 332.2 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.004825, allocations: 0 / 332.2 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.00526, allocations: 323.3 kB / 332.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.005342, allocations: 15.98 kB / 332.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.00537, allocations: 7.984 kB / 332.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.005816, allocations: 323 kB / 332.9 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.00582, allocations: 4 kB / 332.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005821, allocations: 0 / 332.9 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.005829, allocations: 0 / 332.9 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.0004436/0.006272, allocations: 439.5 kB / 333.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.006329, allocations: 8.031 kB / 333.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.006411, allocations: 128.1 kB / 333.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.006597, allocations: 251.8 kB / 333.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.006651, allocations: 238.8 kB / 333.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.006695, allocations: 238.8 kB / 334.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.875e-05/0.006763, allocations: 149.4 kB / 334.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.006792, allocations: 123.4 kB / 334.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.006861, allocations: 254.5 kB / 334.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.245e-05/0.006914, allocations: 238.4 kB / 334.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.006965, allocations: 238.4 kB / 335.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.007211, allocations: 0.572 MB / 335.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.007325, allocations: 273.3 kB / 336 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.007356, allocations: 130.9 kB / 336.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.007384, allocations: 119.2 kB / 336.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.007517, allocations: 80.97 kB / 336.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.796e-06/0.00752, allocations: 0 / 336.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001845/0.007704, allocations: 37.64 kB / 336.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.007739, allocations: 51.41 kB / 336.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.007825, allocations: 165.9 kB / 336.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.007833, allocations: 29.7 kB / 336.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.007871, allocations: 130.9 kB / 336.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.007888, allocations: 0 / 336.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.007913, allocations: 15.38 kB / 336.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.008009, allocations: 0.4923 MB / 337.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.00802, allocations: 4.125 kB / 337.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.008025, allocations: 0 / 337.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.008053, allocations: 15.62 kB / 337.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.008055, allocations: 0 / 337.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.525e-05/0.0081, allocations: 37.66 kB / 337.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.008116, allocations: 6.5 kB / 337.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008121, allocations: 0 / 337.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.008141, allocations: 3.938 kB / 337.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.008181, allocations: 3.984 kB / 337.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.008188, allocations: 4.094 kB / 337.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.008204, allocations: 0 / 337.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.00821, allocations: 4 kB / 337.3 MB, free: 11.61 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.165e-05/0.008281, allocations: 160.6 kB / 337.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.008297, allocations: 0 / 337.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.00833, allocations: 15.39 kB / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008333, allocations: 3.938 kB / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008337, allocations: 0 / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.008341, allocations: 0 / 337.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.415e-05/0.008435, allocations: 116.6 kB / 337.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008436, allocations: 0 / 337.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-06/0.008439, allocations: 4.25 kB / 337.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008441, allocations: 4 kB / 337.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.008448, allocations: 4 kB / 337.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008449, allocations: 3.938 kB / 337.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008451, allocations: 3.938 kB / 337.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.563e-05/0.008517, allocations: 68.44 kB / 337.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.008525, allocations: 11.98 kB / 337.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.008543, allocations: 0 / 337.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.734e-05/0.008561, allocations: 0 / 337.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.008584, allocations: 11.88 kB / 337.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.008586, allocations: 4.031 kB / 337.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.008631, allocations: 131.2 kB / 337.8 MB, free: 11 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008632, allocations: 4 kB / 337.8 MB, free: 11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.008997, allocations: 103.6 kB / 337.9 MB, free: 10.9 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.001055/0.01005, allocations: 393.7 kB / 338.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.01013, allocations: 11.69 kB / 338.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01013, allocations: 0 / 338.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.797e-06/0.01014, allocations: 11.69 kB / 338.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.01028, allocations: 19.92 kB / 338.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.01051, allocations: 139.8 kB / 338.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.01055, allocations: 71.41 kB / 338.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.543e-05/0.01058, allocations: 11.98 kB / 338.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.0106, allocations: 12.5 kB / 338.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0106, allocations: 0 / 338.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Templates: time 0.005495/0.01609, allocations: 2.469 MB / 341 MB, free: 7.777 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.793518685968593]