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.001639/0.001639, allocations: 83.97 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002045/0.002045, allocations: 160.5 kB / 23.01 MB, free: 4.953 MB / 14.72 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006874/0.006874, allocations: 0.7957 MB / 260.6 MB, free: 15.87 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.91 kB / 383.3 MB, free: 5.008 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 53.54 MB / 436.8 MB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001614/0.1047, allocations: 0.5006 MB / 437.3 MB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1071, allocations: 1.424 MB / 438.7 MB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.1072, allocations: 0 / 438.7 MB, free: 13.43 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.0/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.0/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.001456/0.1086, allocations: 317.6 kB / 439 MB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.1087, allocations: 27.92 kB / 439.1 MB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.396e-05/0.1087, allocations: 11.98 kB / 439.1 MB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.1088, allocations: 15.92 kB / 439.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.1089, allocations: 4 kB / 439.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.1089, allocations: 15.92 kB / 439.1 MB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.109, allocations: 11.98 kB / 439.1 MB, free: 13.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.109, allocations: 0 / 439.1 MB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.1096, allocations: 315.6 kB / 439.4 MB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1096, allocations: 15.92 kB / 439.5 MB, free: 12.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1097, allocations: 11.94 kB / 439.5 MB, free: 12.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.1102, allocations: 263.4 kB / 439.7 MB, free: 12.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1102, allocations: 3.938 kB / 439.7 MB, free: 12.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1102, allocations: 0 / 439.7 MB, free: 12.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1102, allocations: 4 kB / 439.7 MB, free: 12.44 MB / 414.1 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.0005313/0.1107, allocations: 351.3 kB / 440.1 MB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.1108, allocations: 8.031 kB / 440.1 MB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.1109, allocations: 84.16 kB / 440.2 MB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1111, allocations: 197.8 kB / 440.4 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.1112, allocations: 150.9 kB / 440.5 MB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.1112, allocations: 154.9 kB / 440.7 MB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/0.1113, allocations: 109.1 kB / 440.8 MB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.1114, allocations: 83.22 kB / 440.8 MB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.1115, allocations: 150.6 kB / 441 MB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.086e-05/0.1115, allocations: 154.6 kB / 441.1 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.1116, allocations: 158.5 kB / 441.3 MB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1119, allocations: 401.6 kB / 441.7 MB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.112, allocations: 165.1 kB / 441.9 MB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1121, allocations: 88.14 kB / 441.9 MB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.1121, allocations: 75.28 kB / 442 MB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.1123, allocations: 110.7 kB / 442.1 MB, free: 9.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 2.915e-06/0.1123, allocations: 0 / 442.1 MB, free: 9.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002164/0.1125, allocations: 110.8 kB / 442.2 MB, free: 9.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1126, allocations: 136.5 kB / 442.4 MB, free: 9.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1127, allocations: 109.8 kB / 442.5 MB, free: 9.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1128, allocations: 25.7 kB / 442.5 MB, free: 9.461 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.1128, allocations: 84.14 kB / 442.6 MB, free: 9.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1128, allocations: 3.953 kB / 442.6 MB, free: 9.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1129, allocations: 13.77 kB / 442.6 MB, free: 9.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.113, allocations: 314.8 kB / 442.9 MB, free: 9.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.113, allocations: 33.83 kB / 442.9 MB, free: 8.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.1131, allocations: 33.64 kB / 443 MB, free: 8.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.1131, allocations: 64.25 kB / 443 MB, free: 8.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1131, allocations: 0 / 443 MB, free: 8.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.299e-05/0.1132, allocations: 85.11 kB / 443.1 MB, free: 8.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.1133, allocations: 37.64 kB / 443.2 MB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1133, allocations: 0 / 443.2 MB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1133, allocations: 3.984 kB / 443.2 MB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1133, allocations: 0 / 443.2 MB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1133, allocations: 4.094 kB / 443.2 MB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.1133, allocations: 4 kB / 443.2 MB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1133, allocations: 0 / 443.2 MB, free: 8.723 MB / 414.1 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 9.832e-05/0.1134, allocations: 139.5 kB / 443.3 MB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.1134, allocations: 3.938 kB / 443.3 MB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.1134, allocations: 7.094 kB / 443.3 MB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1134, allocations: 0 / 443.3 MB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1135, allocations: 11.92 kB / 443.3 MB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1135, allocations: 3.938 kB / 443.3 MB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.1135, allocations: 101.3 kB / 443.4 MB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1136, allocations: 0 / 443.4 MB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1136, allocations: 4 kB / 443.4 MB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1136, allocations: 0 / 443.4 MB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1136, allocations: 3.938 kB / 443.4 MB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1136, allocations: 3.984 kB / 443.4 MB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1136, allocations: 256 / 443.4 MB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.1137, allocations: 116.5 kB / 443.6 MB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.1137, allocations: 3.984 kB / 443.6 MB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1137, allocations: 7.938 kB / 443.6 MB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.1137, allocations: 4 kB / 443.6 MB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.1137, allocations: 0 / 443.6 MB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1137, allocations: 4.031 kB / 443.6 MB, free: 8.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.1138, allocations: 87.28 kB / 443.7 MB, free: 8.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1138, allocations: 0 / 443.7 MB, free: 8.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000381/0.1142, allocations: 103.6 kB / 443.8 MB, free: 8.051 MB / 414.1 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.0008756/0.1151, allocations: 388.5 kB / 444.1 MB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.1152, allocations: 106.8 kB / 444.2 MB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1152, allocations: 4 kB / 444.2 MB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.1153, allocations: 81.09 kB / 444.3 MB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1154, allocations: 8 kB / 444.3 MB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.1157, allocations: 158.3 kB / 444.5 MB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.1158, allocations: 67.47 kB / 444.6 MB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.1158, allocations: 4 kB / 444.6 MB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1158, allocations: 12.5 kB / 444.6 MB, free: 7.211 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1158, allocations: 0 / 444.6 MB, free: 7.211 MB / 414.1 MB Notification: Performance of Templates: time 0.005946/0.1218, allocations: 2.298 MB / 446.9 MB, free: 4.906 MB / 414.1 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=480 -s ida -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4783231359906495] Failed to read output from testmodel.py, exit status != 0: 0.1303717289119959 0.14486370399999995 0.03156889899999994 Calling exit ...