Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001605/0.001605, allocations: 118 kB / 19.74 MB, free: 2.137 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.00171/0.00171, allocations: 187.5 kB / 23.02 MB, free: 4.953 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.52/1.52, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.062/0.062, allocations: 8.239 MB / 315.3 MB, free: 380 kB / 238.1 MB
"
[Timeout remaining time 180]
Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork")
translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 439.8 MB, free: 12.16 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1206, allocations: 54.4 MB / 494.1 MB, free: 5.672 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.00748/0.1281, allocations: 5.935 MB / 0.4884 GB, free: 15.72 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004916/0.133, allocations: 2.345 MB / 0.4907 GB, free: 13.36 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.134, allocations: 24 kB / 0.4907 GB, free: 13.34 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.1349, allocations: 313.9 kB / 0.491 GB, free: 13.03 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001836/0.1368, allocations: 0.6093 MB / 0.4916 GB, free: 12.41 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.1402, allocations: 1.467 MB / 0.493 GB, free: 10.95 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002517/0.1427, allocations: 1.303 MB / 0.4943 GB, free: 9.645 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.1433, allocations: 293.6 kB / 0.4946 GB, free: 9.34 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008886/0.1442, allocations: 0.5565 MB / 0.4951 GB, free: 8.781 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.1453, allocations: 0.6964 MB / 0.4958 GB, free: 8.082 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.1455, allocations: 104 kB / 0.4959 GB, free: 7.98 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1465, allocations: 347.7 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000297/0.1468, allocations: 255 kB / 0.4965 GB, free: 7.391 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008148/0.1476, allocations: 0.6179 MB / 0.4971 GB, free: 6.77 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00273/0.1504, allocations: 1.428 MB / 0.4984 GB, free: 5.336 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.1504, allocations: 7.922 kB / 0.4985 GB, free: 5.328 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.144e-06/0.1504, allocations: 0 / 0.4985 GB, free: 5.328 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 2.049e-05/0.1504, allocations: 0 / 0.4985 GB, free: 5.328 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 206
 * Number of variables: 206
