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.000883/0.000883, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.0009604/0.0009604, allocations: 170.8 kB / 24.87 MB, free: 8.891 MB / 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.004121/0.004121, allocations: 0.8008 MB / 262.7 MB, free: 12.07 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.623e-06/1.623e-06, allocations: 0 / 332.6 MB, free: 3.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.77e-05, allocations: 2.312 kB / 332.6 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001694/0.001722, allocations: 0.497 MB / 333.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.004107, allocations: 1.461 MB / 334.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.004147, allocations: 0 / 334.5 MB, free: 1.723 MB / 298.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.001353/0.0055, allocations: 335.1 kB / 334.9 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.005558, allocations: 23.97 kB / 334.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.027e-05/0.005609, allocations: 19.86 kB / 334.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.005671, allocations: 11.98 kB / 334.9 MB, free: 1.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.005717, allocations: 4 kB / 334.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.005765, allocations: 23.91 kB / 335 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.005821, allocations: 8 kB / 335 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.005834, allocations: 0 / 335 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.006334, allocations: 323.4 kB / 335.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.006384, allocations: 8 kB / 335.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.006408, allocations: 11.97 kB / 335.3 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.006861, allocations: 315.1 kB / 335.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006864, allocations: 0 / 335.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006865, allocations: 0 / 335.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006869, allocations: 0 / 335.6 MB, free: 0.6641 MB / 298.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.0003813/0.007251, allocations: 461.5 kB / 336.1 MB, free: 176 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.007289, allocations: 16.03 kB / 336.1 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.007352, allocations: 120.1 kB / 336.2 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.007524, allocations: 239.8 kB / 336.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.007592, allocations: 238.8 kB / 336.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.007657, allocations: 238.8 kB / 336.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.007724, allocations: 145.5 kB / 337 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.007759, allocations: 119.4 kB / 337.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.007839, allocations: 246.5 kB / 337.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.007906, allocations: 242.3 kB / 337.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.007973, allocations: 242.4 kB / 337.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.008246, allocations: 0.5492 MB / 338.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.008348, allocations: 277.4 kB / 338.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.008391, allocations: 126.9 kB / 338.8 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.008422, allocations: 123.1 kB / 338.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.008544, allocations: 112.4 kB / 339 MB, free: 13.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.235e-06/0.008547, allocations: 0 / 339 MB, free: 13.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.008713, allocations: 118.8 kB / 339.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.008775, allocations: 132.5 kB / 339.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.008859, allocations: 161.9 kB / 339.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.008869, allocations: 29.64 kB / 339.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.008908, allocations: 135 kB / 339.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.008921, allocations: 0 / 339.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.008951, allocations: 23.38 kB / 339.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.009082, allocations: 496.1 kB / 340.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.009103, allocations: 29.7 kB / 340.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.009116, allocations: 25.7 kB / 340.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.009157, allocations: 63.09 kB / 340.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.009159, allocations: 0 / 340.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.182e-05/0.009241, allocations: 93.05 kB / 340.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.009273, allocations: 33.8 kB / 340.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009278, allocations: 0 / 340.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.009287, allocations: 0 / 340.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.009288, allocations: 7.938 kB / 340.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.009292, allocations: 3.938 kB / 340.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.009311, allocations: 0 / 340.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.009316, allocations: 0 / 340.4 MB, free: 11.6 MB / 314.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 8.756e-05/0.009404, allocations: 186.3 kB / 340.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.009416, allocations: 7.984 kB / 340.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.298e-05/0.009429, allocations: 3.156 kB / 340.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009432, allocations: 0 / 340.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.009435, allocations: 8.188 kB / 340.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.009438, allocations: 0 / 340.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.095e-05/0.009519, allocations: 101.2 kB / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00952, allocations: 0 / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.009521, allocations: 0 / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.009524, allocations: 4 kB / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.00953, allocations: 3.984 kB / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009531, allocations: 0 / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009532, allocations: 0 / 340.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.00964, allocations: 131.7 kB / 340.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.009648, allocations: 15.95 kB / 340.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.00966, allocations: 0 / 340.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.009673, allocations: 0 / 340.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.009682, allocations: 4 kB / 340.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.009685, allocations: 0 / 340.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.009728, allocations: 123.2 kB / 340.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009728, allocations: 0 / 340.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.01007, allocations: 107.5 kB / 341 MB, free: 10.84 MB / 314.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.0007874/0.01086, allocations: 410.6 kB / 341.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01099, allocations: 118.5 kB / 341.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01099, allocations: 0 / 341.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.01103, allocations: 100.8 kB / 341.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.01122, allocations: 7.938 kB / 341.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.01153, allocations: 152.4 kB / 341.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.01156, allocations: 59.34 kB / 341.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.463e-05/0.01158, allocations: 4 kB / 341.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.01165, allocations: 90.17 kB / 342 MB, free: 9.875 MB / 314.7 MB Notification: Performance of SimCode: time 1.984e-06/0.01165, allocations: 0 / 342 MB, free: 9.875 MB / 314.7 MB Notification: Performance of Templates: time 0.003991/0.01564, allocations: 2.765 MB / 344.7 MB, free: 7.105 MB / 314.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.9668737230822444]