Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.001726/0.001726, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002102/0.002102, allocations: 190 kB / 22.23 MB, free: 5.137 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.03 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.006763/0.006763, allocations: 1.021 MB / 307.3 MB, free: 7.613 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.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV")
translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 427.7 MB, free: 22.93 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1319, allocations: 52.41 MB / 480.1 MB, free: 2.43 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002656/0.1346, allocations: 1.265 MB / 481.4 MB, free: 1.156 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002408/0.137, allocations: 1.321 MB / 482.7 MB, free: 15.83 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.137, allocations: 0 / 482.7 MB, free: 15.83 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'.
Notification: Performance of NFTyping.typeComponents: time 0.001433/0.1385, allocations: 263.1 kB / 483 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1386, allocations: 59.88 kB / 483 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.1386, allocations: 4 kB / 483 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.1386, allocations: 35.84 kB / 483.1 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1387, allocations: 11.92 kB / 483.1 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.1387, allocations: 15.98 kB / 483.1 MB, free: 15.45 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.139, allocations: 39.83 kB / 483.1 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.139, allocations: 0 / 483.1 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.1395, allocations: 295.5 kB / 483.4 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.1396, allocations: 31.91 kB / 483.5 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1396, allocations: 7.938 kB / 483.5 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.14, allocations: 235.3 kB / 483.7 MB, free: 14.85 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.14, allocations: 4 kB / 483.7 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.472e-06/0.14, allocations: 4 kB / 483.7 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.002e-06/0.14, allocations: 0 / 483.7 MB, free: 14.84 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.0005163/0.1405, allocations: 328.5 kB / 484 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1406, allocations: 8.922 kB / 484 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.1407, allocations: 76.22 kB / 484.1 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.141, allocations: 205.8 kB / 484.3 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.141, allocations: 154.9 kB / 484.5 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.1411, allocations: 154.9 kB / 484.6 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1413, allocations: 109.1 kB / 484.7 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.1413, allocations: 75.28 kB / 484.8 MB, free: 13.69 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.1415, allocations: 150.6 kB / 484.9 MB, free: 13.54 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.342e-05/0.1416, allocations: 154.5 kB / 485.1 MB, free: 13.39 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.1417, allocations: 158.4 kB / 485.2 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.1422, allocations: 433 kB / 485.7 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1423, allocations: 165.1 kB / 485.8 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1424, allocations: 80.14 kB / 485.9 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.1424, allocations: 75.28 kB / 486 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/0.1425, allocations: 121.7 kB / 486.1 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1425, allocations: 0 / 486.1 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0): time 0.0001062/0.1426, allocations: 29.66 kB / 486.1 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.1427, allocations: 126.7 kB / 486.3 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1429, allocations: 133.8 kB / 486.4 MB, free: 12 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1429, allocations: 25.7 kB / 486.4 MB, free: 11.97 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.143, allocations: 92.14 kB / 486.5 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.143, allocations: 4 kB / 486.5 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1431, allocations: 9.719 kB / 486.5 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002014/0.1433, allocations: 314.8 kB / 486.8 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-06/0.1433, allocations: 0 / 486.8 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-06/0.1433, allocations: 4 kB / 486.8 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.1434, allocations: 75.28 kB / 486.9 MB, free: 11.46 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.186e-05/0.1434, allocations: 79.22 kB / 487 MB, free: 11.38 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 7.255e-05/0.1435, allocations: 33.64 kB / 487 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.1435, allocations: 83.28 kB / 487.1 MB, free: 11.26 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/0.1436, allocations: 75.28 kB / 487.2 MB, free: 11.19 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-05/0.1437, allocations: 158.6 kB / 487.3 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.1437, allocations: 83.3 kB / 487.4 MB, free: 10.95 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-05/0.1438, allocations: 158.5 kB / 487.6 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.1439, allocations: 75.28 kB / 487.6 MB, free: 10.72 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.144, allocations: 79.28 kB / 487.7 MB, free: 10.64 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (0):
 * Single equations (assignments): 0
 * 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.0003232/0.1444, allocations: 264.4 kB / 488 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/0.1445, allocations: 120.8 kB / 488.1 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.1446, allocations: 108.4 kB / 488.2 MB, free: 10.13 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.716e-05/0.1447, allocations: 184.2 kB / 488.4 MB, free: 9.941 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.319e-05/0.1448, allocations: 184.3 kB / 488.5 MB, free: 9.754 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.02e-05/0.1449, allocations: 176.3 kB / 488.7 MB, free: 9.574 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.1452, allocations: 380.2 kB / 489.1 MB, free: 9.152 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/0.1452, allocations: 109 kB / 489.2 MB, free: 9.039 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1453, allocations: 112.9 kB / 489.3 MB, free: 8.922 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.352e-05/0.1454, allocations: 180.2 kB / 489.5 MB, free: 8.738 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.1455, allocations: 180.3 kB / 489.7 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.234e-05/0.1456, allocations: 180.2 kB / 489.8 MB, free: 8.371 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-05/0.1456, allocations: 184.2 kB / 490 MB, free: 8.184 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1458, allocations: 303.8 kB / 490.3 MB, free: 7.863 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.1459, allocations: 108.9 kB / 490.4 MB, free: 7.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.146, allocations: 196.1 kB / 490.6 MB, free: 7.551 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1461, allocations: 105 kB / 490.7 MB, free: 7.441 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.1462, allocations: 184.1 kB / 490.9 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.1463, allocations: 105 kB / 491 MB, free: 7.145 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.312e-05/0.1464, allocations: 103.7 kB / 491.1 MB, free: 7.043 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1464, allocations: 4 kB / 491.1 MB, free: 7.039 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004825/0.1468, allocations: 83.66 kB / 491.2 MB, free: 6.957 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * 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.0008613/0.1477, allocations: 396.7 kB / 491.6 MB, free: 6.621 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 4.455e-05/0.1477, allocations: 3.938 kB / 491.6 MB, free: 6.617 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1477, allocations: 0 / 491.6 MB, free: 6.617 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.1477, allocations: 7.984 kB / 491.6 MB, free: 6.609 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.1482, allocations: 459.6 kB / 492 MB, free: 6.156 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.1487, allocations: 250.8 kB / 492.3 MB, free: 5.887 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.1491, allocations: 0.6883 MB / 493 MB, free: 5.172 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.193e-05/0.1491, allocations: 4 kB / 493 MB, free: 5.168 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1492, allocations: 15.42 kB / 493 MB, free: 5.152 MB / 350.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.1492, allocations: 0 / 493 MB, free: 5.152 MB / 350.1 MB
Notification: Performance of Templates: time 0.005582/0.1548, allocations: 1.83 MB / 494.8 MB, free: 3.32 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile [Timeout 660]
(rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV  -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.779807674698532]
Failed to read output from testmodel.py, exit status != 0:
0.16366133093833923 0.179554607 0.036291265
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ffb8324d7b0>