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.0009573/0.0009573, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002195, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009814/0.0009814, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.00223, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07981/1.013, allocations: 53.64 MB / 243.2 MB, free: 15.61 MB / 250.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.003559/0.003559, allocations: 0.7966 MB / 244.8 MB, free: 14.08 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.004663, allocations: 0.6273 MB / 245.4 MB, free: 13.46 MB / 250.7 MB " [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.242e-06/1.242e-06, allocations: 0 / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.523e-06/7.765e-06, allocations: 2.312 kB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0008253/0.000833, allocations: 0.5518 MB / 247.2 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.00207, allocations: 1.493 MB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.002087, allocations: 4 kB / 248.7 MB, free: 10.14 MB / 250.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.0006988/0.002786, allocations: 309.5 kB / 249 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.00282, allocations: 19.92 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 3e-05/0.00285, allocations: 15.92 kB / 249.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.002906, allocations: 35.95 kB / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.717e-05/0.002933, allocations: 4 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.002978, allocations: 23.92 kB / 249.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.003027, allocations: 11.98 kB / 249.1 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.003038, allocations: 0 / 249.1 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.003495, allocations: 343.3 kB / 249.5 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.003537, allocations: 23.97 kB / 249.5 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.003553, allocations: 7.938 kB / 249.5 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.003916, allocations: 267.3 kB / 249.8 MB, free: 9.109 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.003924, allocations: 0 / 249.8 MB, free: 9.109 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003924, allocations: 0 / 249.8 MB, free: 9.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.003933, allocations: 0 / 249.8 MB, free: 9.109 MB / 250.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.0003126/0.004246, allocations: 339.8 kB / 250.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.575e-05/0.004272, allocations: 8.031 kB / 250.1 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.004317, allocations: 84.2 kB / 250.2 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.004436, allocations: 204.9 kB / 250.4 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.004474, allocations: 154.9 kB / 250.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.00452, allocations: 162.9 kB / 250.7 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.877e-05/0.004559, allocations: 101.5 kB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.004579, allocations: 75.47 kB / 250.9 MB, free: 7.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.004623, allocations: 158.7 kB / 251 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.004684, allocations: 154.6 kB / 251.2 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.004726, allocations: 150.6 kB / 251.3 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.004869, allocations: 357.3 kB / 251.7 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.004929, allocations: 169.1 kB / 251.8 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.004949, allocations: 80.14 kB / 251.9 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.004966, allocations: 79.28 kB / 252 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.005085, allocations: 71.25 kB / 252.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.005087, allocations: 0 / 252.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 6.592e-05/0.005153, allocations: 41.69 kB / 252.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.005174, allocations: 51.41 kB / 252.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.005223, allocations: 114.6 kB / 252.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.005231, allocations: 25.7 kB / 252.3 MB, free: 6.441 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.005256, allocations: 88.12 kB / 252.4 MB, free: 6.352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.005267, allocations: 8.062 kB / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.005292, allocations: 9.719 kB / 252.4 MB, free: 6.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.005373, allocations: 318.8 kB / 252.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.005377, allocations: 0 / 252.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-06/0.00538, allocations: 0 / 252.7 MB, free: 6.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.005403, allocations: 8.859 kB / 252.7 MB, free: 5.996 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.005404, allocations: 0 / 252.7 MB, free: 5.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.071e-05/0.005445, allocations: 29.7 kB / 252.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.005455, allocations: 7.281 kB / 252.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005458, allocations: 4.094 kB / 252.7 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/0.005465, allocations: 7.984 kB / 252.8 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.005485, allocations: 3.938 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.005489, allocations: 3.938 kB / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.005506, allocations: 0 / 252.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.00551, allocations: 0 / 252.8 MB, free: 5.938 MB / 250.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.78e-05/0.005558, allocations: 116.7 kB / 252.9 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.00557, allocations: 7.984 kB / 252.9 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.00559, allocations: 3.469 kB / 252.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.005594, allocations: 0 / 252.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005596, allocations: 0 / 252.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.0056, allocations: 11.94 kB / 252.9 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.295e-05/0.005662, allocations: 69.88 kB / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005663, allocations: 0 / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-06/0.005666, allocations: 0 / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.00567, allocations: 0 / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005671, allocations: 0 / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-06/0.005674, allocations: 256 / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.005675, allocations: 8 kB / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005676, allocations: 0 / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.538e-05/0.005721, allocations: 72.92 kB / 253 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.005735, allocations: 12.02 kB / 253.1 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.005751, allocations: 4 kB / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-06/0.005759, allocations: 0 / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.005761, allocations: 0 / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.674e-05/0.005778, allocations: 12.84 kB / 253.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005778, allocations: 0 / 253.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00025/0.006028, allocations: 95.67 kB / 253.2 MB, free: 5.48 MB / 250.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.0006474/0.006675, allocations: 479.5 kB / 253.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.539e-05/0.00671, allocations: 8.859 kB / 253.6 MB, free: 5.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.006714, allocations: 4 kB / 253.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.006719, allocations: 12.86 kB / 253.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.022e-05/0.006769, allocations: 19.97 kB / 253.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.006924, allocations: 131.3 kB / 253.8 MB, free: 4.914 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.007047, allocations: 55.36 kB / 253.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.007066, allocations: 7.984 kB / 253.9 MB, free: 4.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.007092, allocations: 55.38 kB / 253.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of SimCode: time 3.7e-07/0.007093, allocations: 0 / 253.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of Templates: time 0.003398/0.01049, allocations: 2.882 MB / 256.8 MB, free: 1.902 MB / 250.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.292728206142783]