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.001024/0.001024, 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.001719/0.001719, 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.9945/0.9945, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.004258/0.004258, allocations: 0.8094 MB / 261.6 MB, free: 12.22 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.343e-06/1.343e-06, allocations: 0 / 331.4 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.475e-05, allocations: 6.25 kB / 331.4 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001006/0.001021, allocations: 0.5031 MB / 331.9 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.002384, allocations: 1.465 MB / 333.3 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.002416, allocations: 0 / 333.3 MB, free: 16.93 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.001149/0.003565, allocations: 330.7 kB / 333.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.003606, allocations: 31.92 kB / 333.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.308e-05/0.003649, allocations: 19.91 kB / 333.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.003714, allocations: 31.91 kB / 333.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.898e-05/0.003743, allocations: 0 / 333.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.003774, allocations: 11.98 kB / 333.7 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.00381, allocations: 23.97 kB / 333.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.003822, allocations: 0 / 333.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.004164, allocations: 319.4 kB / 334.1 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.004215, allocations: 19.92 kB / 334.1 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.004238, allocations: 7.984 kB / 334.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.004569, allocations: 327.1 kB / 334.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.004573, allocations: 0 / 334.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.004574, allocations: 0 / 334.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004579, allocations: 0 / 334.4 MB, free: 15.84 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.00025/0.004829, allocations: 443.8 kB / 334.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004863, allocations: 8.031 kB / 334.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.004908, allocations: 128.1 kB / 335 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.005006, allocations: 247.7 kB / 335.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.005028, allocations: 242.8 kB / 335.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.005046, allocations: 242.8 kB / 335.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.956e-05/0.005086, allocations: 145.5 kB / 335.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.005099, allocations: 123.4 kB / 336 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.00513, allocations: 242.5 kB / 336.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.005153, allocations: 246.4 kB / 336.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.005175, allocations: 242.3 kB / 336.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.005319, allocations: 0.572 MB / 337.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.005365, allocations: 269.4 kB / 337.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.005381, allocations: 130.9 kB / 337.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.005392, allocations: 119.2 kB / 337.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.49e-05/0.005487, allocations: 76.97 kB / 337.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.005489, allocations: 0 / 337.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.005615, allocations: 41.58 kB / 337.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.005638, allocations: 55.41 kB / 337.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.005691, allocations: 165.9 kB / 338.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-06/0.005696, allocations: 25.7 kB / 338.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.005713, allocations: 126.9 kB / 338.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.005726, allocations: 0 / 338.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.005744, allocations: 23.38 kB / 338.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.005781, allocations: 496.1 kB / 338.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-06/0.005787, allocations: 4.125 kB / 338.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-06/0.00579, allocations: 4 kB / 338.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.7e-05/0.005807, allocations: 7.688 kB / 338.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005808, allocations: 0 / 338.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.524e-05/0.005844, allocations: 45.59 kB / 338.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005855, allocations: 4 kB / 338.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005859, allocations: 0 / 338.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.005871, allocations: 3.938 kB / 338.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.139e-05/0.005893, allocations: 7.984 kB / 338.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.005897, allocations: 4.094 kB / 338.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.005911, allocations: 0 / 338.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005916, allocations: 0 / 338.8 MB, free: 11.21 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): 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.413e-05/0.00596, allocations: 160.5 kB / 339 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.005969, allocations: 4 kB / 339 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.005999, allocations: 7.453 kB / 339 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.006002, allocations: 3.938 kB / 339 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006006, allocations: 0 / 339 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.006008, allocations: 3.984 kB / 339 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.688e-05/0.006065, allocations: 116.6 kB / 339.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006066, allocations: 8 kB / 339.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-06/0.006068, allocations: 0 / 339.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.006069, allocations: 0 / 339.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.006073, allocations: 256 / 339.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006074, allocations: 4 kB / 339.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.006075, allocations: 7.875 kB / 339.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.234e-05/0.006118, allocations: 72.44 kB / 339.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.006124, allocations: 7.953 kB / 339.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.006135, allocations: 0 / 339.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/0.006144, allocations: 4 kB / 339.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.006157, allocations: 3.938 kB / 339.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.006159, allocations: 8.016 kB / 339.2 MB, free: 10.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.006187, allocations: 131.2 kB / 339.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.006187, allocations: 0 / 339.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000245/0.006432, allocations: 103.6 kB / 339.5 MB, free: 10.51 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: 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.0005422/0.006974, allocations: 409.7 kB / 339.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.455e-05/0.007028, allocations: 19.62 kB / 339.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.00703, allocations: 0 / 339.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/0.007036, allocations: 11.69 kB / 339.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.007137, allocations: 15.91 kB / 339.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.007316, allocations: 132.7 kB / 340 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.184e-05/0.007338, allocations: 67.14 kB / 340.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.00736, allocations: 11.98 kB / 340.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.007377, allocations: 12.5 kB / 340.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007378, allocations: 0 / 340.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of Templates: time 0.003436/0.01081, allocations: 2.472 MB / 342.6 MB, free: 7.375 MB / 266.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.855007963255048]