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.001825/0.001825, allocations: 92.7 kB / 19.44 MB, free: 324 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.002555/0.002555, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.007174/0.007174, allocations: 0.7836 MB / 260.3 MB, free: 12.29 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.292e-06/1.292e-06, allocations: 0 / 329.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.25e-05, allocations: 4.984 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.00125/0.001272, allocations: 0.5033 MB / 330.3 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.002831, allocations: 1.449 MB / 331.8 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.002859, 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.001333/0.004192, allocations: 322 kB / 332.1 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.004242, allocations: 31.89 kB / 332.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.349e-05/0.004286, allocations: 11.94 kB / 332.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.146e-05/0.004347, allocations: 31.97 kB / 332.1 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.564e-05/0.004373, allocations: 3.984 kB / 332.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.004408, allocations: 15.94 kB / 332.2 MB, free: 16.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.004457, allocations: 19.97 kB / 332.2 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.00447, allocations: 0 / 332.2 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.004852, allocations: 327.3 kB / 332.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.0049, allocations: 15.98 kB / 332.5 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.004927, allocations: 11.98 kB / 332.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.005318, allocations: 315.1 kB / 332.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00532, allocations: 0 / 332.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005321, allocations: 8 kB / 332.8 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.005325, allocations: 0 / 332.8 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.0003018/0.005626, allocations: 337.5 kB / 333.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.005654, allocations: 12.03 kB / 333.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.005708, allocations: 80.22 kB / 333.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.005821, allocations: 201 kB / 333.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.005842, allocations: 150.9 kB / 333.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.005856, allocations: 154.9 kB / 333.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.744e-05/0.005894, allocations: 105.5 kB / 333.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.005906, allocations: 75.47 kB / 333.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.005932, allocations: 166.7 kB / 334.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.005948, allocations: 154.6 kB / 334.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.005965, allocations: 154.6 kB / 334.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.006123, allocations: 401.6 kB / 334.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.006161, allocations: 169.1 kB / 335 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.006174, allocations: 88.08 kB / 335 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006188, allocations: 75.28 kB / 335.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.542e-05/0.006283, allocations: 67.31 kB / 335.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.006285, allocations: 4 kB / 335.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.006415, allocations: 37.64 kB / 335.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.006436, allocations: 55.41 kB / 335.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.006502, allocations: 113.8 kB / 335.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.006507, allocations: 29.7 kB / 335.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.625e-05/0.006524, allocations: 80.14 kB / 335.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.006534, allocations: 0 / 335.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.006555, allocations: 17.7 kB / 335.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.278e-05/0.006587, allocations: 314.8 kB / 335.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-06/0.006594, allocations: 0 / 335.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.006599, allocations: 8.125 kB / 335.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.547e-05/0.006615, allocations: 8.797 kB / 335.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006616, allocations: 0 / 335.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.341e-05/0.00666, allocations: 41.64 kB / 335.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.00667, allocations: 4 kB / 335.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.006673, allocations: 0 / 335.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.00669, allocations: 3.938 kB / 335.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.528e-05/0.006706, allocations: 4 kB / 335.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006709, allocations: 0 / 335.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.006724, allocations: 4 kB / 335.9 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.006728, allocations: 4.094 kB / 335.9 MB, free: 12.99 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 4.599e-05/0.006774, allocations: 113.8 kB / 336 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.00679, allocations: 11.92 kB / 336 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.006811, allocations: 3.469 kB / 336 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.006813, allocations: 3.938 kB / 336 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.006816, allocations: 0 / 336 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.006818, allocations: 0 / 336 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.372e-05/0.006892, allocations: 105.3 kB / 336.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006893, allocations: 4 kB / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-06/0.006897, allocations: 0 / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006898, allocations: 4 kB / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.006902, allocations: 0 / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006903, allocations: 0 / 336.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006905, allocations: 7.875 kB / 336.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.544e-05/0.00696, allocations: 61.12 kB / 336.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.006966, allocations: 4 kB / 336.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.006979, allocations: 0 / 336.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.006999, allocations: 7.984 kB / 336.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-06/0.007008, allocations: 7.875 kB / 336.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.00701, allocations: 256 / 336.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.003e-05/0.00704, allocations: 99.3 kB / 336.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00704, allocations: 4 kB / 336.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003323/0.007372, allocations: 99.61 kB / 336.4 MB, free: 12.41 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.0008175/0.00819, allocations: 398.1 kB / 336.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.662e-05/0.008246, allocations: 7.984 kB / 336.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.008249, allocations: 0 / 336.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.008254, allocations: 0 / 336.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.008403, allocations: 19.88 kB / 336.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.008589, allocations: 138.2 kB / 337 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.008621, allocations: 63.34 kB / 337 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.008648, allocations: 12.11 kB / 337.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.008673, allocations: 16.5 kB / 337.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008673, allocations: 0 / 337.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Templates: time 0.004999/0.01367, allocations: 2.475 MB / 339.5 MB, free: 9.309 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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.299485843977891]