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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 187.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.02 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.006934/0.006934, allocations: 1.027 MB / 307.3 MB, free: 7.594 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002249/0.002249, allocations: 71.89 kB / 427.7 MB, free: 22.91 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1228, allocations: 52.4 MB / 480.1 MB, free: 2.414 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.002194/0.125, allocations: 0.4967 MB / 480.6 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002803/0.1278, allocations: 1.456 MB / 482.1 MB, free: 472 kB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.1279, allocations: 0 / 482.1 MB, free: 472 kB / 334.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.001973/0.1298, allocations: 330.3 kB / 482.4 MB, free: 144 kB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.1299, allocations: 23.97 kB / 482.4 MB, free: 120 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 6.099e-05/0.13, allocations: 11.94 kB / 482.4 MB, free: 108 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001068/0.1301, allocations: 31.95 kB / 482.5 MB, free: 76 kB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1301, allocations: 0 / 482.5 MB, free: 76 kB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1302, allocations: 11.98 kB / 482.5 MB, free: 64 kB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.1302, allocations: 23.92 kB / 482.5 MB, free: 40 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1302, allocations: 7.938 kB / 482.5 MB, free: 32 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.131, allocations: 367.5 kB / 482.9 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.1311, allocations: 19.98 kB / 482.9 MB, free: 15.65 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1311, allocations: 15.86 kB / 482.9 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.1317, allocations: 279.3 kB / 483.2 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1317, allocations: 0 / 483.2 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.713e-06/0.1317, allocations: 0 / 483.2 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.782e-06/0.1317, allocations: 0 / 483.2 MB, free: 15.36 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.0005625/0.1322, allocations: 341.5 kB / 483.5 MB, free: 15 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1323, allocations: 12.86 kB / 483.5 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.1324, allocations: 88.16 kB / 483.6 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1326, allocations: 201.8 kB / 483.8 MB, free: 14.68 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.1327, allocations: 150.9 kB / 484 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.1328, allocations: 154.9 kB / 484.1 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1329, allocations: 109.1 kB / 484.2 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.133, allocations: 75.28 kB / 484.3 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.133, allocations: 154.6 kB / 484.4 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.05e-05/0.1331, allocations: 150.6 kB / 484.6 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.839e-05/0.1332, allocations: 162.5 kB / 484.7 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.1336, allocations: 421 kB / 485.2 MB, free: 13.28 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1337, allocations: 169.1 kB / 485.3 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1337, allocations: 80.14 kB / 485.4 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1337, allocations: 75.28 kB / 485.5 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.1339, allocations: 75.25 kB / 485.5 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=1): time 2.786e-06/0.1339, allocations: 4 kB / 485.5 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001635/0.1341, allocations: 37.62 kB / 485.6 MB, free: 12.81 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1341, allocations: 51.41 kB / 485.6 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1342, allocations: 113.8 kB / 485.7 MB, free: 12.63 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1343, allocations: 25.7 kB / 485.8 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1343, allocations: 84.14 kB / 485.9 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1343, allocations: 4.125 kB / 485.9 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.1344, allocations: 13.72 kB / 485.9 MB, free: 12.49 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001549/0.1345, allocations: 314.8 kB / 486.2 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.1345, allocations: 0 / 486.2 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.1345, allocations: 3.984 kB / 486.2 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.1346, allocations: 8.859 kB / 486.2 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1346, allocations: 0 / 486.2 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.232e-05/0.1347, allocations: 49.59 kB / 486.2 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1347, allocations: 4 kB / 486.2 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1347, allocations: 0 / 486.2 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1347, allocations: 0 / 486.2 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.75e-05/0.1347, allocations: 0 / 486.2 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1347, allocations: 3.938 kB / 486.2 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.1347, allocations: 3.938 kB / 486.2 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1348, allocations: 4 kB / 486.3 MB, free: 12.09 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): 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 0.000108/0.1349, allocations: 117.8 kB / 486.4 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1349, allocations: 11.92 kB / 486.4 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.1349, allocations: 7.5 kB / 486.4 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1349, allocations: 4 kB / 486.4 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1349, allocations: 3.984 kB / 486.4 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1349, allocations: 0 / 486.4 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1351, allocations: 128.7 kB / 486.5 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1351, allocations: 3.938 kB / 486.5 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-06/0.1351, allocations: 0 / 486.5 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1351, allocations: 0 / 486.5 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1351, allocations: 256 / 486.5 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1351, allocations: 0 / 486.5 MB, free: 11.76 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1351, allocations: 12 kB / 486.5 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/0.1352, allocations: 65.06 kB / 486.6 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.1352, allocations: 3.938 kB / 486.6 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1352, allocations: 3.984 kB / 486.6 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.1352, allocations: 4 kB / 486.6 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.1352, allocations: 0 / 486.6 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.1352, allocations: 0 / 486.6 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 7.081e-05/0.1353, allocations: 99.3 kB / 486.7 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1353, allocations: 0 / 486.7 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003916/0.1357, allocations: 103.6 kB / 486.8 MB, free: 11.45 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: 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.0009745/0.1367, allocations: 383 kB / 487.2 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 8.562e-05/0.1368, allocations: 11.92 kB / 487.2 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1368, allocations: 0 / 487.2 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.175e-06/0.1368, allocations: 4 kB / 487.2 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1369, allocations: 19.98 kB / 487.2 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.1372, allocations: 128.9 kB / 487.3 MB, free: 10.95 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1376, allocations: 0.6844 MB / 488 MB, free: 10.24 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.105e-05/0.1376, allocations: 11.98 kB / 488 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.1377, allocations: 11.44 kB / 488.1 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.1377, allocations: 0 / 488.1 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of Templates: time 0.006811/0.1445, allocations: 2.445 MB / 490.5 MB, free: 7.777 MB / 350.1 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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.6907448302954435]
Failed to read output from testmodel.py, exit status != 0:
0.15371705498546362 0.170124524 0.034951954
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe6160517b0>