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.0008685/0.0008685, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009118/0.0009118, allocations: 168.3 kB / 24.87 MB, free: 9.281 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.95/0.95, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.006532/0.006532, allocations: 0.8053 MB / 262.7 MB, free: 12.11 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.573e-06/1.573e-06, allocations: 0 / 332.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.5e-05, allocations: 2.312 kB / 332.6 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001722/0.001747, allocations: 0.5075 MB / 333.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.003778, allocations: 1.465 MB / 334.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.003813, allocations: 0 / 334.6 MB, free: 1.723 MB / 298.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.001264/0.005077, allocations: 320 kB / 334.9 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.005128, allocations: 35.91 kB / 334.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.111e-05/0.005179, allocations: 15.92 kB / 334.9 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.005262, allocations: 31.91 kB / 335 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.0053, allocations: 0 / 335 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.005343, allocations: 19.97 kB / 335 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.005386, allocations: 12 kB / 335 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.005398, allocations: 0 / 335 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.005773, allocations: 319.4 kB / 335.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.00583, allocations: 23.97 kB / 335.3 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.00585, allocations: 7.938 kB / 335.3 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.00628, allocations: 323.1 kB / 335.6 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006282, allocations: 4 kB / 335.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006283, allocations: 0 / 335.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.006288, allocations: 0 / 335.7 MB, free: 0.6328 MB / 298.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.0003193/0.006607, allocations: 439.8 kB / 336.1 MB, free: 172 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.006641, allocations: 8.031 kB / 336.1 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.006704, allocations: 124.1 kB / 336.2 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.006852, allocations: 247.8 kB / 336.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.006917, allocations: 246.7 kB / 336.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.006972, allocations: 242.7 kB / 336.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.091e-05/0.007033, allocations: 149.5 kB / 337.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.007062, allocations: 119.4 kB / 337.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.007136, allocations: 246.5 kB / 337.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/0.007195, allocations: 242.4 kB / 337.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.007256, allocations: 246.4 kB / 337.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.007499, allocations: 0.557 MB / 338.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.007582, allocations: 265.4 kB / 338.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.007614, allocations: 126.9 kB / 338.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.00764, allocations: 123.2 kB / 339 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.916e-05/0.00773, allocations: 76.97 kB / 339 MB, free: 13.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.795e-06/0.007732, allocations: 3.984 kB / 339 MB, free: 13.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 9.154e-05/0.007824, allocations: 33.7 kB / 339.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.007851, allocations: 55.34 kB / 339.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.007921, allocations: 165.9 kB / 339.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.007928, allocations: 29.64 kB / 339.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.007964, allocations: 134.9 kB / 339.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.007978, allocations: 3.953 kB / 339.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.007999, allocations: 23.34 kB / 339.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.008111, allocations: 496.1 kB / 340 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-06/0.008115, allocations: 4.125 kB / 340 MB, free: 12.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-06/0.008118, allocations: 0 / 340 MB, free: 12.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.812e-05/0.008136, allocations: 11.69 kB / 340 MB, free: 12.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008138, allocations: 0 / 340 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.627e-05/0.008174, allocations: 29.7 kB / 340 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.008185, allocations: 7.984 kB / 340 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.008189, allocations: 4 kB / 340 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.008196, allocations: 0 / 340 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.599e-05/0.008212, allocations: 3.938 kB / 340 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.008216, allocations: 8.031 kB / 340 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.008226, allocations: 0 / 340 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.008229, allocations: 0 / 340 MB, free: 12.03 MB / 314.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 6.63e-05/0.008296, allocations: 160.6 kB / 340.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.008304, allocations: 4 kB / 340.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.008329, allocations: 7.453 kB / 340.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.00833, allocations: 3.938 kB / 340.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008332, allocations: 7.938 kB / 340.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008335, allocations: 0 / 340.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.008406, allocations: 97.25 kB / 340.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008407, allocations: 0 / 340.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.008409, allocations: 4.25 kB / 340.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-07/0.008409, allocations: 0 / 340.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-06/0.008414, allocations: 4 kB / 340.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.008414, allocations: 0 / 340.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008415, allocations: 0 / 340.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.527e-05/0.00847, allocations: 88.25 kB / 340.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.008475, allocations: 4 kB / 340.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.008483, allocations: 0 / 340.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-06/0.008492, allocations: 4 kB / 340.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.008501, allocations: 0 / 340.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.008502, allocations: 4.031 kB / 340.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.008537, allocations: 127.2 kB / 340.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008537, allocations: 4 kB / 340.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.008778, allocations: 107.5 kB / 340.7 MB, free: 11.36 MB / 314.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.0005902/0.009369, allocations: 414.5 kB / 341.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.773e-05/0.009416, allocations: 11.69 kB / 341.1 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009418, allocations: 0 / 341.1 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.009425, allocations: 15.62 kB / 341.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.009525, allocations: 11.98 kB / 341.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.0097, allocations: 126.9 kB / 341.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.009731, allocations: 59.34 kB / 341.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.609e-05/0.009757, allocations: 11.98 kB / 341.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.009797, allocations: 78.14 kB / 341.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009798, allocations: 0 / 341.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of Templates: time 0.003995/0.01379, allocations: 2.905 MB / 344.3 MB, free: 7.742 MB / 314.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.821401588153094]