Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001792/0.001792, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001998/0.001998, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 207.6 MB / 234.5 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3043/0.3043, allocations: 49.57 MB / 336.3 MB, free: 4.137 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5")
translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 67.89 kB / 476.8 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.119, allocations: 62.42 MB / 0.5266 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.004048/0.123, allocations: 2.671 MB / 0.5292 GB, free: 11.18 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001349/0.1244, allocations: 0.7527 MB / 0.5299 GB, free: 10.41 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1245, allocations: 11.94 kB / 0.5299 GB, free: 10.4 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1247, allocations: 47.45 kB / 0.53 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.125, allocations: 123 kB / 0.5301 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1252, allocations: 83.78 kB / 0.5302 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004705/0.1257, allocations: 406.1 kB / 0.5305 GB, free: 9.754 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1258, allocations: 73.56 kB / 0.5306 GB, free: 9.684 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1261, allocations: 163.3 kB / 0.5308 GB, free: 9.523 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.1263, allocations: 159.2 kB / 0.5309 GB, free: 9.367 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.1264, allocations: 24 kB / 0.5309 GB, free: 9.344 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.1264, allocations: 28 kB / 0.531 GB, free: 9.316 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.1265, allocations: 67.64 kB / 0.531 GB, free: 9.25 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1267, allocations: 179 kB / 0.5312 GB, free: 9.074 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.1271, allocations: 318.5 kB / 0.5315 GB, free: 8.762 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1272, allocations: 0 / 0.5315 GB, free: 8.762 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.773e-06/0.1272, allocations: 4 kB / 0.5315 GB, free: 8.758 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 7.855e-06/0.1272, allocations: 4 kB / 0.5315 GB, free: 8.754 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 54
 * Number of variables: 54
