Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.00173/0.00173, 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.001991/0.001991, 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.644/1.644, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1877/0.1877, allocations: 38.54 MB / 346.3 MB, free: 2.09 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.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest")
translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 61.3 MB / 0.533 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005037/0.3751, allocations: 3.733 MB / 0.5367 GB, free: 2.945 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002463/0.3776, allocations: 1.838 MB / 0.5385 GB, free: 1.508 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.3778, allocations: 9.438 kB / 0.5385 GB, free: 1.504 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.3788, allocations: 249.9 kB / 0.5387 GB, free: 1.312 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006593/0.3795, allocations: 265.3 kB / 0.539 GB, free: 1.109 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.3801, allocations: 214.8 kB / 0.5392 GB, free: 0.957 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006213/0.3807, allocations: 445 kB / 0.5396 GB, free: 0.6992 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.3811, allocations: 133.8 kB / 0.5397 GB, free: 0.6094 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.3816, allocations: 196.5 kB / 0.5399 GB, free: 0.4961 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.3819, allocations: 184.7 kB / 0.5401 GB, free: 388 kB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.382, allocations: 27.5 kB / 0.5401 GB, free: 388 kB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.3827, allocations: 328.7 kB / 0.5404 GB, free: 220 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3829, allocations: 115.3 kB / 0.5405 GB, free: 144 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3831, allocations: 152.2 kB / 0.5407 GB, free: 32 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3841, allocations: 0.5165 MB / 0.5412 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3841, allocations: 3.984 kB / 0.5412 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.313e-06/0.3841, allocations: 3.938 kB / 0.5412 GB, free: 15.68 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.973e-05/0.3841, allocations: 1.375 kB / 0.5412 GB, free: 15.68 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: 50
 * Number of variables: 50
Notification: Performance of Generate backend data structure: time 0.001253/0.3854, allocations: 0.5586 MB / 0.5417 GB, free: 15.19 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3854, allocations: 9.094 kB / 0.5417 GB, free: 15.19 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/0.3863, allocations: 94.86 kB / 0.5418 GB, free: 15.14 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.387, allocations: 310.4 kB / 0.5421 GB, free: 14.88 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.387, allocations: 15.66 kB / 0.5422 GB, free: 14.88 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.387, allocations: 25.12 kB / 0.5422 GB, free: 14.86 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.3877, allocations: 357.3 kB / 0.5425 GB, free: 14.61 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3877, allocations: 3.938 kB / 0.5425 GB, free: 14.61 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3878, allocations: 14.7 kB / 0.5425 GB, free: 14.6 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.3878, allocations: 11.84 kB / 0.5425 GB, free: 14.6 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.3885, allocations: 387.8 kB / 0.5429 GB, free: 14.42 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/0.3907, allocations: 1.513 MB / 0.5444 GB, free: 13.07 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.3914, allocations: 301.8 kB / 0.5447 GB, free: 12.9 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.3916, allocations: 97.39 kB / 0.5448 GB, free: 12.84 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.3916, allocations: 4.938 kB / 0.5448 GB, free: 12.84 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.392, allocations: 201 kB / 0.545 GB, free: 12.69 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.392, allocations: 0 / 0.545 GB, free: 12.69 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24): time 0.0008022/0.3928, allocations: 391 kB / 0.5453 GB, free: 12.5 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3929, allocations: 131.5 kB / 0.5455 GB, free: 12.34 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3932, allocations: 297.9 kB / 0.5458 GB, free: 12.14 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.3933, allocations: 37.02 kB / 0.5458 GB, free: 12.11 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3934, allocations: 187.6 kB / 0.546 GB, free: 11.93 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.3935, allocations: 84.36 kB / 0.546 GB, free: 11.86 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3936, allocations: 57.64 kB / 0.5461 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002393/0.3939, allocations: 338.4 kB / 0.5464 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3941, allocations: 97.17 kB / 0.5465 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.3943, allocations: 186.4 kB / 0.5467 GB, free: 11.28 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.3949, allocations: 304.9 kB / 0.547 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3949, allocations: 1.375 kB / 0.547 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006028/0.3955, allocations: 360.9 kB / 0.5473 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3955, allocations: 7.344 kB / 0.5473 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3955, allocations: 6.734 kB / 0.5473 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3955, allocations: 4.094 kB / 0.5473 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.3958, allocations: 60.44 kB / 0.5474 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3958, allocations: 3.875 kB / 0.5474 GB, free: 10.86 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3959, allocations: 35.88 kB / 0.5474 GB, free: 10.84 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.396, allocations: 15.34 kB / 0.5475 GB, free: 10.83 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (33):
 * Single equations (assignments): 33
 * 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.0002109/0.3962, allocations: 178 kB / 0.5476 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.3962, allocations: 30 kB / 0.5477 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.397, allocations: 337.8 kB / 0.548 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.397, allocations: 3.219 kB / 0.548 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.397, allocations: 1.188 kB / 0.548 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.397, allocations: 9.156 kB / 0.548 GB, free: 10.48 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.3984, allocations: 0.7137 MB / 0.5487 GB, free: 9.938 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3984, allocations: 0.9688 kB / 0.5487 GB, free: 9.938 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3986, allocations: 46.38 kB / 0.5487 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.3986, allocations: 5.094 kB / 0.5487 GB, free: 9.922 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3986, allocations: 8 kB / 0.5487 GB, free: 9.918 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.3986, allocations: 1.438 kB / 0.5487 GB, free: 9.918 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3987, allocations: 5.531 kB / 0.5488 GB, free: 9.914 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000733/0.3994, allocations: 414.6 kB / 0.5491 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.3995, allocations: 28.36 kB / 0.5492 GB, free: 9.625 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.3995, allocations: 16.23 kB / 0.5492 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3997, allocations: 7.312 kB / 0.5492 GB, free: 9.609 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.3997, allocations: 15.5 kB / 0.5492 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3998, allocations: 12.59 kB / 0.5492 GB, free: 9.598 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002771/0.4, allocations: 222.3 kB / 0.5494 GB, free: 9.449 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4, allocations: 1.125 kB / 0.5494 GB, free: 9.449 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004801/0.4005, allocations: 80.56 kB / 0.5495 GB, free: 9.426 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled)
 * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (25):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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.001681/0.4022, allocations: 463.2 kB / 0.55 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005465/0.4027, allocations: 242.7 kB / 0.5502 GB, free: 9.094 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4027, allocations: 0 / 0.5502 GB, free: 9.094 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.403, allocations: 104.2 kB / 0.5503 GB, free: 9.051 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.4036, allocations: 65.23 kB / 0.5503 GB, free: 9.016 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.4048, allocations: 0.6005 MB / 0.5509 GB, free: 8.609 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.4053, allocations: 0.7915 MB / 0.5517 GB, free: 7.855 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.000222/0.4055, allocations: 80.08 kB / 0.5518 GB, free: 7.828 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.4056, allocations: 36.61 kB / 0.5518 GB, free: 7.816 MB / 398.1 MB
Notification: Performance of SimCode: time 7.61e-07/0.4056, allocations: 4 kB / 0.5518 GB, free: 7.812 MB / 398.1 MB
Notification: Performance of Templates: time 0.009569/0.4152, allocations: 3.804 MB / 0.5555 GB, free: 4.781 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.442827958613634]
Failed to read output from testmodel.py, exit status != 0:
0.42466805409640074 0.44102037899999996 0.053497681000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8324e157b0>