Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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.00158/0.00158, 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.001423/0.001423, allocations: 181.5 kB / 22.22 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.532/1.532, 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.01691/0.01691, allocations: 3.205 MB / 309.5 MB, free: 5.371 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.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest")
translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.89 kB / 431.4 MB, free: 19.61 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 53.18 MB / 484.6 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.00356/0.1118, allocations: 1.685 MB / 486.3 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003055/0.1149, allocations: 1.827 MB / 488.1 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.1149, allocations: 0 / 488.1 MB, free: 10.81 MB / 350.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'.
Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.1157, allocations: 171.3 kB / 488.3 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1159, allocations: 67.73 kB / 488.4 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1161, allocations: 75.8 kB / 488.4 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1163, allocations: 91.69 kB / 488.5 MB, free: 10.41 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.1164, allocations: 4 kB / 488.5 MB, free: 10.41 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.879e-05/0.1165, allocations: 39.84 kB / 488.6 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1167, allocations: 42.97 kB / 488.6 MB, free: 10.33 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1167, allocations: 7.938 kB / 488.6 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.1172, allocations: 267.7 kB / 488.9 MB, free: 10.06 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.1172, allocations: 23.91 kB / 488.9 MB, free: 10.04 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.1173, allocations: 27.86 kB / 488.9 MB, free: 10.01 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.1177, allocations: 255.2 kB / 489.2 MB, free: 9.762 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1177, allocations: 3.984 kB / 489.2 MB, free: 9.758 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.1177, allocations: 0 / 489.2 MB, free: 9.758 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.27e-06/0.1177, allocations: 0 / 489.2 MB, free: 9.758 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.000678/0.1184, allocations: 387.1 kB / 489.6 MB, free: 9.344 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1185, allocations: 8.031 kB / 489.6 MB, free: 9.336 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1185, allocations: 12.89 kB / 489.6 MB, free: 9.324 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1188, allocations: 134.4 kB / 489.7 MB, free: 9.168 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1188, allocations: 4.375 kB / 489.7 MB, free: 9.164 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1188, allocations: 8.125 kB / 489.7 MB, free: 9.156 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.119, allocations: 91.31 kB / 489.8 MB, free: 9.055 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1191, allocations: 0 / 489.8 MB, free: 9.055 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1191, allocations: 4 kB / 489.8 MB, free: 9.051 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1191, allocations: 3.984 kB / 489.8 MB, free: 9.047 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1192, allocations: 47.97 kB / 489.9 MB, free: 9 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1197, allocations: 264.8 kB / 490.1 MB, free: 8.695 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1198, allocations: 69.19 kB / 490.2 MB, free: 8.609 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.12, allocations: 49.75 kB / 490.3 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.12, allocations: 0 / 490.3 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1202, allocations: 146.6 kB / 490.4 MB, free: 8.387 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1202, allocations: 4 kB / 490.4 MB, free: 8.383 MB / 350.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0005559/0.1208, allocations: 219.2 kB / 490.6 MB, free: 8.156 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.1209, allocations: 110.8 kB / 490.7 MB, free: 8.023 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.121, allocations: 133.8 kB / 490.9 MB, free: 7.883 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.121, allocations: 25.7 kB / 490.9 MB, free: 7.852 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.1211, allocations: 96.12 kB / 491 MB, free: 7.754 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1211, allocations: 19.8 kB / 491 MB, free: 7.734 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.1212, allocations: 29.7 kB / 491 MB, free: 7.699 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001854/0.1214, allocations: 322.9 kB / 491.3 MB, free: 7.375 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.1215, allocations: 39.98 kB / 491.4 MB, free: 7.336 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.1216, allocations: 53.58 kB / 491.4 MB, free: 7.277 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1218, allocations: 141 kB / 491.6 MB, free: 7.121 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1218, allocations: 0 / 491.6 MB, free: 7.121 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003268/0.1221, allocations: 183.2 kB / 491.7 MB, free: 6.93 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.1222, allocations: 41.73 kB / 491.8 MB, free: 6.883 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1222, allocations: 4 kB / 491.8 MB, free: 6.879 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1222, allocations: 0 / 491.8 MB, free: 6.879 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.1223, allocations: 11.98 kB / 491.8 MB, free: 6.867 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1223, allocations: 0 / 491.8 MB, free: 6.867 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.1224, allocations: 7.953 kB / 491.8 MB, free: 6.859 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1224, allocations: 7.938 kB / 491.8 MB, free: 6.852 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 (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 prepare postOptimizeDAE: time 0.0001554/0.1225, allocations: 167.5 kB / 492 MB, free: 6.672 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1226, allocations: 15.95 kB / 492 MB, free: 6.656 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.1226, allocations: 12.36 kB / 492 MB, free: 6.641 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1226, allocations: 4 kB / 492 MB, free: 6.637 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1226, allocations: 0 / 492 MB, free: 6.637 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1226, allocations: 3.938 kB / 492 MB, free: 6.633 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1228, allocations: 168.6 kB / 492.2 MB, free: 6.426 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1228, allocations: 0 / 492.2 MB, free: 6.426 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.1228, allocations: 8 kB / 492.2 MB, free: 6.418 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1228, allocations: 0 / 492.2 MB, free: 6.418 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1229, allocations: 4 kB / 492.2 MB, free: 6.414 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1229, allocations: 0 / 492.2 MB, free: 6.414 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1229, allocations: 4 kB / 492.2 MB, free: 6.41 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.1233, allocations: 243.5 kB / 492.4 MB, free: 6.145 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.1233, allocations: 15.88 kB / 492.4 MB, free: 6.129 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1233, allocations: 8 kB / 492.5 MB, free: 6.121 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.1234, allocations: 4 kB / 492.5 MB, free: 6.117 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1234, allocations: 7.984 kB / 492.5 MB, free: 6.109 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1234, allocations: 8.062 kB / 492.5 MB, free: 6.102 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.356e-05/0.1235, allocations: 103.3 kB / 492.6 MB, free: 6 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1235, allocations: 0 / 492.6 MB, free: 6 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003553/0.1239, allocations: 87.73 kB / 492.7 MB, free: 5.914 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 (5):
 * Single equations (assignments): 4
 * 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.001533/0.1254, allocations: 469.4 kB / 493.1 MB, free: 5.562 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000344/0.1257, allocations: 159.3 kB / 493.3 MB, free: 5.395 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1257, allocations: 0 / 493.3 MB, free: 5.395 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.1259, allocations: 107.3 kB / 493.4 MB, free: 5.277 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1261, allocations: 15.98 kB / 493.4 MB, free: 5.262 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.1266, allocations: 223.5 kB / 493.6 MB, free: 5.016 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.127, allocations: 0.7 MB / 494.3 MB, free: 4.289 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 3.503e-05/0.127, allocations: 4 kB / 494.3 MB, free: 4.285 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.1271, allocations: 27.41 kB / 494.3 MB, free: 4.258 MB / 350.1 MB
Notification: Performance of SimCode: time 3.5e-07/0.1271, allocations: 0 / 494.3 MB, free: 4.258 MB / 350.1 MB
Notification: Performance of Templates: time 0.007551/0.1346, allocations: 2.9 MB / 497.2 MB, free: 1.371 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ExternData_ExternData.Examples.SSVTest.makefile [Timeout 660]
(rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & ./ExternData_ExternData.Examples.SSVTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.943733032792807]
Failed to read output from testmodel.py, exit status != 0:
0.14240570552647114 0.16524508400000001 0.042895840000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f207cbdd7b0>