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.0009731/0.0009731, allocations: 75.73 kB / 20.97 MB, free: 3.57 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.001397/0.001397, 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.9202/0.9202, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.003959/0.003959, allocations: 0.8029 MB / 261.9 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.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.232e-06/1.232e-06, allocations: 0 / 331.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.724e-05, allocations: 13.2 kB / 331.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0008619/0.0008792, allocations: 0.4967 MB / 331.9 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.002034, allocations: 1.469 MB / 333.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.002066, 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.0009323/0.002998, allocations: 324.2 kB / 333.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.003032, allocations: 31.89 kB / 333.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.478e-05/0.003067, allocations: 11.92 kB / 333.7 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.003134, allocations: 27.92 kB / 333.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.119e-05/0.003165, allocations: 7.984 kB / 333.7 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.003197, allocations: 15.98 kB / 333.7 MB, free: 16.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.00323, allocations: 11.98 kB / 333.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.003241, allocations: 4 kB / 333.7 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.003499, allocations: 323.4 kB / 334.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.003544, allocations: 23.91 kB / 334.1 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003564, allocations: 8 kB / 334.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.003844, allocations: 319.1 kB / 334.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003846, allocations: 0 / 334.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003846, allocations: 0 / 334.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00385, allocations: 0 / 334.4 MB, free: 16.19 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.0002419/0.004092, allocations: 439.8 kB / 334.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.004122, allocations: 8.031 kB / 334.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.004165, allocations: 128.1 kB / 335 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004267, allocations: 255.6 kB / 335.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.004288, allocations: 242.8 kB / 335.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.004304, allocations: 238.8 kB / 335.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.67e-05/0.004341, allocations: 153.4 kB / 335.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.004351, allocations: 119.4 kB / 336 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.004374, allocations: 250.5 kB / 336.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.004393, allocations: 238.4 kB / 336.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.004411, allocations: 238.4 kB / 336.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.00453, allocations: 0.5836 MB / 337.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.004568, allocations: 261.4 kB / 337.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.004582, allocations: 126.9 kB / 337.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.004592, allocations: 119.2 kB / 337.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.903e-05/0.004671, allocations: 80.97 kB / 337.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.004673, allocations: 0 / 337.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001044/0.004778, allocations: 41.62 kB / 337.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.004816, allocations: 55.34 kB / 337.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.004865, allocations: 165.9 kB / 338.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-06/0.004869, allocations: 25.7 kB / 338.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.004886, allocations: 138.9 kB / 338.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.004897, allocations: 0 / 338.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.004913, allocations: 15.5 kB / 338.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.00495, allocations: 0.4923 MB / 338.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-06/0.004956, allocations: 0 / 338.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-06/0.004959, allocations: 0 / 338.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.483e-05/0.004974, allocations: 11.69 kB / 338.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004975, allocations: 0 / 338.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.655e-05/0.005002, allocations: 41.58 kB / 338.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.005012, allocations: 8 kB / 338.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005016, allocations: 0 / 338.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.005029, allocations: 3.938 kB / 338.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.525e-05/0.005044, allocations: 4.094 kB / 338.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005049, allocations: 0 / 338.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.005059, allocations: 0 / 338.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.005062, allocations: 0 / 338.8 MB, free: 11.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): 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 3.829e-05/0.005101, allocations: 164.5 kB / 339 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.005108, allocations: 7.984 kB / 339 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.005128, allocations: 3.469 kB / 339 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005131, allocations: 7.938 kB / 339 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.005133, allocations: 0 / 339 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005135, allocations: 0 / 339 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.328e-05/0.005189, allocations: 120.6 kB / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.00519, allocations: 256 / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.005191, allocations: 4 kB / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.005192, allocations: 0 / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.005196, allocations: 0 / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005197, allocations: 0 / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005198, allocations: 3.938 kB / 339.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.281e-05/0.005231, allocations: 76.38 kB / 339.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.005235, allocations: 3.953 kB / 339.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.005244, allocations: 4 kB / 339.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.005252, allocations: 7.984 kB / 339.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.005264, allocations: 7.969 kB / 339.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-07/0.005265, allocations: 0 / 339.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.005285, allocations: 127.2 kB / 339.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005285, allocations: 0 / 339.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.005487, allocations: 107.6 kB / 339.4 MB, free: 10.86 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.0005024/0.005989, allocations: 412.7 kB / 339.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.043e-05/0.006049, allocations: 15.61 kB / 339.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.006052, allocations: 4 kB / 339.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.006056, allocations: 7.688 kB / 339.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.006159, allocations: 16.06 kB / 339.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.006322, allocations: 128.6 kB / 340 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.811e-05/0.00634, allocations: 67.14 kB / 340.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.006359, allocations: 7.984 kB / 340.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.006374, allocations: 16.5 kB / 340.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006374, allocations: 0 / 340.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Templates: time 0.003303/0.009677, allocations: 2.471 MB / 342.6 MB, free: 7.73 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: 2.738718388834968]