Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.001245/0.001245, 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.001349/0.001349, allocations: 186.2 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.501/1.501, allocations: 225.6 MB / 251 MB, free: 13.01 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.007082/0.007082, allocations: 1.025 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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m")
translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 63.88 kB / 427.7 MB, free: 22.92 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1292, allocations: 52.41 MB / 480.1 MB, free: 2.422 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.003098/0.1323, allocations: 1.233 MB / 481.4 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004599/0.1369, allocations: 2.178 MB / 483.5 MB, free: 15 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.137, allocations: 4 kB / 483.5 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.137, allocations: 0 / 483.5 MB, free: 14.99 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'.
Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1389, allocations: 497.8 kB / 484 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 5.14e-06/0.1389, allocations: 0 / 484 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 7.159e-05/0.139, allocations: 19.91 kB / 484 MB, free: 14.49 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.139, allocations: 4 kB / 484 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.139, allocations: 7.938 kB / 484.1 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.1424, allocations: 4 kB / 484.1 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1424, allocations: 0 / 484.1 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1437, allocations: 0.5267 MB / 484.6 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.1437, allocations: 4 kB / 484.6 MB, free: 13.94 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.1438, allocations: 11.88 kB / 484.6 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009165/0.1447, allocations: 379.1 kB / 485 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1447, allocations: 0 / 485 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.1447, allocations: 0 / 485 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.541e-06/0.1447, allocations: 0 / 485 MB, free: 13.56 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.0005863/0.1453, allocations: 353.3 kB / 485.3 MB, free: 13.18 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1453, allocations: 12.92 kB / 485.3 MB, free: 13.17 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.974e-05/0.1454, allocations: 76.22 kB / 485.4 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1456, allocations: 189.8 kB / 485.6 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.1457, allocations: 150.9 kB / 485.7 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.1458, allocations: 162.6 kB / 485.9 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.1459, allocations: 105 kB / 486 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.1459, allocations: 75.28 kB / 486.1 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/0.146, allocations: 158.5 kB / 486.2 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.563e-05/0.1461, allocations: 150.6 kB / 486.4 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.1461, allocations: 150.6 kB / 486.5 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.1465, allocations: 417 kB / 486.9 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1466, allocations: 177.1 kB / 487.1 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.1467, allocations: 84.08 kB / 487.2 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.1467, allocations: 75.28 kB / 487.3 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.626e-05/0.1468, allocations: 113.8 kB / 487.4 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1468, allocations: 0 / 487.4 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0): time 9.738e-05/0.1469, allocations: 33.59 kB / 487.4 MB, free: 10.99 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.147, allocations: 126.7 kB / 487.5 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1471, allocations: 110 kB / 487.6 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1471, allocations: 25.7 kB / 487.7 MB, free: 10.7 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.1472, allocations: 80.14 kB / 487.7 MB, free: 10.62 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.1472, allocations: 4 kB / 487.7 MB, free: 10.62 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.1472, allocations: 13.72 kB / 487.7 MB, free: 10.6 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001631/0.1474, allocations: 310.8 kB / 488.1 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-06/0.1474, allocations: 0 / 488.1 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.1474, allocations: 4.062 kB / 488.1 MB, free: 10.28 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.1474, allocations: 79.28 kB / 488.1 MB, free: 10.2 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.916e-05/0.1475, allocations: 79.28 kB / 488.2 MB, free: 10.12 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 6.847e-05/0.1476, allocations: 29.64 kB / 488.2 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.1476, allocations: 91.2 kB / 488.3 MB, free: 10 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/0.1476, allocations: 75.28 kB / 488.4 MB, free: 9.926 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.531e-05/0.1477, allocations: 154.5 kB / 488.6 MB, free: 9.773 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.122e-05/0.1478, allocations: 83.22 kB / 488.6 MB, free: 9.691 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.997e-05/0.1478, allocations: 158.6 kB / 488.8 MB, free: 9.535 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.589e-05/0.1479, allocations: 83.22 kB / 488.9 MB, free: 9.453 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.148, allocations: 75.28 kB / 488.9 MB, free: 9.379 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.0001431/0.1481, allocations: 256.4 kB / 489.2 MB, free: 9.117 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1482, allocations: 112.9 kB / 489.3 MB, free: 9 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.1483, allocations: 116.1 kB / 489.4 MB, free: 8.879 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-05/0.1484, allocations: 176.3 kB / 489.6 MB, free: 8.699 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001201/0.1485, allocations: 184.2 kB / 489.8 MB, free: 8.512 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/0.1486, allocations: 176.3 kB / 489.9 MB, free: 8.332 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1489, allocations: 380.2 kB / 490.3 MB, free: 7.91 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/0.1489, allocations: 108.9 kB / 490.4 MB, free: 7.797 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.149, allocations: 105 kB / 490.5 MB, free: 7.688 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-05/0.149, allocations: 180.2 kB / 490.7 MB, free: 7.504 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.1491, allocations: 184.2 kB / 490.9 MB, free: 7.316 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/0.1492, allocations: 176.3 kB / 491 MB, free: 7.137 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001042/0.1494, allocations: 184.2 kB / 491.2 MB, free: 6.949 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1496, allocations: 316.1 kB / 491.5 MB, free: 6.617 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1496, allocations: 105 kB / 491.6 MB, free: 6.508 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.1497, allocations: 180.3 kB / 491.8 MB, free: 6.324 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1498, allocations: 108.9 kB / 491.9 MB, free: 6.211 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.15, allocations: 184.3 kB / 492.1 MB, free: 6.023 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.15, allocations: 108.9 kB / 492.2 MB, free: 5.91 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 7.233e-05/0.1501, allocations: 87.28 kB / 492.3 MB, free: 5.824 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1501, allocations: 0 / 492.3 MB, free: 5.824 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0007586/0.1509, allocations: 147.5 kB / 492.4 MB, free: 5.68 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.001929/0.1528, allocations: 0.5729 MB / 493 MB, free: 5.172 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 6.074e-05/0.1528, allocations: 0 / 493 MB, free: 5.172 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1529, allocations: 0 / 493 MB, free: 5.172 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.1529, allocations: 0 / 493 MB, free: 5.172 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.1534, allocations: 463.6 kB / 493.5 MB, free: 4.715 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.1538, allocations: 169.6 kB / 493.6 MB, free: 4.523 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1542, allocations: 0.6766 MB / 494.3 MB, free: 3.82 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.453e-05/0.1542, allocations: 0 / 494.3 MB, free: 3.82 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1543, allocations: 19.42 kB / 494.3 MB, free: 3.801 MB / 350.1 MB
Notification: Performance of SimCode: time 5.51e-07/0.1543, allocations: 0 / 494.3 MB, free: 3.801 MB / 350.1 MB
Notification: Performance of Templates: time 0.008251/0.1625, allocations: 3.055 MB / 497.4 MB, free: 0.7422 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile [Timeout 660]
(rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m  -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.825575882568955]
Failed to read output from testmodel.py, exit status != 0:
0.17159860953688622 0.188269661 0.040325730000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc89eba97b0>