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.001005/0.001005, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001095/0.001095, allocations: 185.3 kB / 24.09 MB, free: 416 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.9518/0.9518, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.003878/0.003878, allocations: 0.7971 MB / 261.9 MB, free: 12.09 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 2.315e-06/2.315e-06, allocations: 0 / 331.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.699e-05, allocations: 4.562 kB / 331.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001276/0.001313, allocations: 0.4967 MB / 332.3 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.002704, allocations: 1.469 MB / 333.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.002739, allocations: 0 / 333.8 MB, free: 16.66 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.001228/0.003967, allocations: 330.4 kB / 334.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.004009, allocations: 27.98 kB / 334.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.62e-05/0.004055, allocations: 11.92 kB / 334.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.004119, allocations: 31.91 kB / 334.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.004156, allocations: 7.984 kB / 334.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.004194, allocations: 12 kB / 334.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.004232, allocations: 23.91 kB / 334.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004248, allocations: 0 / 334.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.004679, allocations: 323.4 kB / 334.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.004736, allocations: 15.98 kB / 334.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.004758, allocations: 4 kB / 334.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.005167, allocations: 327 kB / 334.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00517, allocations: 0 / 334.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005171, allocations: 3.938 kB / 334.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.005176, allocations: 4 kB / 334.9 MB, free: 15.57 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.0002815/0.005457, allocations: 435.8 kB / 335.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005498, allocations: 16.03 kB / 335.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.005546, allocations: 128.1 kB / 335.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/0.005638, allocations: 235.8 kB / 335.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.005665, allocations: 246.7 kB / 335.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.005684, allocations: 238.8 kB / 336.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.899e-05/0.005723, allocations: 153.4 kB / 336.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.005735, allocations: 123.4 kB / 336.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.005765, allocations: 246.5 kB / 336.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.005789, allocations: 242.3 kB / 336.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.005811, allocations: 238.4 kB / 337.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.005945, allocations: 0.5569 MB / 337.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.005985, allocations: 269.4 kB / 337.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.005998, allocations: 126.9 kB / 338.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.00601, allocations: 119.2 kB / 338.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.667e-05/0.006097, allocations: 76.97 kB / 338.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.006099, allocations: 0 / 338.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 8.75e-05/0.006186, allocations: 33.64 kB / 338.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.006207, allocations: 63.34 kB / 338.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.006255, allocations: 165.9 kB / 338.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/0.006259, allocations: 25.7 kB / 338.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.006276, allocations: 130.9 kB / 338.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.006289, allocations: 0 / 338.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.006309, allocations: 23.36 kB / 338.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.006352, allocations: 492.2 kB / 339.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-06/0.006356, allocations: 4 kB / 339.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.006361, allocations: 7.938 kB / 339.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.568e-05/0.006377, allocations: 7.688 kB / 339.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006378, allocations: 0 / 339.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.702e-05/0.006415, allocations: 45.59 kB / 339.2 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.006426, allocations: 4 kB / 339.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.00643, allocations: 3.984 kB / 339.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.006443, allocations: 0 / 339.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.006462, allocations: 0 / 339.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.006465, allocations: 12.03 kB / 339.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.006478, allocations: 0 / 339.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.006482, allocations: 0 / 339.3 MB, free: 10.98 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.77e-05/0.00653, allocations: 160.6 kB / 339.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.00654, allocations: 4 kB / 339.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.006572, allocations: 7.453 kB / 339.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.006573, allocations: 0 / 339.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.006575, allocations: 3.938 kB / 339.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.006578, allocations: 0 / 339.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.167e-05/0.00664, allocations: 101.2 kB / 339.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006642, allocations: 8.234 kB / 339.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-06/0.006644, allocations: 4 kB / 339.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006647, allocations: 7.938 kB / 339.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.00665, allocations: 0 / 339.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006651, allocations: 0 / 339.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006652, allocations: 0 / 339.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.305e-05/0.006705, allocations: 68.39 kB / 339.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.006713, allocations: 7.938 kB / 339.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.006723, allocations: 4 kB / 339.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-06/0.006731, allocations: 0 / 339.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.006741, allocations: 4 kB / 339.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.006743, allocations: 4.031 kB / 339.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.097e-05/0.006764, allocations: 131.2 kB / 339.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006764, allocations: 0 / 339.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.00701, allocations: 111.5 kB / 339.9 MB, free: 10.3 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.0005351/0.007545, allocations: 420.9 kB / 340.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.946e-05/0.007594, allocations: 11.69 kB / 340.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.007597, allocations: 0 / 340.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/0.007601, allocations: 7.688 kB / 340.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.007707, allocations: 19.92 kB / 340.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.007869, allocations: 132.8 kB / 340.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.707e-05/0.007886, allocations: 63.2 kB / 340.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.182e-05/0.007908, allocations: 4 kB / 340.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.007935, allocations: 82.12 kB / 340.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.007937, allocations: 0 / 340.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of Templates: time 0.00382/0.01176, allocations: 2.881 MB / 343.5 MB, free: 6.703 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.7261487022042274]