Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.001282/0.001282, allocations: 108.8 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.001409/0.001409, allocations: 189.4 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.443/1.443, 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.007187/0.007187, allocations: 1.016 MB / 307.3 MB, free: 7.609 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.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter")
translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.89 kB / 427.7 MB, free: 22.91 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.112, allocations: 52.4 MB / 480.1 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002313/0.1143, allocations: 1.218 MB / 481.3 MB, free: 1.203 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003199/0.1175, allocations: 2.131 MB / 483.5 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1176, allocations: 0 / 483.5 MB, free: 15.06 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1176, allocations: 4 kB / 483.5 MB, free: 15.06 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/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'.
Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1187, allocations: 450.6 kB / 483.9 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.1187, allocations: 0 / 483.9 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.1188, allocations: 7.938 kB / 483.9 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.104e-05/0.1188, allocations: 0 / 483.9 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.1188, allocations: 7.984 kB / 483.9 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.119, allocations: 15.92 kB / 483.9 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.119, allocations: 0 / 483.9 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.1197, allocations: 499.5 kB / 484.4 MB, free: 14.1 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.45e-06/0.1197, allocations: 4 kB / 484.4 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.1198, allocations: 3.938 kB / 484.4 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.1203, allocations: 359.1 kB / 484.8 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1203, allocations: 0 / 484.8 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.262e-06/0.1203, allocations: 0 / 484.8 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.041e-06/0.1203, allocations: 0 / 484.8 MB, free: 13.74 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.0004582/0.1207, allocations: 337.5 kB / 485.1 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1208, allocations: 8.922 kB / 485.1 MB, free: 13.37 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.1208, allocations: 84.17 kB / 485.2 MB, free: 13.29 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.121, allocations: 197.8 kB / 485.4 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.1211, allocations: 150.9 kB / 485.6 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.1212, allocations: 154.7 kB / 485.7 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.1212, allocations: 104.9 kB / 485.8 MB, free: 12.66 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.1213, allocations: 75.28 kB / 485.9 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.1213, allocations: 154.6 kB / 486 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/0.1214, allocations: 154.6 kB / 486.2 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.1215, allocations: 150.6 kB / 486.3 MB, free: 12.13 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.1218, allocations: 421 kB / 486.7 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.1218, allocations: 169.1 kB / 486.9 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.1219, allocations: 92.08 kB / 487 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1219, allocations: 75.28 kB / 487.1 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.122, allocations: 105.8 kB / 487.2 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.122, allocations: 0 / 487.2 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0): time 7.487e-05/0.122, allocations: 33.58 kB / 487.2 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1221, allocations: 126.7 kB / 487.3 MB, free: 11.05 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1222, allocations: 109.8 kB / 487.4 MB, free: 10.93 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1222, allocations: 25.7 kB / 487.5 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.1223, allocations: 84.08 kB / 487.5 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.1223, allocations: 0 / 487.5 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.1223, allocations: 17.72 kB / 487.6 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001644/0.1225, allocations: 310.8 kB / 487.9 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.1225, allocations: 0 / 487.9 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-06/0.1225, allocations: 0 / 487.9 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.1225, allocations: 79.28 kB / 487.9 MB, free: 10.4 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.02e-05/0.1226, allocations: 75.28 kB / 488 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.745e-05/0.1226, allocations: 37.62 kB / 488.1 MB, free: 10.28 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.1227, allocations: 79.28 kB / 488.1 MB, free: 10.2 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.749e-05/0.1227, allocations: 87.2 kB / 488.2 MB, free: 10.12 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.124e-05/0.1228, allocations: 150.6 kB / 488.4 MB, free: 9.969 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.6e-05/0.1228, allocations: 79.28 kB / 488.4 MB, free: 9.891 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.099e-05/0.1229, allocations: 158.5 kB / 488.6 MB, free: 9.734 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.123, allocations: 75.28 kB / 488.7 MB, free: 9.66 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.123, allocations: 83.22 kB / 488.7 MB, free: 9.578 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.0001289/0.1231, allocations: 260.4 kB / 489 MB, free: 9.312 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.1232, allocations: 112.9 kB / 489.1 MB, free: 9.195 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1232, allocations: 116.1 kB / 489.2 MB, free: 9.074 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.579e-05/0.1233, allocations: 180.2 kB / 489.4 MB, free: 8.891 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.404e-05/0.1234, allocations: 180.2 kB / 489.6 MB, free: 8.707 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/0.1235, allocations: 184.2 kB / 489.8 MB, free: 8.52 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1237, allocations: 376.2 kB / 490.1 MB, free: 8.102 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.1238, allocations: 108.9 kB / 490.2 MB, free: 7.988 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.1238, allocations: 109 kB / 490.3 MB, free: 7.875 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-05/0.1239, allocations: 176.3 kB / 490.5 MB, free: 7.695 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/0.124, allocations: 180.2 kB / 490.7 MB, free: 7.512 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.766e-05/0.1241, allocations: 176.3 kB / 490.9 MB, free: 7.332 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-05/0.1241, allocations: 188.2 kB / 491 MB, free: 7.141 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.1243, allocations: 307.8 kB / 491.3 MB, free: 6.816 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1243, allocations: 104.9 kB / 491.4 MB, free: 6.707 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.1244, allocations: 184.9 kB / 491.6 MB, free: 6.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.1245, allocations: 116.9 kB / 491.7 MB, free: 6.398 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.1246, allocations: 180.2 kB / 491.9 MB, free: 6.215 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.1247, allocations: 109 kB / 492 MB, free: 6.102 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.642e-05/0.1247, allocations: 83.28 kB / 492.1 MB, free: 6.02 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1247, allocations: 0 / 492.1 MB, free: 6.02 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004695/0.1252, allocations: 135.5 kB / 492.2 MB, free: 5.887 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.001188/0.1264, allocations: 0.5513 MB / 492.8 MB, free: 5.391 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 3.987e-05/0.1264, allocations: 0 / 492.8 MB, free: 5.391 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1264, allocations: 0 / 492.8 MB, free: 5.391 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1264, allocations: 0 / 492.8 MB, free: 5.391 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1268, allocations: 467.6 kB / 493.2 MB, free: 4.93 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.127, allocations: 153 kB / 493.4 MB, free: 4.754 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1273, allocations: 0.6766 MB / 494.1 MB, free: 4.051 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 1.011e-05/0.1273, allocations: 3.938 kB / 494.1 MB, free: 4.047 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.1274, allocations: 11.44 kB / 494.1 MB, free: 4.035 MB / 350.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.1274, allocations: 0 / 494.1 MB, free: 4.035 MB / 350.1 MB
Notification: Performance of Templates: time 0.006471/0.1338, allocations: 2.866 MB / 496.9 MB, free: 1.168 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile [Timeout 660]
(rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter  -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.79804490506649]
Failed to read output from testmodel.py, exit status != 0:
0.14117409382015467 0.15564101400000002 0.032148556
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbbd1d357b0>