Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001694/0.001694, allocations: 112.2 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.002108/0.002108, allocations: 180.9 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.474/1.474, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1829/0.1829, allocations: 38.54 MB / 346.3 MB, free: 2.07 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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest")
translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4063, allocations: 61.3 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.007847/0.4142, allocations: 3.553 MB / 0.5365 GB, free: 3.07 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002736/0.4169, allocations: 1.478 MB / 0.5379 GB, free: 1.926 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.4171, allocations: 9.438 kB / 0.5379 GB, free: 1.922 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001055/0.4181, allocations: 263.4 kB / 0.5382 GB, free: 1.723 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008179/0.4189, allocations: 282.2 kB / 0.5385 GB, free: 1.508 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.4193, allocations: 105.8 kB / 0.5386 GB, free: 1.43 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000546/0.4199, allocations: 345.6 kB / 0.5389 GB, free: 1.242 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.4202, allocations: 103.2 kB / 0.539 GB, free: 1.18 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.4206, allocations: 157.7 kB / 0.5391 GB, free: 1.09 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.4209, allocations: 157.8 kB / 0.5393 GB, free: 1 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.4209, allocations: 14.44 kB / 0.5393 GB, free: 1 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006658/0.4216, allocations: 321.2 kB / 0.5396 GB, free: 0.8242 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.4217, allocations: 102.7 kB / 0.5397 GB, free: 0.7617 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.4219, allocations: 109.1 kB / 0.5398 GB, free: 0.6914 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.4226, allocations: 340.3 kB / 0.5401 GB, free: 0.4961 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4226, allocations: 3.938 kB / 0.5401 GB, free: 0.4922 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.4226, allocations: 3.938 kB / 0.5401 GB, free: 500 kB / 382.1 MB
Notification: Performance of Transformations before backend: time 8.706e-06/0.4226, allocations: 1.062 kB / 0.5401 GB, free: 500 kB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 49
 * Number of variables: 49
Notification: Performance of Generate backend data structure: time 0.0008282/0.4234, allocations: 457.7 kB / 0.5406 GB, free: 84 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4234, allocations: 10.38 kB / 0.5406 GB, free: 84 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.4248, allocations: 90.53 kB / 0.5407 GB, free: 40 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.4253, allocations: 198.1 kB / 0.5409 GB, free: 15.86 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.4254, allocations: 20.7 kB / 0.5409 GB, free: 15.85 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.4254, allocations: 23.08 kB / 0.5409 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007597/0.4262, allocations: 316.1 kB / 0.5412 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4262, allocations: 1.219 kB / 0.5412 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.4263, allocations: 14.78 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.4263, allocations: 11.28 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.427, allocations: 300.9 kB / 0.5415 GB, free: 15.46 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.4294, allocations: 1.242 MB / 0.5427 GB, free: 14.37 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.4299, allocations: 161.9 kB / 0.5429 GB, free: 14.26 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.43, allocations: 47.77 kB / 0.5429 GB, free: 14.23 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.4301, allocations: 9.312 kB / 0.5429 GB, free: 14.22 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.4302, allocations: 36.75 kB / 0.543 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.4302, allocations: 0 / 0.543 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14): time 0.000915/0.4311, allocations: 291.6 kB / 0.5433 GB, free: 14.01 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.4312, allocations: 82.02 kB / 0.5433 GB, free: 13.91 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.4315, allocations: 199 kB / 0.5435 GB, free: 13.76 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.4315, allocations: 31.02 kB / 0.5436 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.4317, allocations: 164.2 kB / 0.5437 GB, free: 13.57 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.4318, allocations: 61.91 kB / 0.5438 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.4319, allocations: 41.69 kB / 0.5438 GB, free: 13.48 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001989/0.4321, allocations: 331.1 kB / 0.5441 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.4322, allocations: 46.16 kB / 0.5442 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.4324, allocations: 140.6 kB / 0.5443 GB, free: 12.99 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.4328, allocations: 216.8 kB / 0.5445 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4328, allocations: 1.094 kB / 0.5445 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005276/0.4333, allocations: 230.2 kB / 0.5447 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4334, allocations: 7.062 kB / 0.5447 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4334, allocations: 7.5 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.4334, allocations: 4.188 kB / 0.5448 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.4337, allocations: 46.66 kB / 0.5448 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.4337, allocations: 4.969 kB / 0.5448 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4339, allocations: 8.094 kB / 0.5448 GB, free: 12.65 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.4339, allocations: 13.28 kB / 0.5448 GB, free: 12.64 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (25):
 * Single equations (assignments): 25
 * 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.0002292/0.4341, allocations: 156 kB / 0.545 GB, free: 12.5 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.4342, allocations: 26.52 kB / 0.545 GB, free: 12.48 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.4346, allocations: 157.4 kB / 0.5451 GB, free: 12.38 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4346, allocations: 5.844 kB / 0.5452 GB, free: 12.38 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4346, allocations: 1.469 kB / 0.5452 GB, free: 12.38 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.4346, allocations: 4.031 kB / 0.5452 GB, free: 12.37 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.4359, allocations: 0.6329 MB / 0.5458 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.436, allocations: 3.969 kB / 0.5458 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.4361, allocations: 33.95 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.4361, allocations: 7.688 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.4361, allocations: 4.938 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.4362, allocations: 8.109 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4362, allocations: 4.375 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.4367, allocations: 339.6 kB / 0.5462 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.4367, allocations: 24.89 kB / 0.5462 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.4368, allocations: 9.062 kB / 0.5462 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.437, allocations: 4.781 kB / 0.5462 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.437, allocations: 26.59 kB / 0.5462 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4371, allocations: 7.812 kB / 0.5462 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0001819/0.4372, allocations: 138.4 kB / 0.5464 GB, free: 11.34 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.4372, allocations: 0 / 0.5464 GB, free: 11.34 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0006599/0.4379, allocations: 42.62 kB / 0.5464 GB, free: 11.33 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 15
 * 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 (15):
 * Single equations (assignments): 14
 * 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.0001449/0.4381, allocations: 106.4 kB / 0.5465 GB, free: 11.23 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004663/0.4385, allocations: 139.1 kB / 0.5466 GB, free: 11.17 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4385, allocations: 0 / 0.5466 GB, free: 11.17 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4387, allocations: 70.19 kB / 0.5467 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.4394, allocations: 42.86 kB / 0.5467 GB, free: 11.12 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4406, allocations: 0.4962 MB / 0.5472 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.4412, allocations: 0.7571 MB / 0.548 GB, free: 9.973 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001923/0.4414, allocations: 41.64 kB / 0.548 GB, free: 9.957 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.4415, allocations: 21.86 kB / 0.548 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of SimCode: time 5.61e-07/0.4415, allocations: 0 / 0.548 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of Templates: time 0.007157/0.4487, allocations: 1.506 MB / 0.5495 GB, free: 9.199 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.073807606473565]
Failed to read output from testmodel.py, exit status != 0:
0.45963417645543814 0.483761739 0.056289125
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0f6c4c57b0>