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.0009538/0.0009538, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009466/0.0009466, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.948/0.948, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.004054/0.004054, allocations: 0.8017 MB / 261.5 MB, free: 12.28 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.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.552e-06/1.552e-06, allocations: 0 / 331.3 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.9e-05, allocations: 2.312 kB / 331.3 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001147/0.001176, allocations: 0.5032 MB / 331.8 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.00272, allocations: 1.472 MB / 333.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.002752, allocations: 4 kB / 333.3 MB, free: 2.016 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.001248/0.004001, allocations: 322.7 kB / 333.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.00405, allocations: 31.89 kB / 333.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.888e-05/0.004098, allocations: 19.86 kB / 333.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.633e-05/0.004175, allocations: 23.98 kB / 333.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.004211, allocations: 7.984 kB / 333.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.00425, allocations: 15.92 kB / 333.7 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.004289, allocations: 15.98 kB / 333.8 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.004305, allocations: 4 kB / 333.8 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.004686, allocations: 319.4 kB / 334.1 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.004742, allocations: 23.97 kB / 334.1 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.004765, allocations: 4 kB / 334.1 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.005132, allocations: 323.1 kB / 334.4 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005135, allocations: 0 / 334.4 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005136, allocations: 0 / 334.4 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.00514, allocations: 0 / 334.4 MB, free: 0.9336 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.0003682/0.005508, allocations: 443.8 kB / 334.8 MB, free: 476 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.005546, allocations: 8.031 kB / 334.9 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.005617, allocations: 124.1 kB / 335 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.005767, allocations: 247.8 kB / 335.2 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.00583, allocations: 242.8 kB / 335.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.00588, allocations: 246.7 kB / 335.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.65e-05/0.005946, allocations: 145.5 kB / 335.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.005973, allocations: 119.4 kB / 336 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.006202, allocations: 250.5 kB / 336.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.006252, allocations: 238.4 kB / 336.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.006329, allocations: 238.4 kB / 336.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.006551, allocations: 0.5837 MB / 337.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.006678, allocations: 265.4 kB / 337.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.006708, allocations: 126.9 kB / 337.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.006734, allocations: 123.2 kB / 337.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.006851, allocations: 76.97 kB / 337.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.865e-06/0.006854, allocations: 0 / 337.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.006999, allocations: 41.64 kB / 337.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.007032, allocations: 55.34 kB / 337.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.007112, allocations: 165.9 kB / 338.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.00712, allocations: 25.7 kB / 338.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.007158, allocations: 130.9 kB / 338.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.007175, allocations: 12.06 kB / 338.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.007197, allocations: 19.31 kB / 338.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.00731, allocations: 0.4884 MB / 338.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.007318, allocations: 0 / 338.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.007322, allocations: 0 / 338.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.007346, allocations: 11.69 kB / 338.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007348, allocations: 0 / 338.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.525e-05/0.007394, allocations: 33.69 kB / 338.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.007411, allocations: 10.5 kB / 338.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007416, allocations: 4.094 kB / 338.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.00743, allocations: 3.938 kB / 338.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.007456, allocations: 0 / 338.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007461, allocations: 3.938 kB / 338.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.007476, allocations: 0 / 338.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.007484, allocations: 4 kB / 338.8 MB, free: 12.3 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): 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 6.787e-05/0.007552, allocations: 156.6 kB / 339 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.007562, allocations: 7.984 kB / 339 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.007596, allocations: 7.469 kB / 339 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007599, allocations: 3.938 kB / 339 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.007602, allocations: 0 / 339 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.007605, allocations: 4 kB / 339 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.692e-05/0.007692, allocations: 116.6 kB / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007693, allocations: 0 / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-06/0.007696, allocations: 0 / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.007698, allocations: 0 / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.007703, allocations: 0 / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007705, allocations: 0 / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.007707, allocations: 7.938 kB / 339.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.007854, allocations: 84.31 kB / 339.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.007859, allocations: 256 / 339.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.007872, allocations: 8.031 kB / 339.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.007882, allocations: 7.984 kB / 339.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.007896, allocations: 7.875 kB / 339.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.007899, allocations: 0 / 339.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.8e-05/0.007947, allocations: 131.2 kB / 339.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007947, allocations: 0 / 339.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.008241, allocations: 103.6 kB / 339.5 MB, free: 11.6 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: 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.0006712/0.008912, allocations: 414.9 kB / 339.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.272e-05/0.008985, allocations: 11.67 kB / 339.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.008987, allocations: 4 kB / 339.9 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.008993, allocations: 15.69 kB / 339.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.00911, allocations: 14.75 kB / 339.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.00935, allocations: 130.7 kB / 340 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.009383, allocations: 59.34 kB / 340.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.009412, allocations: 7.984 kB / 340.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.009432, allocations: 16.5 kB / 340.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009433, allocations: 0 / 340.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of Templates: time 0.004747/0.01418, allocations: 2.853 MB / 343 MB, free: 8.09 MB / 314.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.7480825600214303]