Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001321/0.001321, allocations: 108.3 kB / 20.43 MB, free: 1.473 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.001404/0.001404, allocations: 182.6 kB / 23.71 MB, free: 4.711 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.388/1.388, allocations: 207.6 MB / 234.5 MB, free: 10.03 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.2941/0.2941, allocations: 49.57 MB / 336.3 MB, free: 4.141 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1")
translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [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.00228/0.00228, allocations: 79.89 kB / 476.8 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1135, allocations: 62.42 MB / 0.5266 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003422/0.117, allocations: 2.087 MB / 0.5286 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001058/0.118, allocations: 0.6087 MB / 0.5292 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1181, allocations: 7.938 kB / 0.5292 GB, free: 11.14 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1182, allocations: 19.73 kB / 0.5292 GB, free: 11.12 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1185, allocations: 63.48 kB / 0.5293 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1186, allocations: 51.94 kB / 0.5293 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002995/0.1189, allocations: 215 kB / 0.5295 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.119, allocations: 32.52 kB / 0.5296 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1192, allocations: 87.62 kB / 0.5296 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1193, allocations: 83.56 kB / 0.5297 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.1194, allocations: 12 kB / 0.5297 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.1194, allocations: 16 kB / 0.5298 GB, free: 10.57 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.1195, allocations: 31.84 kB / 0.5298 GB, free: 10.54 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.1196, allocations: 95.47 kB / 0.5299 GB, free: 10.45 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1198, allocations: 167.2 kB / 0.53 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1198, allocations: 0 / 0.53 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.112e-06/0.1198, allocations: 0 / 0.53 GB, free: 10.28 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 4.919e-06/0.1198, allocations: 0 / 0.53 GB, free: 10.28 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: 26
 * Number of variables: 26
Notification: Performance of Generate backend data structure: time 0.0007487/0.1206, allocations: 425.2 kB / 0.5304 GB, free: 9.836 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1206, allocations: 8.031 kB / 0.5304 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.1207, allocations: 32.8 kB / 0.5305 GB, free: 9.797 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.121, allocations: 183.1 kB / 0.5307 GB, free: 9.59 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.121, allocations: 12.38 kB / 0.5307 GB, free: 9.578 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.121, allocations: 12.38 kB / 0.5307 GB, free: 9.566 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1213, allocations: 131.6 kB / 0.5308 GB, free: 9.426 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1213, allocations: 0 / 0.5308 GB, free: 9.426 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1213, allocations: 4 kB / 0.5308 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1213, allocations: 15.88 kB / 0.5308 GB, free: 9.406 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.1215, allocations: 79.94 kB / 0.5309 GB, free: 9.328 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.1223, allocations: 0.4917 MB / 0.5314 GB, free: 8.789 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1226, allocations: 102.5 kB / 0.5315 GB, free: 8.68 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1227, allocations: 44.83 kB / 0.5315 GB, free: 8.633 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1228, allocations: 4 kB / 0.5315 GB, free: 8.629 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1228, allocations: 34.78 kB / 0.5316 GB, free: 8.586 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1228, allocations: 3.938 kB / 0.5316 GB, free: 8.582 MB / 414.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0008164/0.1236, allocations: 376.6 kB / 0.5319 GB, free: 8.18 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1236, allocations: 51.41 kB / 0.532 GB, free: 8.117 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1239, allocations: 225 kB / 0.5322 GB, free: 7.891 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1239, allocations: 25.7 kB / 0.5322 GB, free: 7.859 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.124, allocations: 128.4 kB / 0.5323 GB, free: 7.73 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.124, allocations: 43.58 kB / 0.5324 GB, free: 7.688 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.1241, allocations: 33.7 kB / 0.5324 GB, free: 7.648 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001528/0.1243, allocations: 330.8 kB / 0.5327 GB, free: 7.316 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1243, allocations: 31.98 kB / 0.5327 GB, free: 7.285 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1244, allocations: 62.48 kB / 0.5328 GB, free: 7.215 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1246, allocations: 90.56 kB / 0.5329 GB, free: 7.117 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1246, allocations: 4 kB / 0.5329 GB, free: 7.113 MB / 414.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002667/0.1249, allocations: 145.5 kB / 0.533 GB, free: 6.965 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1249, allocations: 7.938 kB / 0.533 GB, free: 6.957 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1249, allocations: 0 / 0.533 GB, free: 6.957 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1249, allocations: 4 kB / 0.533 GB, free: 6.953 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1251, allocations: 39.92 kB / 0.5331 GB, free: 6.914 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1251, allocations: 0 / 0.5331 GB, free: 6.914 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1252, allocations: 8.062 kB / 0.5331 GB, free: 6.906 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1252, allocations: 4 kB / 0.5331 GB, free: 6.902 MB / 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 (16):
 * Single equations (assignments): 16
 * 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.0001118/0.1253, allocations: 133.8 kB / 0.5332 GB, free: 6.762 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.1254, allocations: 23.8 kB / 0.5332 GB, free: 6.738 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.1254, allocations: 17.72 kB / 0.5333 GB, free: 6.711 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1254, allocations: 0 / 0.5333 GB, free: 6.711 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1254, allocations: 4 kB / 0.5333 GB, free: 6.707 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1254, allocations: 7.984 kB / 0.5333 GB, free: 6.699 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.126, allocations: 417.4 kB / 0.5337 GB, free: 6.242 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.126, allocations: 0 / 0.5337 GB, free: 6.242 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1262, allocations: 31.92 kB / 0.5337 GB, free: 6.211 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1262, allocations: 0 / 0.5337 GB, free: 6.211 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1262, allocations: 4 kB / 0.5337 GB, free: 6.207 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1262, allocations: 0 / 0.5337 GB, free: 6.207 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1262, allocations: 11.92 kB / 0.5337 GB, free: 6.195 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.1266, allocations: 263.2 kB / 0.534 GB, free: 5.922 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1267, allocations: 23.94 kB / 0.534 GB, free: 5.898 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1267, allocations: 0 / 0.534 GB, free: 5.898 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1268, allocations: 8 kB / 0.534 GB, free: 5.891 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1269, allocations: 8.078 kB / 0.534 GB, free: 5.883 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1269, allocations: 7.969 kB / 0.534 GB, free: 5.875 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001723/0.127, allocations: 164.5 kB / 0.5342 GB, free: 5.715 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.127, allocations: 0 / 0.5342 GB, free: 5.715 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002641/0.1273, allocations: 28 kB / 0.5342 GB, free: 5.688 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12):
 * Single equations (assignments): 12
 * 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 0.0001067/0.1274, allocations: 111.1 kB / 0.5343 GB, free: 5.57 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002375/0.1276, allocations: 75.91 kB / 0.5344 GB, free: 5.496 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.1276, allocations: 3.938 kB / 0.5344 GB, free: 5.492 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.1277, allocations: 45.08 kB / 0.5344 GB, free: 5.449 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1281, allocations: 36.59 kB / 0.5345 GB, free: 5.414 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1292, allocations: 0.5115 MB / 0.535 GB, free: 4.879 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1296, allocations: 0.732 MB / 0.5357 GB, free: 4.121 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.653e-05/0.1296, allocations: 13.48 kB / 0.5357 GB, free: 4.105 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.1297, allocations: 23.42 kB / 0.5357 GB, free: 4.082 MB / 414.1 MB
Notification: Performance of SimCode: time 3e-07/0.1297, allocations: 0 / 0.5357 GB, free: 4.082 MB / 414.1 MB
Notification: Performance of Templates: time 0.00501/0.1347, allocations: 1.673 MB / 0.5373 GB, free: 2.41 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.7865846417844296]
Failed to read output from testmodel.py, exit status != 0:
0.1428763074800372 0.318484204 0.196088533
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe2cac257b0>