Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.001561/0.001561, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001532/0.001532, allocations: 191.9 kB / 22.23 MB, free: 5.102 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.454/1.454, 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/ExternData 3.1.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo): time 0.0174/0.0174, allocations: 3.222 MB / 309.5 MB, free: 5.387 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package ExternData with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.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(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest")
translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.89 kB / 431.5 MB, free: 19.63 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.1007, allocations: 53.18 MB / 484.6 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.003232/0.1039, allocations: 1.696 MB / 486.3 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002636/0.1065, allocations: 1.699 MB / 488 MB, free: 10.94 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1066, allocations: 7.938 kB / 488 MB, free: 10.93 MB / 350.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo:238:3-267:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'.
Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1069, allocations: 35.73 kB / 488.1 MB, free: 10.89 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1073, allocations: 131.4 kB / 488.2 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1075, allocations: 82.67 kB / 488.3 MB, free: 10.69 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1077, allocations: 87.75 kB / 488.4 MB, free: 10.6 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.1077, allocations: 12.22 kB / 488.4 MB, free: 10.59 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.1078, allocations: 39.8 kB / 488.4 MB, free: 10.55 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.108, allocations: 43.83 kB / 488.5 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1081, allocations: 8 kB / 488.5 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.1084, allocations: 203.8 kB / 488.7 MB, free: 10.3 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.1084, allocations: 19.92 kB / 488.7 MB, free: 10.28 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.1085, allocations: 43.72 kB / 488.7 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.1089, allocations: 219.4 kB / 488.9 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1089, allocations: 4 kB / 488.9 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.122e-06/0.1089, allocations: 0 / 488.9 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.638e-06/0.1089, allocations: 0 / 488.9 MB, free: 10.02 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0006731/0.1096, allocations: 391.1 kB / 489.3 MB, free: 9.598 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1096, allocations: 8.031 kB / 489.3 MB, free: 9.59 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.1097, allocations: 8.891 kB / 489.3 MB, free: 9.582 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.11, allocations: 146.3 kB / 489.5 MB, free: 9.414 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.11, allocations: 4.375 kB / 489.5 MB, free: 9.41 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.11, allocations: 8.125 kB / 489.5 MB, free: 9.402 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.1102, allocations: 95.31 kB / 489.6 MB, free: 9.297 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1102, allocations: 0 / 489.6 MB, free: 9.297 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1103, allocations: 8 kB / 489.6 MB, free: 9.289 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1103, allocations: 0 / 489.6 MB, free: 9.289 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.1104, allocations: 59.89 kB / 489.7 MB, free: 9.23 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1109, allocations: 284.6 kB / 489.9 MB, free: 8.906 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1111, allocations: 97.2 kB / 490 MB, free: 8.793 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1112, allocations: 49.75 kB / 490.1 MB, free: 8.738 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1113, allocations: 0 / 490.1 MB, free: 8.738 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.1115, allocations: 134.8 kB / 490.2 MB, free: 8.582 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1115, allocations: 4 kB / 490.2 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0005254/0.112, allocations: 227.2 kB / 490.4 MB, free: 8.344 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.1121, allocations: 106.8 kB / 490.5 MB, free: 8.215 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1123, allocations: 145.2 kB / 490.7 MB, free: 8.066 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1123, allocations: 25.7 kB / 490.7 MB, free: 8.035 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.1124, allocations: 100.1 kB / 490.8 MB, free: 7.934 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.1124, allocations: 27.89 kB / 490.8 MB, free: 7.906 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.1125, allocations: 33.7 kB / 490.9 MB, free: 7.867 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000197/0.1127, allocations: 326.7 kB / 491.2 MB, free: 7.539 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.1127, allocations: 35.97 kB / 491.2 MB, free: 7.504 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.1128, allocations: 49.7 kB / 491.3 MB, free: 7.449 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1131, allocations: 149 kB / 491.4 MB, free: 7.285 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1131, allocations: 0 / 491.4 MB, free: 7.285 MB / 350.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003124/0.1134, allocations: 191.2 kB / 491.6 MB, free: 7.086 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.1134, allocations: 37.69 kB / 491.6 MB, free: 7.043 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1134, allocations: 3.938 kB / 491.6 MB, free: 7.039 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1134, allocations: 4 kB / 491.6 MB, free: 7.035 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.1135, allocations: 8 kB / 491.7 MB, free: 7.027 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1135, allocations: 0 / 491.7 MB, free: 7.027 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1136, allocations: 11.92 kB / 491.7 MB, free: 7.016 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1136, allocations: 11.94 kB / 491.7 MB, free: 7.004 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 6
 * 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 0.0001546/0.1137, allocations: 155.5 kB / 491.8 MB, free: 6.836 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1138, allocations: 11.95 kB / 491.8 MB, free: 6.824 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.1138, allocations: 12.38 kB / 491.9 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1138, allocations: 0 / 491.9 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1138, allocations: 0 / 491.9 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1138, allocations: 0 / 491.9 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.114, allocations: 180.5 kB / 492 MB, free: 6.59 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.114, allocations: 0 / 492 MB, free: 6.59 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.114, allocations: 11.98 kB / 492 MB, free: 6.578 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.114, allocations: 0 / 492 MB, free: 6.578 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1141, allocations: 7.938 kB / 492.1 MB, free: 6.57 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1141, allocations: 4 kB / 492.1 MB, free: 6.566 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1141, allocations: 4 kB / 492.1 MB, free: 6.562 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1144, allocations: 243.5 kB / 492.3 MB, free: 6.297 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.1145, allocations: 15.88 kB / 492.3 MB, free: 6.281 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1145, allocations: 4 kB / 492.3 MB, free: 6.277 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.1146, allocations: 4.328 kB / 492.3 MB, free: 6.273 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1146, allocations: 15.92 kB / 492.3 MB, free: 6.258 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1146, allocations: 12 kB / 492.3 MB, free: 6.246 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.476e-05/0.1147, allocations: 111.2 kB / 492.5 MB, free: 6.137 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1147, allocations: 0 / 492.5 MB, free: 6.137 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003114/0.115, allocations: 79.73 kB / 492.5 MB, free: 6.059 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled)
 * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 5
 * 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.001241/0.1163, allocations: 431.4 kB / 493 MB, free: 5.738 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003221/0.1166, allocations: 159.3 kB / 493.1 MB, free: 5.57 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1166, allocations: 3.938 kB / 493.1 MB, free: 5.566 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1167, allocations: 107.3 kB / 493.2 MB, free: 5.449 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.117, allocations: 19.86 kB / 493.2 MB, free: 5.434 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.1175, allocations: 235.3 kB / 493.5 MB, free: 5.176 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1179, allocations: 0.7002 MB / 494.2 MB, free: 4.449 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.547e-05/0.118, allocations: 11.92 kB / 494.2 MB, free: 4.438 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.118, allocations: 15.44 kB / 494.2 MB, free: 4.422 MB / 350.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.118, allocations: 0 / 494.2 MB, free: 4.422 MB / 350.1 MB
Notification: Performance of Templates: time 0.006561/0.1246, allocations: 2.596 MB / 496.8 MB, free: 1.836 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile [Timeout 660]
(rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.728209989145398]
Failed to read output from testmodel.py, exit status != 0:
0.13178354874253273 0.14659196499999994 0.034777947000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd419c317b0>