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.0008612/0.0008612, allocations: 79.73 kB / 20.75 MB, free: 3.742 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.0008847/0.0008847, allocations: 169 kB / 24.17 MB, free: 332 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.9113/0.9113, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.00378/0.00378, allocations: 0.8039 MB / 261.9 MB, free: 12.14 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.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.503e-06/1.503e-06, allocations: 0 / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.373e-05, allocations: 6.312 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001185/0.001198, allocations: 0.5088 MB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.002685, allocations: 1.472 MB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.002708, allocations: 0 / 280.5 MB, free: 9.477 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.0009212/0.003629, allocations: 330.7 kB / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.003664, allocations: 31.89 kB / 280.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.944e-05/0.003693, allocations: 7.938 kB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.003739, allocations: 19.97 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.003772, allocations: 8 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.003808, allocations: 11.94 kB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.003851, allocations: 15.97 kB / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.00386, allocations: 0 / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.004194, allocations: 315.4 kB / 281.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.004243, allocations: 19.98 kB / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.004261, allocations: 4 kB / 281.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.004608, allocations: 323 kB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.00461, allocations: 0 / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.00461, allocations: 0 / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.004613, allocations: 0 / 281.6 MB, free: 8.418 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.0002742/0.004887, allocations: 325.9 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.004914, allocations: 8.031 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.004951, allocations: 80.22 kB / 282 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.005079, allocations: 197 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.005111, allocations: 154.9 kB / 282.3 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.005141, allocations: 154.9 kB / 282.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.756e-05/0.005179, allocations: 101.5 kB / 282.6 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.005195, allocations: 79.41 kB / 282.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.00523, allocations: 158.7 kB / 282.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.00526, allocations: 150.6 kB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.005351, allocations: 154.6 kB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.005479, allocations: 353.3 kB / 283.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.005535, allocations: 173.1 kB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.005554, allocations: 84.08 kB / 283.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.005568, allocations: 75.28 kB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.016e-05/0.005649, allocations: 98.81 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.00565, allocations: 3.938 kB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 9.67e-05/0.005747, allocations: 114.8 kB / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.005789, allocations: 136.5 kB / 284.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.00584, allocations: 114.6 kB / 284.3 MB, free: 5.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.005847, allocations: 25.7 kB / 284.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.005864, allocations: 84.14 kB / 284.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.005873, allocations: 0 / 284.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.005891, allocations: 13.7 kB / 284.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.00595, allocations: 314.8 kB / 284.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-06/0.00596, allocations: 29.83 kB / 284.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.00597, allocations: 29.69 kB / 284.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.005999, allocations: 60.27 kB / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.006, allocations: 0 / 284.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001722/0.006173, allocations: 93.03 kB / 284.9 MB, free: 4.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.006196, allocations: 32.52 kB / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.006199, allocations: 0 / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.006211, allocations: 4 kB / 284.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-06/0.006214, allocations: 0 / 284.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.006218, allocations: 4.031 kB / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.006229, allocations: 4 kB / 284.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.006233, allocations: 0 / 284.9 MB, free: 4.816 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): 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 5.637e-05/0.00629, allocations: 142.4 kB / 285.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-06/0.006296, allocations: 7.984 kB / 285.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-06/0.006305, allocations: 3.156 kB / 285.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.006306, allocations: 0 / 285.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006307, allocations: 0 / 285.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006311, allocations: 7.922 kB / 285.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.356e-05/0.006355, allocations: 61.91 kB / 285.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-07/0.006355, allocations: 0 / 285.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-07/0.006356, allocations: 4 kB / 285.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006357, allocations: 4 kB / 285.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.006362, allocations: 3.984 kB / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.006362, allocations: 0 / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006363, allocations: 256 / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.483e-05/0.006418, allocations: 120.4 kB / 285.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.006423, allocations: 4 kB / 285.3 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.006436, allocations: 7.938 kB / 285.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-06/0.006444, allocations: 4 kB / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-06/0.006452, allocations: 0 / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.006454, allocations: 4.031 kB / 285.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.006468, allocations: 12.86 kB / 285.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006468, allocations: 0 / 285.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.006697, allocations: 103.6 kB / 285.4 MB, free: 4.27 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: 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.0006191/0.007316, allocations: 443.2 kB / 285.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.353e-05/0.007389, allocations: 111.7 kB / 286 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.007392, allocations: 0 / 286 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.007416, allocations: 89.91 kB / 286 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.133e-05/0.007468, allocations: 7.984 kB / 286.1 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.007624, allocations: 153 kB / 286.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.007648, allocations: 55.55 kB / 286.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.977e-06/0.007657, allocations: 4 kB / 286.3 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.007708, allocations: 75.33 kB / 286.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.007708, allocations: 0 / 286.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of Templates: time 0.003803/0.01151, allocations: 2.749 MB / 289.1 MB, free: 0.5977 MB / 266.7 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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.598512614145875]