Notification: Performance of Generate backend data structure: time 0.01382/0.1642, allocations: 3.117 MB / 0.5015 GB, free: 2.176 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1643, allocations: 11.89 kB / 0.5015 GB, free: 2.164 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.1646, allocations: 144.1 kB / 0.5016 GB, free: 2.023 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1658, allocations: 0.6117 MB / 0.5022 GB, free: 1.383 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.1658, allocations: 74.38 kB / 0.5023 GB, free: 1.312 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.166, allocations: 96.38 kB / 0.5024 GB, free: 1.219 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.2449/0.4109, allocations: 1.37 MB / 0.5037 GB, free: 20.32 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.411, allocations: 0.6562 kB / 0.5037 GB, free: 20.32 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.4111, allocations: 37.81 kB / 0.5038 GB, free: 20.32 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.4111, allocations: 20.59 kB / 0.5038 GB, free: 20.32 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.4132, allocations: 1.322 MB / 0.5051 GB, free: 20.32 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006939/0.4201, allocations: 5.2 MB / 0.5102 GB, free: 17.05 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.4225, allocations: 1.667 MB / 0.5118 GB, free: 16.33 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.4237, allocations: 0.846 MB / 0.5126 GB, free: 15.94 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.4238, allocations: 36.12 kB / 0.5127 GB, free: 15.94 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.4239, allocations: 58.41 kB / 0.5127 GB, free: 15.88 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=147): time 3.277e-06/0.4239, allocations: 0 / 0.5127 GB, free: 15.88 MB / 366.1 MB
Notification: Performance of matching and sorting (n=147): time 0.04026/0.4641, allocations: 6.934 MB / 0.5195 GB, free: 14.05 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.4642, allocations: 118.8 kB / 0.5196 GB, free: 13.93 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.4657, allocations: 0.6459 MB / 0.5202 GB, free: 13.55 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004259/0.4661, allocations: 59.92 kB / 0.5203 GB, free: 13.5 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.4664, allocations: 346.8 kB / 0.5206 GB, free: 13.21 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006516/0.467, allocations: 0.5121 MB / 0.5211 GB, free: 12.84 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007715/0.4678, allocations: 274.7 kB / 0.5214 GB, free: 12.67 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001249/0.4679, allocations: 356.3 kB / 0.5217 GB, free: 12.33 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.47, allocations: 0.87 MB / 0.5226 GB, free: 11.86 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.4722, allocations: 0.992 MB / 0.5235 GB, free: 11.31 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/0.4767, allocations: 1.96 MB / 0.5255 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.4767, allocations: 0 / 0.5255 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of matching and sorting (n=198) (initialization): time 0.0122/0.4889, allocations: 3.757 MB / 0.5291 GB, free: 8.129 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.489, allocations: 5.562 kB / 0.5291 GB, free: 8.129 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.489, allocations: 0 / 0.5291 GB, free: 8.129 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.4998, allocations: 3.941 MB / 0.533 GB, free: 6.34 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/0.5007, allocations: 231.7 kB / 0.5332 GB, free: 6.113 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/0.5233, allocations: 11.36 MB / 0.5443 GB, free: 10.72 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.5249, allocations: 138.9 kB / 0.5444 GB, free: 10.62 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.5251, allocations: 51.98 kB / 0.5445 GB, free: 10.57 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 (135):
 * Single equations (assignments): 134
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(32,32)}
Notification: Performance of prepare postOptimizeDAE: time 0.0006204/0.5257, allocations: 265.6 kB / 0.5447 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.526, allocations: 115.3 kB / 0.5448 GB, free: 10.19 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.537, allocations: 3.725 MB / 0.5485 GB, free: 6.449 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.537, allocations: 16 kB / 0.5485 GB, free: 6.434 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.537, allocations: 0 / 0.5485 GB, free: 6.434 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-05/0.5371, allocations: 11.97 kB / 0.5485 GB, free: 6.422 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.5503, allocations: 5.226 MB / 0.5536 GB, free: 1.168 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5503, allocations: 0 / 0.5536 GB, free: 1.168 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.5509, allocations: 171.8 kB / 0.5538 GB, free: 1 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01123/0.5622, allocations: 2.732 MB / 0.5564 GB, free: 14.26 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.5624, allocations: 28 kB / 0.5565 GB, free: 14.23 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02435/0.5868, allocations: 11.17 MB / 0.5674 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5868, allocations: 0 / 0.5674 GB, free: 2.949 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.5975, allocations: 3.61 MB / 0.5709 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.5979, allocations: 130.9 kB / 0.571 GB, free: 15.19 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.5983, allocations: 31.94 kB / 0.5711 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.5994, allocations: 87.86 kB / 0.5711 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005594/0.6, allocations: 130.4 kB / 0.5713 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.6001, allocations: 56 kB / 0.5713 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0007024/0.6008, allocations: 439 kB / 0.5717 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.6008, allocations: 2.953 kB / 0.5717 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001633/0.6025, allocations: 0.5388 MB / 0.5723 GB, free: 13.92 MB / 414.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 (106):
 * Single equations (assignments): 105
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(32,32)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003734/0.6028, allocations: 159.6 kB / 0.5724 GB, free: 13.76 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.008086/0.6109, allocations: 3.032 MB / 0.5754 GB, free: 10.72 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.6109, allocations: 8.656 kB / 0.5754 GB, free: 10.71 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.005924/0.6169, allocations: 1.991 MB / 0.5773 GB, free: 8.715 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.6179, allocations: 157.9 kB / 0.5775 GB, free: 8.562 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.6221, allocations: 2.201 MB / 0.5796 GB, free: 6.348 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.6229, allocations: 1.091 MB / 0.5807 GB, free: 5.223 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000531/0.6235, allocations: 151.5 kB / 0.5808 GB, free: 5.07 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.6237, allocations: 87.41 kB / 0.5809 GB, free: 4.984 MB / 414.1 MB
Notification: Performance of SimCode: time 9.62e-07/0.6237, allocations: 0 / 0.5809 GB, free: 4.984 MB / 414.1 MB
Notification: Performance of Templates: time 0.06237/0.686, allocations: 38.58 MB / 0.6186 GB, free: 14.56 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660]
(rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.113505807705224]
Failed to read output from testmodel.py, exit status != 0:
0.6946844691410661 0.710328075 0.556742936
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2ff25217b0>