Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.001591/0.001591, 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.00197/0.00197, allocations: 192.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.562/1.562, allocations: 225.6 MB / 251 MB, free: 13 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.01511/0.01511, allocations: 3.22 MB / 309.5 MB, free: 5.379 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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter")
translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 431.5 MB, free: 19.62 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 53.18 MB / 484.6 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.003581/0.1137, allocations: 1.7 MB / 486.3 MB, free: 12.63 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002929/0.1167, allocations: 1.71 MB / 488 MB, free: 10.91 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.1167, allocations: 0 / 488 MB, free: 10.91 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.0003835/0.1171, allocations: 39.77 kB / 488.1 MB, free: 10.87 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.1175, allocations: 127.5 kB / 488.2 MB, free: 10.75 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1177, allocations: 91.72 kB / 488.3 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1179, allocations: 99.75 kB / 488.4 MB, free: 10.56 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.118, allocations: 8.234 kB / 488.4 MB, free: 10.55 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.1181, allocations: 39.86 kB / 488.4 MB, free: 10.51 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1182, allocations: 45.95 kB / 488.5 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1183, allocations: 8 kB / 488.5 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1186, allocations: 215.7 kB / 488.7 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.1186, allocations: 23.91 kB / 488.7 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.1187, allocations: 39.81 kB / 488.8 MB, free: 10.18 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1191, allocations: 247.3 kB / 489 MB, free: 9.941 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1191, allocations: 3.938 kB / 489 MB, free: 9.938 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.062e-06/0.1191, allocations: 0 / 489 MB, free: 9.938 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.402e-06/0.1191, allocations: 0 / 489 MB, free: 9.938 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.0006728/0.1198, allocations: 395.1 kB / 489.4 MB, free: 9.516 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1198, allocations: 8.031 kB / 489.4 MB, free: 9.508 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.1199, allocations: 12.89 kB / 489.4 MB, free: 9.496 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1202, allocations: 146.4 kB / 489.6 MB, free: 9.328 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1202, allocations: 384 / 489.6 MB, free: 9.328 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1202, allocations: 8.125 kB / 489.6 MB, free: 9.32 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.1205, allocations: 107.2 kB / 489.7 MB, free: 9.203 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1205, allocations: 3.938 kB / 489.7 MB, free: 9.199 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1205, allocations: 3.938 kB / 489.7 MB, free: 9.195 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1205, allocations: 4 kB / 489.7 MB, free: 9.191 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1207, allocations: 55.97 kB / 489.7 MB, free: 9.137 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.1211, allocations: 296.7 kB / 490 MB, free: 8.801 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1214, allocations: 97.22 kB / 490.1 MB, free: 8.688 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1215, allocations: 57.75 kB / 490.2 MB, free: 8.625 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1215, allocations: 3.984 kB / 490.2 MB, free: 8.621 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1218, allocations: 142.7 kB / 490.3 MB, free: 8.457 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1218, allocations: 0 / 490.3 MB, free: 8.457 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0005412/0.1223, allocations: 255.3 kB / 490.6 MB, free: 8.195 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/0.1224, allocations: 114.8 kB / 490.7 MB, free: 8.059 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1226, allocations: 137.8 kB / 490.8 MB, free: 7.914 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1226, allocations: 25.7 kB / 490.8 MB, free: 7.883 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.1226, allocations: 96.09 kB / 490.9 MB, free: 7.785 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.1227, allocations: 31.73 kB / 491 MB, free: 7.754 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1227, allocations: 21.72 kB / 491 MB, free: 7.727 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001555/0.1229, allocations: 326.8 kB / 491.3 MB, free: 7.398 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.123, allocations: 43.98 kB / 491.4 MB, free: 7.355 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1231, allocations: 57.69 kB / 491.4 MB, free: 7.293 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1234, allocations: 165.2 kB / 491.6 MB, free: 7.113 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1234, allocations: 0 / 491.6 MB, free: 7.113 MB / 350.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003634/0.1237, allocations: 203.2 kB / 491.8 MB, free: 6.902 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.1238, allocations: 37.7 kB / 491.8 MB, free: 6.859 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1238, allocations: 0 / 491.8 MB, free: 6.859 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1238, allocations: 7.938 kB / 491.8 MB, free: 6.852 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.1238, allocations: 19.92 kB / 491.8 MB, free: 6.832 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1239, allocations: 0 / 491.8 MB, free: 6.832 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1239, allocations: 4 kB / 491.8 MB, free: 6.828 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1239, allocations: 7.938 kB / 491.8 MB, free: 6.82 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 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.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.000159/0.1241, allocations: 170.9 kB / 492 MB, free: 6.641 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1241, allocations: 7.953 kB / 492 MB, free: 6.633 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.1242, allocations: 16.36 kB / 492 MB, free: 6.613 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1242, allocations: 0 / 492 MB, free: 6.613 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1242, allocations: 4 kB / 492 MB, free: 6.609 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1242, allocations: 0 / 492 MB, free: 6.609 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1244, allocations: 196.5 kB / 492.2 MB, free: 6.375 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1244, allocations: 0 / 492.2 MB, free: 6.375 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.1244, allocations: 8 kB / 492.2 MB, free: 6.367 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1244, allocations: 3.984 kB / 492.2 MB, free: 6.363 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1245, allocations: 8 kB / 492.3 MB, free: 6.355 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1245, allocations: 0 / 492.3 MB, free: 6.355 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1245, allocations: 0 / 492.3 MB, free: 6.355 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1249, allocations: 263.5 kB / 492.5 MB, free: 6.07 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.1249, allocations: 15.89 kB / 492.5 MB, free: 6.055 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1249, allocations: 3.984 kB / 492.5 MB, free: 6.051 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.125, allocations: 8 kB / 492.5 MB, free: 6.043 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.125, allocations: 7.984 kB / 492.5 MB, free: 6.035 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.125, allocations: 7.938 kB / 492.6 MB, free: 6.027 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 9.191e-05/0.1251, allocations: 114.5 kB / 492.7 MB, free: 5.918 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.1251, allocations: 0 / 492.7 MB, free: 5.918 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003206/0.1255, allocations: 79.73 kB / 492.7 MB, free: 5.84 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled)
 * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.001225/0.1267, allocations: 430.6 kB / 493.2 MB, free: 5.523 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003384/0.127, allocations: 183.3 kB / 493.3 MB, free: 5.332 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.127, allocations: 0 / 493.3 MB, free: 5.332 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.1272, allocations: 115.3 kB / 493.5 MB, free: 5.207 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1274, allocations: 15.98 kB / 493.5 MB, free: 5.191 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.1279, allocations: 243.3 kB / 493.7 MB, free: 4.926 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1282, allocations: 0.708 MB / 494.4 MB, free: 4.191 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.039e-05/0.1283, allocations: 7.938 kB / 494.4 MB, free: 4.184 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1283, allocations: 15.42 kB / 494.4 MB, free: 4.168 MB / 350.1 MB
Notification: Performance of SimCode: time 3.81e-07/0.1283, allocations: 0 / 494.4 MB, free: 4.168 MB / 350.1 MB
Notification: Performance of Templates: time 0.006472/0.1348, allocations: 2.718 MB / 497.2 MB, free: 1.457 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile [Timeout 660]
(rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.783934777602553]
Failed to read output from testmodel.py, exit status != 0:
0.1419884543865919 0.157464284 0.035261715
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcc014457b0>