Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.001242/0.001242, allocations: 112 kB / 20.43 MB, free: 1.457 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.001329/0.001329, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.354/1.354, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1752/0.1752, allocations: 38.52 MB / 346.3 MB, free: 2.062 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.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(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables")
translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3239, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002889/0.3268, allocations: 1.485 MB / 0.5345 GB, free: 4.57 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000634/0.3274, allocations: 382.6 kB / 0.5348 GB, free: 4.32 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.3275, allocations: 1.156 kB / 0.5348 GB, free: 4.32 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.3277, allocations: 33.19 kB / 0.5348 GB, free: 4.297 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000179/0.3279, allocations: 30.47 kB / 0.5349 GB, free: 4.281 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.3281, allocations: 86.36 kB / 0.535 GB, free: 4.234 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3282, allocations: 56.23 kB / 0.535 GB, free: 4.211 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3283, allocations: 2.109 kB / 0.535 GB, free: 4.211 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3284, allocations: 32.03 kB / 0.535 GB, free: 4.195 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.3285, allocations: 34.95 kB / 0.5351 GB, free: 4.176 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3285, allocations: 2.344 kB / 0.5351 GB, free: 4.176 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3286, allocations: 49.62 kB / 0.5351 GB, free: 4.16 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3287, allocations: 18.34 kB / 0.5351 GB, free: 4.152 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.3287, allocations: 17.23 kB / 0.5352 GB, free: 4.141 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3289, allocations: 105.5 kB / 0.5353 GB, free: 4.094 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3289, allocations: 0 / 0.5353 GB, free: 4.094 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.3289, allocations: 0 / 0.5353 GB, free: 4.094 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.281e-06/0.3289, allocations: 2.062 kB / 0.5353 GB, free: 4.094 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0003755/0.3293, allocations: 299 kB / 0.5356 GB, free: 3.801 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3293, allocations: 13.53 kB / 0.5356 GB, free: 3.797 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3294, allocations: 8.672 kB / 0.5356 GB, free: 3.793 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.3295, allocations: 134.1 kB / 0.5357 GB, free: 3.652 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3295, allocations: 5.781 kB / 0.5357 GB, free: 3.648 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3296, allocations: 2 kB / 0.5357 GB, free: 3.648 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3297, allocations: 65.2 kB / 0.5358 GB, free: 3.59 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3297, allocations: 0 / 0.5358 GB, free: 3.59 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3297, allocations: 1.281 kB / 0.5358 GB, free: 3.59 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3297, allocations: 0 / 0.5358 GB, free: 3.59 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.3298, allocations: 26.97 kB / 0.5358 GB, free: 3.578 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.33, allocations: 249.3 kB / 0.536 GB, free: 3.328 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.3301, allocations: 35.44 kB / 0.5361 GB, free: 3.301 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.3301, allocations: 17.53 kB / 0.5361 GB, free: 3.285 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3302, allocations: 4.641 kB / 0.5361 GB, free: 3.281 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3302, allocations: 41.38 kB / 0.5361 GB, free: 3.234 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3302, allocations: 0 / 0.5361 GB, free: 3.234 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0001668/0.3304, allocations: 54.39 kB / 0.5362 GB, free: 3.195 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3304, allocations: 83.27 kB / 0.5363 GB, free: 3.098 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3305, allocations: 142 kB / 0.5364 GB, free: 2.984 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.3305, allocations: 25.7 kB / 0.5364 GB, free: 2.953 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.3306, allocations: 89.78 kB / 0.5365 GB, free: 2.867 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.3306, allocations: 19.08 kB / 0.5365 GB, free: 2.852 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3306, allocations: 17.98 kB / 0.5365 GB, free: 2.832 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 4.857e-05/0.3306, allocations: 323.2 kB / 0.5368 GB, free: 2.512 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.3307, allocations: 4.328 kB / 0.5369 GB, free: 2.512 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.3307, allocations: 21.12 kB / 0.5369 GB, free: 2.492 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.3307, allocations: 27.62 kB / 0.5369 GB, free: 2.473 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3307, allocations: 0 / 0.5369 GB, free: 2.473 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 6.559e-05/0.3308, allocations: 47.08 kB / 0.5369 GB, free: 2.438 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3308, allocations: 5.969 kB / 0.537 GB, free: 2.438 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3308, allocations: 4.031 kB / 0.537 GB, free: 2.434 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3308, allocations: 0.5625 kB / 0.537 GB, free: 2.434 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.3309, allocations: 6.484 kB / 0.537 GB, free: 2.434 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3309, allocations: 0 / 0.537 GB, free: 2.434 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.3309, allocations: 3.953 kB / 0.537 GB, free: 2.43 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3309, allocations: 2.875 kB / 0.537 GB, free: 2.43 MB / 382.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 (3):
 * Single equations (assignments): 3
 * 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 5.487e-05/0.331, allocations: 127 kB / 0.5371 GB, free: 2.301 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.331, allocations: 2.938 kB / 0.5371 GB, free: 2.301 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.3311, allocations: 55.84 kB / 0.5371 GB, free: 2.246 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3311, allocations: 5.188 kB / 0.5371 GB, free: 2.242 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3311, allocations: 0 / 0.5371 GB, free: 2.242 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3311, allocations: 1.281 kB / 0.5372 GB, free: 2.242 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.3312, allocations: 152.3 kB / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3312, allocations: 0 / 0.5373 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.3312, allocations: 8.375 kB / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3313, allocations: 2.031 kB / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.3313, allocations: 0 / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3313, allocations: 0 / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3313, allocations: 0 / 0.5373 GB, free: 2.059 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.093e-05/0.3313, allocations: 155.9 kB / 0.5375 GB, free: 1.906 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.3314, allocations: 6.297 kB / 0.5375 GB, free: 1.902 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3314, allocations: 1.125 kB / 0.5375 GB, free: 1.902 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.3314, allocations: 5.234 kB / 0.5375 GB, free: 1.898 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.3314, allocations: 5.609 kB / 0.5375 GB, free: 1.895 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3314, allocations: 3.984 kB / 0.5375 GB, free: 1.891 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 6.112e-05/0.3315, allocations: 112.1 kB / 0.5376 GB, free: 1.801 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3315, allocations: 0 / 0.5376 GB, free: 1.801 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0004551/0.3319, allocations: 24.3 kB / 0.5376 GB, free: 1.789 MB / 382.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 (3):
 * Single equations (assignments): 3
 * 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.001243/0.3332, allocations: 382.4 kB / 0.538 GB, free: 1.605 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001101/0.3333, allocations: 18.94 kB / 0.538 GB, free: 1.598 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3333, allocations: 0 / 0.538 GB, free: 1.598 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.3333, allocations: 13.48 kB / 0.538 GB, free: 1.59 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3337, allocations: 16.22 kB / 0.538 GB, free: 1.582 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.334, allocations: 141.8 kB / 0.5382 GB, free: 1.449 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3342, allocations: 0.6966 MB / 0.5388 GB, free: 0.7383 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 6.456e-05/0.3342, allocations: 12.42 kB / 0.5388 GB, free: 0.7344 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.3343, allocations: 11.56 kB / 0.5389 GB, free: 0.7266 MB / 382.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3343, allocations: 1.375 kB / 0.5389 GB, free: 0.7266 MB / 382.1 MB
Notification: Performance of Templates: time 0.004117/0.3384, allocations: 1.196 MB / 0.54 GB, free: 100 kB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Tables  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.653420379385352]
Failed to read output from testmodel.py, exit status != 0:
0.34684963896870613 0.36182893499999996 0.02984187999999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f28c31dd7b0>