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.001765/0.001765, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002313/0.002313, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.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.007309/0.007309, allocations: 1.022 MB / 313.4 MB, free: 1.844 MB / 238.1 MB " [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.002006/0.002006, allocations: 63.91 kB / 436.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 53.58 MB / 489.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001537/0.1041, allocations: 489 kB / 490.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1065, allocations: 1.426 MB / 491.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.1065, allocations: 0 / 491.6 MB, free: 8.309 MB / 350.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.001333/0.1078, allocations: 326 kB / 492 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.1079, allocations: 31.89 kB / 492 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.09e-05/0.1079, allocations: 8 kB / 492 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.108, allocations: 19.91 kB / 492 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.108, allocations: 0 / 492 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.1081, allocations: 12 kB / 492 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.1081, allocations: 19.91 kB / 492 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1081, allocations: 0 / 492 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.1086, allocations: 319.5 kB / 492.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.1087, allocations: 15.97 kB / 492.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1087, allocations: 8 kB / 492.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.1091, allocations: 267.2 kB / 492.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1091, allocations: 0 / 492.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1091, allocations: 0 / 492.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1091, allocations: 0 / 492.6 MB, free: 7.305 MB / 350.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.000437/0.1096, allocations: 355.2 kB / 493 MB, free: 6.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1096, allocations: 12.03 kB / 493 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1097, allocations: 76.22 kB / 493.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1099, allocations: 197.8 kB / 493.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.11, allocations: 150.9 kB / 493.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.11, allocations: 154.9 kB / 493.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.995e-05/0.1101, allocations: 105.1 kB / 493.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.1101, allocations: 79.28 kB / 493.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.1102, allocations: 154.5 kB / 493.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/0.1103, allocations: 150.6 kB / 494 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.1103, allocations: 154.5 kB / 494.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.1106, allocations: 405.6 kB / 494.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1107, allocations: 165.1 kB / 494.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.1108, allocations: 80.14 kB / 494.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.1108, allocations: 83.22 kB / 494.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.111, allocations: 110.7 kB / 495 MB, free: 4.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.111, allocations: 0 / 495 MB, free: 4.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001908/0.1111, allocations: 110.8 kB / 495.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.1112, allocations: 140.5 kB / 495.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1114, allocations: 101.8 kB / 495.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1114, allocations: 37.62 kB / 495.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.1115, allocations: 84.14 kB / 495.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.1115, allocations: 0 / 495.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.1115, allocations: 13.84 kB / 495.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1117, allocations: 318.8 kB / 495.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.1117, allocations: 25.7 kB / 495.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.1117, allocations: 25.7 kB / 495.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.1118, allocations: 64.25 kB / 495.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1118, allocations: 3.938 kB / 495.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.483e-05/0.1119, allocations: 93.06 kB / 496 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.1119, allocations: 40.77 kB / 496.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.1119, allocations: 0 / 496.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1119, allocations: 96 / 496.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.1119, allocations: 11.92 kB / 496.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1119, allocations: 0 / 496.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.1119, allocations: 256 / 496.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1119, allocations: 4 kB / 496.1 MB, free: 3.59 MB / 350.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.547e-05/0.112, allocations: 135.5 kB / 496.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1121, allocations: 7.938 kB / 496.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.1121, allocations: 11.11 kB / 496.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1121, allocations: 0 / 496.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1121, allocations: 0 / 496.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1121, allocations: 3.984 kB / 496.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.497e-05/0.1122, allocations: 109.3 kB / 496.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1122, allocations: 0 / 496.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1122, allocations: 0 / 496.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1122, allocations: 0 / 496.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1122, allocations: 3.938 kB / 496.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1122, allocations: 0 / 496.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1122, allocations: 0 / 496.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1123, allocations: 116.5 kB / 496.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.1123, allocations: 4 kB / 496.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1123, allocations: 11.86 kB / 496.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.1123, allocations: 4.031 kB / 496.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.1124, allocations: 4 kB / 496.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.1124, allocations: 3.938 kB / 496.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.412e-05/0.1124, allocations: 87.28 kB / 496.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1124, allocations: 0 / 496.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.1128, allocations: 103.6 kB / 496.7 MB, free: 2.918 MB / 350.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.0008269/0.1136, allocations: 382.2 kB / 497 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1137, allocations: 106.8 kB / 497.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1137, allocations: 0 / 497.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.1138, allocations: 89.03 kB / 497.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.1139, allocations: 8 kB / 497.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.1142, allocations: 162.7 kB / 497.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.1143, allocations: 71.19 kB / 497.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.239e-05/0.1143, allocations: 4 kB / 497.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.1143, allocations: 7.438 kB / 497.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1143, allocations: 0 / 497.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Templates: time 0.006006/0.1203, allocations: 2.293 MB / 499.8 MB, free: 15.78 MB / 366.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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.801195444539189] Failed to read output from testmodel.py, exit status != 0: 0.12756014429032803 0.143668701 0.03148257 Calling exit ...