Notification: Performance of Generate backend data structure: time 0.001149/0.1283, allocations: 0.5904 MB / 0.5321 GB, free: 8.133 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1283, allocations: 19.97 kB / 0.5321 GB, free: 8.113 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1285, allocations: 40.7 kB / 0.5322 GB, free: 8.074 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.1289, allocations: 258.3 kB / 0.5324 GB, free: 7.793 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1289, allocations: 16.81 kB / 0.5324 GB, free: 7.777 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.129, allocations: 32.31 kB / 0.5324 GB, free: 7.746 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.1295, allocations: 247 kB / 0.5327 GB, free: 7.488 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1295, allocations: 0 / 0.5327 GB, free: 7.488 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.1295, allocations: 11.94 kB / 0.5327 GB, free: 7.477 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1295, allocations: 8 kB / 0.5327 GB, free: 7.469 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.1299, allocations: 173.6 kB / 0.5329 GB, free: 7.297 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1311, allocations: 0.7985 MB / 0.5336 GB, free: 6.449 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.1315, allocations: 178.5 kB / 0.5338 GB, free: 6.266 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.1317, allocations: 104.8 kB / 0.5339 GB, free: 6.16 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1317, allocations: 0 / 0.5339 GB, free: 6.16 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1318, allocations: 38.56 kB / 0.534 GB, free: 6.113 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=25): time 1.022e-06/0.1318, allocations: 0 / 0.534 GB, free: 6.113 MB / 414.1 MB
Notification: Performance of matching and sorting (n=27): time 0.001385/0.1331, allocations: 0.6615 MB / 0.5346 GB, free: 5.422 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1332, allocations: 55.41 kB / 0.5347 GB, free: 5.355 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1335, allocations: 304.5 kB / 0.5349 GB, free: 5.051 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1336, allocations: 33.7 kB / 0.535 GB, free: 5.012 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1337, allocations: 180.8 kB / 0.5351 GB, free: 4.828 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.1338, allocations: 107.1 kB / 0.5353 GB, free: 4.723 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.1339, allocations: 57.7 kB / 0.5353 GB, free: 4.66 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001585/0.134, allocations: 334.8 kB / 0.5356 GB, free: 4.324 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1342, allocations: 83.89 kB / 0.5357 GB, free: 4.242 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1344, allocations: 110.6 kB / 0.5358 GB, free: 4.125 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.1348, allocations: 192.2 kB / 0.536 GB, free: 3.93 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1348, allocations: 0 / 0.536 GB, free: 3.93 MB / 414.1 MB
Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006846/0.1355, allocations: 327 kB / 0.5363 GB, free: 3.602 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1355, allocations: 4 kB / 0.5363 GB, free: 3.598 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1355, allocations: 4 kB / 0.5363 GB, free: 3.594 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.1358, allocations: 56.81 kB / 0.5364 GB, free: 3.535 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.1361, allocations: 71.89 kB / 0.5364 GB, free: 3.465 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.1388, allocations: 2.833 MB / 0.5392 GB, free: 412 kB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1389, allocations: 15.97 kB / 0.5392 GB, free: 396 kB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.139, allocations: 11.94 kB / 0.5392 GB, free: 384 kB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (30):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.1391, allocations: 141.8 kB / 0.5394 GB, free: 232 kB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.1392, allocations: 31.81 kB / 0.5394 GB, free: 200 kB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1972/0.3363, allocations: 261.7 kB / 0.5396 GB, free: 22.86 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3363, allocations: 3.375 kB / 0.5396 GB, free: 22.86 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3363, allocations: 0 / 0.5396 GB, free: 22.86 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3364, allocations: 1.922 kB / 0.5396 GB, free: 22.86 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.3374, allocations: 0.6319 MB / 0.5403 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3374, allocations: 0 / 0.5403 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.3377, allocations: 74.27 kB / 0.5403 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3377, allocations: 1.344 kB / 0.5403 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3378, allocations: 10.34 kB / 0.5403 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3378, allocations: 1.406 kB / 0.5403 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3378, allocations: 0.5625 kB / 0.5404 GB, free: 22.6 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.3384, allocations: 453.5 kB / 0.5408 GB, free: 22.46 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3385, allocations: 43.72 kB / 0.5408 GB, free: 22.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.3385, allocations: 7.438 kB / 0.5408 GB, free: 22.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3387, allocations: 11.97 kB / 0.5408 GB, free: 22.46 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.3388, allocations: 21.81 kB / 0.5409 GB, free: 22.46 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3388, allocations: 10.36 kB / 0.5409 GB, free: 22.46 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002171/0.339, allocations: 213.2 kB / 0.5411 GB, free: 22.38 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.339, allocations: 1.156 kB / 0.5411 GB, free: 22.38 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0004004/0.3394, allocations: 71.78 kB / 0.5411 GB, free: 22.38 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt)
 * 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 (28):
 * Single equations (assignments): 28
 * 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 9.278e-05/0.3395, allocations: 108.4 kB / 0.5412 GB, free: 22.29 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008228/0.3403, allocations: 358 kB / 0.5416 GB, free: 22.18 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3403, allocations: 0 / 0.5416 GB, free: 22.18 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.3405, allocations: 102.1 kB / 0.5417 GB, free: 22.18 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.341, allocations: 64.83 kB / 0.5418 GB, free: 22.17 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3424, allocations: 0.9337 MB / 0.5427 GB, free: 21.69 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.3426, allocations: 0.7878 MB / 0.5434 GB, free: 20.98 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001249/0.3427, allocations: 37.97 kB / 0.5435 GB, free: 20.98 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.3428, allocations: 27.56 kB / 0.5435 GB, free: 20.97 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3428, allocations: 0 / 0.5435 GB, free: 20.97 MB / 414.1 MB
Notification: Performance of Templates: time 0.009016/0.3518, allocations: 3.714 MB / 0.5471 GB, free: 20.69 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.081155090592802]
Failed to read output from testmodel.py, exit status != 0:
0.36035854928195477 0.37271433800000003 0.242920464
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff289af57b0>