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.001235/0.001235, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001321/0.001321, allocations: 167.1 kB / 22.46 MB, free: 5.363 MB / 14.72 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.373/1.373, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.006615/0.006615, allocations: 0.7993 MB / 260 MB, free: 15.91 MB / 254.1 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.322e-06/1.322e-06, allocations: 0 / 382.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.895e-05, allocations: 2.281 kB / 382.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001275/0.001294, allocations: 0.5089 MB / 383.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.003398, allocations: 1.424 MB / 384.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.003422, allocations: 0 / 384.7 MB, free: 1.844 MB / 302.1 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.001311/0.004733, allocations: 322 kB / 385 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.0048, allocations: 27.95 kB / 385 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.003e-05/0.00484, allocations: 11.98 kB / 385.1 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.004915, allocations: 31.86 kB / 385.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.004951, allocations: 7.984 kB / 385.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.004992, allocations: 15.98 kB / 385.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.005043, allocations: 15.98 kB / 385.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.005057, allocations: 0 / 385.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.00555, allocations: 327.3 kB / 385.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.005604, allocations: 19.98 kB / 385.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.005625, allocations: 3.938 kB / 385.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.006099, allocations: 323.2 kB / 385.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006101, allocations: 0 / 385.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006102, allocations: 0 / 385.8 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.006105, allocations: 0 / 385.8 MB, free: 0.7617 MB / 302.1 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.0004024/0.006508, allocations: 337.5 kB / 386.1 MB, free: 412 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.006541, allocations: 12.03 kB / 386.1 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.006618, allocations: 80.16 kB / 386.2 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006808, allocations: 201 kB / 386.4 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.006884, allocations: 150.9 kB / 386.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.006951, allocations: 158.9 kB / 386.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.866e-05/0.00702, allocations: 109.5 kB / 386.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.007062, allocations: 83.47 kB / 386.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.007135, allocations: 158.7 kB / 387 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/0.007203, allocations: 150.6 kB / 387.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.007277, allocations: 158.6 kB / 387.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.007564, allocations: 401.6 kB / 387.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.007663, allocations: 169.1 kB / 387.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.007701, allocations: 80.14 kB / 388 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.007744, allocations: 83.28 kB / 388.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.007854, allocations: 67.31 kB / 388.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.007856, allocations: 0 / 388.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.007979, allocations: 41.64 kB / 388.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.008021, allocations: 51.41 kB / 388.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.008139, allocations: 109.8 kB / 388.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.008155, allocations: 29.7 kB / 388.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.008204, allocations: 80.14 kB / 388.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.008228, allocations: 15.88 kB / 388.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.008256, allocations: 13.72 kB / 388.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.008394, allocations: 315 kB / 388.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.008401, allocations: 0 / 388.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.008406, allocations: 0 / 388.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.00843, allocations: 12.86 kB / 388.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008432, allocations: 0 / 388.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.008487, allocations: 37.69 kB / 388.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.008499, allocations: 6.656 kB / 388.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.008502, allocations: 0 / 388.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.008515, allocations: 3.938 kB / 388.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.00853, allocations: 96 / 388.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.008533, allocations: 7.938 kB / 388.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.008547, allocations: 0 / 388.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.008551, allocations: 4 kB / 388.8 MB, free: 13.52 MB / 318.1 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 9.157e-05/0.008643, allocations: 113.8 kB / 389 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.008661, allocations: 7.969 kB / 389 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.008688, allocations: 15.42 kB / 389 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.008692, allocations: 3.938 kB / 389 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.008695, allocations: 0 / 389 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.008697, allocations: 3.938 kB / 389 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.008798, allocations: 101.3 kB / 389.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.008799, allocations: 7.938 kB / 389.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-06/0.008802, allocations: 0 / 389.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008803, allocations: 0 / 389.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.008807, allocations: 0 / 389.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008808, allocations: 4.25 kB / 389.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.008819, allocations: 3.938 kB / 389.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.008902, allocations: 69.06 kB / 389.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.008909, allocations: 3.953 kB / 389.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.008925, allocations: 4 kB / 389.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.008944, allocations: 3.984 kB / 389.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.008954, allocations: 7.969 kB / 389.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.008957, allocations: 4 kB / 389.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.009017, allocations: 91.27 kB / 389.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009017, allocations: 0 / 389.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.009368, allocations: 103.6 kB / 389.4 MB, free: 12.92 MB / 318.1 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.0008374/0.01021, allocations: 398.9 kB / 389.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.124e-05/0.01027, allocations: 4 kB / 389.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01027, allocations: 0 / 389.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.01028, allocations: 7.938 kB / 389.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.01041, allocations: 11.98 kB / 389.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.01065, allocations: 132.8 kB / 389.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.746e-05/0.01071, allocations: 63.34 kB / 390 MB, free: 12.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.01073, allocations: 11.98 kB / 390 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.01076, allocations: 20.44 kB / 390 MB, free: 12.3 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.01076, allocations: 0 / 390 MB, free: 12.3 MB / 318.1 MB Notification: Performance of Templates: time 0.005849/0.01661, allocations: 2.448 MB / 392.5 MB, free: 9.848 MB / 318.1 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: 3.970603257417679] Failed to read output from testmodel.py, exit status != 0: 0.024133510887622833 0.038659872000000005 0.029496224 Calling exit ...