Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.001203/0.001203, allocations: 109.5 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.001286/0.001286, allocations: 184.3 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.326/1.326, allocations: 225.6 MB / 252.5 MB, free: 13 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.2014/0.2014, allocations: 38.53 MB / 346.3 MB, free: 2.066 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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units")
translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3364, allocations: 61.3 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006105/0.3425, allocations: 6.259 MB / 0.5391 GB, free: 0.9688 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002819/0.3454, allocations: 1.976 MB / 0.5411 GB, free: 15.39 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.3456, allocations: 30.38 kB / 0.5411 GB, free: 15.37 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3474, allocations: 0.7148 MB / 0.5418 GB, free: 14.82 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007635/0.3482, allocations: 379.8 kB / 0.5422 GB, free: 14.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.3492, allocations: 409.5 kB / 0.5425 GB, free: 14.23 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009819/0.3501, allocations: 0.9411 MB / 0.5435 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.3507, allocations: 336.3 kB / 0.5438 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.3512, allocations: 448.3 kB / 0.5442 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.352, allocations: 0.5729 MB / 0.5448 GB, free: 12.91 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.352, allocations: 57.88 kB / 0.5448 GB, free: 12.91 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.3525, allocations: 246.7 kB / 0.5451 GB, free: 12.81 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.3529, allocations: 435.1 kB / 0.5455 GB, free: 12.54 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.3534, allocations: 428.1 kB / 0.5459 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3545, allocations: 1.019 MB / 0.5469 GB, free: 11.61 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3545, allocations: 4 kB / 0.5469 GB, free: 11.6 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.382e-06/0.3545, allocations: 0 / 0.5469 GB, free: 11.6 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.187e-05/0.3545, allocations: 0 / 0.5469 GB, free: 11.6 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 208
 * Number of variables: 208
Notification: Performance of Generate backend data structure: time 0.001821/0.3563, allocations: 1.01 MB / 0.5479 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3564, allocations: 13.09 kB / 0.5479 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/0.3571, allocations: 143.5 kB / 0.548 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009378/0.358, allocations: 483.9 kB / 0.5485 GB, free: 10.42 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/0.3581, allocations: 56.38 kB / 0.5485 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3582, allocations: 82.64 kB / 0.5486 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.3598, allocations: 1.134 MB / 0.5497 GB, free: 9.555 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3598, allocations: 7.281 kB / 0.5497 GB, free: 9.551 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.3599, allocations: 34.09 kB / 0.5498 GB, free: 9.527 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-05/0.36, allocations: 53.91 kB / 0.5498 GB, free: 9.516 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3613, allocations: 0.8604 MB / 0.5506 GB, free: 9.109 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.3665, allocations: 4.988 MB / 0.5555 GB, free: 4.727 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.3672, allocations: 388.9 kB / 0.5559 GB, free: 4.328 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.3675, allocations: 197.7 kB / 0.5561 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.3675, allocations: 7.984 kB / 0.5561 GB, free: 4.121 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3675, allocations: 42.56 kB / 0.5561 GB, free: 4.07 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.3675, allocations: 0 / 0.5561 GB, free: 4.07 MB / 398.1 MB
Notification: Performance of matching and sorting (n=44): time 0.001926/0.3695, allocations: 1.085 MB / 0.5572 GB, free: 2.977 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.3695, allocations: 89.17 kB / 0.5573 GB, free: 2.871 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.3701, allocations: 0.4978 MB / 0.5578 GB, free: 2.363 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3701, allocations: 29.7 kB / 0.5578 GB, free: 2.328 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.3704, allocations: 471.2 kB / 0.5582 GB, free: 1.863 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.3706, allocations: 162.7 kB / 0.5584 GB, free: 1.703 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.3708, allocations: 154.5 kB / 0.5585 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001747/0.371, allocations: 362.8 kB / 0.5589 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.3713, allocations: 237.8 kB / 0.5591 GB, free: 0.9492 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.372, allocations: 0.6285 MB / 0.5597 GB, free: 144 kB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3731, allocations: 0.9379 MB / 0.5606 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3731, allocations: 4 kB / 0.5606 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.001307/0.3745, allocations: 0.8926 MB / 0.5615 GB, free: 14.12 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3745, allocations: 12 kB / 0.5615 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.3745, allocations: 16.12 kB / 0.5615 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.3745, allocations: 20 kB / 0.5616 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.3752, allocations: 219.6 kB / 0.5618 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-05/0.3753, allocations: 27.86 kB / 0.5618 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.3758, allocations: 55.91 kB / 0.5619 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.3758, allocations: 43.94 kB / 0.5619 GB, free: 13.73 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 60
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (99):
 * Single equations (assignments): 99
 * 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.000437/0.3763, allocations: 301.4 kB / 0.5622 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.3764, allocations: 63.62 kB / 0.5622 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000947/0.3773, allocations: 0.5563 MB / 0.5628 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3773, allocations: 4 kB / 0.5628 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3773, allocations: 4 kB / 0.5628 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3773, allocations: 0 / 0.5628 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.3795, allocations: 1.312 MB / 0.5641 GB, free: 11.4 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3795, allocations: 0 / 0.5641 GB, free: 11.4 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.3799, allocations: 107.9 kB / 0.5642 GB, free: 11.3 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.3799, allocations: 16.17 kB / 0.5642 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.3799, allocations: 19.98 kB / 0.5642 GB, free: 11.26 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.3799, allocations: 11.92 kB / 0.5642 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3799, allocations: 4 kB / 0.5642 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.3807, allocations: 0.642 MB / 0.5649 GB, free: 10.56 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3808, allocations: 51.62 kB / 0.5649 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.3809, allocations: 19.92 kB / 0.5649 GB, free: 10.49 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3811, allocations: 19.98 kB / 0.5649 GB, free: 10.47 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.3812, allocations: 35.94 kB / 0.565 GB, free: 10.43 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3812, allocations: 16 kB / 0.565 GB, free: 10.42 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003364/0.3816, allocations: 326.8 kB / 0.5653 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3816, allocations: 4 kB / 0.5653 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006695/0.3822, allocations: 160 kB / 0.5655 GB, free: 9.941 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (51):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001418/0.3824, allocations: 107.1 kB / 0.5656 GB, free: 9.824 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.000884/0.3833, allocations: 0.5891 MB / 0.5661 GB, free: 9.238 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3833, allocations: 0 / 0.5661 GB, free: 9.238 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.3836, allocations: 223.4 kB / 0.5663 GB, free: 9.02 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3842, allocations: 110.5 kB / 0.5665 GB, free: 8.914 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3865, allocations: 1.385 MB / 0.5678 GB, free: 7.465 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.3871, allocations: 0.9957 MB / 0.5688 GB, free: 6.441 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0004836/0.3876, allocations: 229 kB / 0.569 GB, free: 6.215 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3878, allocations: 47.44 kB / 0.569 GB, free: 6.168 MB / 414.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.3878, allocations: 0 / 0.569 GB, free: 6.168 MB / 414.1 MB
Notification: Performance of Templates: time 0.01195/0.3997, allocations: 6.375 MB / 0.5753 GB, free: 15.82 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.750557064078748]
Failed to read output from testmodel.py, exit status != 0:
0.40752895176410675 0.42087441999999997 0.06352774900000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5cf3f397b0>