Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.001663/0.001663, allocations: 81.34 kB / 19.18 MB, free: 2.531 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.001698/0.001698, allocations: 166.6 kB / 22.46 MB, free: 5.355 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.368/1.368, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.00663/0.00663, allocations: 0.7974 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.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 382.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.246e-05, allocations: 2.281 kB / 382.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001367/0.001389, allocations: 0.5012 MB / 383.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.003567, allocations: 1.424 MB / 384.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.00359, 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.00139/0.00498, allocations: 320.4 kB / 385 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.005042, allocations: 35.89 kB / 385 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.219e-05/0.005084, allocations: 15.98 kB / 385 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.005142, allocations: 15.92 kB / 385.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.005174, allocations: 0 / 385.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.005216, allocations: 12 kB / 385.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.005285, allocations: 15.97 kB / 385.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.005297, allocations: 0 / 385.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.005801, allocations: 319.3 kB / 385.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.005855, allocations: 19.97 kB / 385.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.005884, allocations: 7.938 kB / 385.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.006383, allocations: 311.2 kB / 385.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.006385, allocations: 4 kB / 385.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.006388, allocations: 4 kB / 385.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.006391, allocations: 3.938 kB / 385.7 MB, free: 0.7891 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.0004199/0.006811, allocations: 355.2 kB / 386.1 MB, free: 416 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.006841, allocations: 8.031 kB / 386.1 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.006913, allocations: 76.22 kB / 386.2 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.007093, allocations: 193 kB / 386.4 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.007173, allocations: 150.9 kB / 386.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.007243, allocations: 154.9 kB / 386.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.007317, allocations: 109.5 kB / 386.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.007363, allocations: 79.41 kB / 386.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.007434, allocations: 158.7 kB / 387 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/0.0075, allocations: 150.6 kB / 387.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.007582, allocations: 162.5 kB / 387.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.007867, allocations: 401.6 kB / 387.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.007968, allocations: 165.1 kB / 387.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.008013, allocations: 88.08 kB / 387.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.008056, allocations: 79.28 kB / 388 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.008179, allocations: 94.81 kB / 388.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.184e-06/0.008181, allocations: 0 / 388.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001965/0.008378, allocations: 126.7 kB / 388.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.008473, allocations: 136.5 kB / 388.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.00857, allocations: 109.8 kB / 388.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.008585, allocations: 25.7 kB / 388.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.008635, allocations: 80.14 kB / 388.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.008648, allocations: 3.984 kB / 388.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.008675, allocations: 13.72 kB / 388.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.008817, allocations: 318.8 kB / 388.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.008839, allocations: 25.7 kB / 388.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.008861, allocations: 29.7 kB / 389 MB, free: 13.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.008919, allocations: 64.45 kB / 389 MB, free: 13.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.008921, allocations: 0 / 389 MB, free: 13.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.404e-05/0.009015, allocations: 93.09 kB / 389.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.009045, allocations: 29.7 kB / 389.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.009048, allocations: 3.938 kB / 389.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.009062, allocations: 3.938 kB / 389.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.009063, allocations: 0 / 389.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.009066, allocations: 0 / 389.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.009084, allocations: 4 kB / 389.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.009089, allocations: 0 / 389.2 MB, free: 13.09 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001072/0.009196, allocations: 147.6 kB / 389.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.009211, allocations: 3.953 kB / 389.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.009224, allocations: 11.11 kB / 389.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.009228, allocations: 3.938 kB / 389.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.009231, allocations: 7.938 kB / 389.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.009233, allocations: 0 / 389.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.874e-05/0.009322, allocations: 101.3 kB / 389.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.009323, allocations: 0 / 389.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.009323, allocations: 3.938 kB / 389.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.009324, allocations: 0 / 389.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.00933, allocations: 4 kB / 389.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.009331, allocations: 0 / 389.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.009334, allocations: 3.938 kB / 389.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.009449, allocations: 124.7 kB / 389.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.009454, allocations: 0 / 389.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.009474, allocations: 4 kB / 389.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.009491, allocations: 4 kB / 389.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.009507, allocations: 3.938 kB / 389.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.009509, allocations: 0 / 389.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.009569, allocations: 91.27 kB / 389.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009569, allocations: 0 / 389.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.009909, allocations: 99.7 kB / 389.8 MB, free: 12.41 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000863/0.01077, allocations: 398.5 kB / 390.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01089, allocations: 114.8 kB / 390.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0109, allocations: 0 / 390.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.01095, allocations: 81.11 kB / 390.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.01109, allocations: 9.438 kB / 390.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.01134, allocations: 158.4 kB / 390.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.0114, allocations: 63.34 kB / 390.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.536e-06/0.01141, allocations: 0 / 390.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.01143, allocations: 12.5 kB / 390.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01143, allocations: 4.125 kB / 390.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of Templates: time 0.005661/0.01709, allocations: 2.311 MB / 392.9 MB, free: 9.238 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9607368111610413] Failed to read output from testmodel.py, exit status != 0: 0.024864371865987778 0.038938685 0.029630537000000002 Calling exit ...