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.001069/0.001069, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009099/0.0009099, allocations: 161 kB / 23.82 MB, free: 0.7461 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.013/1.013, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.004123/0.004123, allocations: 0.7985 MB / 261.5 MB, free: 12.24 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.543e-06/1.543e-06, allocations: 0 / 331.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.422e-05, allocations: 10.19 kB / 331.4 MB, free: 18.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001137/0.001161, allocations: 0.5084 MB / 331.9 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.002385, allocations: 1.465 MB / 333.3 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.002415, 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.001118/0.003532, allocations: 325.8 kB / 333.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.003569, allocations: 27.97 kB / 333.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.947e-05/0.003608, allocations: 23.86 kB / 333.7 MB, free: 16.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.179e-05/0.00366, allocations: 15.92 kB / 333.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.003689, allocations: 0 / 333.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.003726, allocations: 15.98 kB / 333.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.003769, allocations: 7.984 kB / 333.7 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.003778, allocations: 4 kB / 333.7 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.00408, allocations: 319.4 kB / 334 MB, free: 16.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.00413, allocations: 15.98 kB / 334.1 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.004156, allocations: 7.938 kB / 334.1 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.004456, allocations: 311.1 kB / 334.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004459, allocations: 0 / 334.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00446, allocations: 8 kB / 334.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004465, allocations: 0 / 334.4 MB, free: 15.88 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.0002765/0.004741, allocations: 453.5 kB / 334.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004776, allocations: 12.03 kB / 334.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.004821, allocations: 120.1 kB / 335 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.004924, allocations: 239.8 kB / 335.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.004949, allocations: 238.8 kB / 335.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.004971, allocations: 238.8 kB / 335.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.306e-05/0.005014, allocations: 153.4 kB / 335.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.005027, allocations: 119.4 kB / 335.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.005059, allocations: 250.5 kB / 336.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.005084, allocations: 238.4 kB / 336.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.005106, allocations: 242.4 kB / 336.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.005253, allocations: 0.5758 MB / 337.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.005303, allocations: 269.4 kB / 337.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.00532, allocations: 130.9 kB / 337.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.005332, allocations: 119.2 kB / 337.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.005439, allocations: 108.4 kB / 337.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.005442, allocations: 0 / 337.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001975/0.005639, allocations: 118.8 kB / 337.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.005669, allocations: 140.5 kB / 338.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.00572, allocations: 165.9 kB / 338.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-06/0.005725, allocations: 25.7 kB / 338.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.005742, allocations: 130.9 kB / 338.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.005756, allocations: 0 / 338.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.005775, allocations: 19.38 kB / 338.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.005813, allocations: 492.1 kB / 338.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.005826, allocations: 25.7 kB / 338.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.005833, allocations: 33.7 kB / 339 MB, free: 11.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.005859, allocations: 71.14 kB / 339 MB, free: 10.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.005861, allocations: 0 / 339 MB, free: 10.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.358e-05/0.005905, allocations: 89.05 kB / 339.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.005925, allocations: 29.7 kB / 339.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.00593, allocations: 0 / 339.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.005946, allocations: 7.922 kB / 339.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.00595, allocations: 0 / 339.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005955, allocations: 4 kB / 339.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.005969, allocations: 0 / 339.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.005974, allocations: 0 / 339.1 MB, free: 10.8 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 4.258e-05/0.006017, allocations: 190.3 kB / 339.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.006025, allocations: 7.938 kB / 339.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.259e-05/0.006037, allocations: 7.156 kB / 339.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.00604, allocations: 3.938 kB / 339.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.006043, allocations: 0 / 339.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006046, allocations: 0 / 339.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.995e-05/0.006086, allocations: 112.6 kB / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006086, allocations: 0 / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.006087, allocations: 0 / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.006087, allocations: 0 / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.006093, allocations: 11.94 kB / 339.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.006094, allocations: 4.25 kB / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006095, allocations: 3.938 kB / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.179e-05/0.006147, allocations: 127.8 kB / 339.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.006152, allocations: 4 kB / 339.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.006166, allocations: 7.984 kB / 339.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.006175, allocations: 4 kB / 339.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.006187, allocations: 7.938 kB / 339.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006189, allocations: 0 / 339.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.717e-05/0.006206, allocations: 123.2 kB / 339.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006206, allocations: 0 / 339.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.00644, allocations: 103.6 kB / 339.9 MB, free: 10 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.0005807/0.007021, allocations: 422.3 kB / 340.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.007104, allocations: 118.5 kB / 340.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007105, allocations: 0 / 340.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.00712, allocations: 96.72 kB / 340.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.007234, allocations: 4 kB / 340.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.00744, allocations: 158.3 kB / 340.6 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.134e-05/0.007462, allocations: 55.22 kB / 340.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.133e-05/0.007473, allocations: 7.984 kB / 340.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.007487, allocations: 12.5 kB / 340.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007488, allocations: 4.125 kB / 340.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of Templates: time 0.003375/0.01086, allocations: 2.34 MB / 343 MB, free: 6.766 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.962348068598658]