Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.001865/0.001865, allocations: 116.2 kB / 20.43 MB, free: 1.301 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.002321/0.002321, allocations: 181.5 kB / 23.72 MB, free: 4.551 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.428/1.428, 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.2952/0.2952, allocations: 49.57 MB / 336.3 MB, free: 4.129 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.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine")
translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [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.002387/0.002387, allocations: 71.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1147, allocations: 62.41 MB / 0.5266 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.4793/0.594, allocations: 171.3 MB / 0.6938 GB, free: 10.53 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.006127/0.6001, allocations: 3.845 MB / 0.6976 GB, free: 6.672 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.6005, allocations: 11.94 kB / 0.6976 GB, free: 6.66 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009304/0.6015, allocations: 278.3 kB / 0.6978 GB, free: 6.387 MB / 0.5294 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'.
Notification: Performance of NFTyping.typeBindings: time 0.001173/0.6026, allocations: 497.6 kB / 0.6983 GB, free: 5.898 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.6067, allocations: 1.578 MB / 0.6998 GB, free: 4.324 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001782/0.6085, allocations: 1.266 MB / 0.7011 GB, free: 3.055 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.6091, allocations: 337.8 kB / 0.7014 GB, free: 2.715 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008027/0.6099, allocations: 0.4905 MB / 0.7019 GB, free: 2.223 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.6105, allocations: 490.3 kB / 0.7024 GB, free: 1.742 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 9.575e-05/0.6106, allocations: 56 kB / 0.7024 GB, free: 1.688 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.614, allocations: 1.505 MB / 0.7039 GB, free: 184 kB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.6146, allocations: 386.9 kB / 0.7042 GB, free: 15.8 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.6151, allocations: 457.7 kB / 0.7047 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.002985/0.6181, allocations: 1.732 MB / 0.7064 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6181, allocations: 0 / 0.7064 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.763e-06/0.6181, allocations: 0 / 0.7064 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 2.061e-05/0.6182, allocations: 3.938 kB / 0.7064 GB, free: 13.61 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 126
 * Number of variables: 126
Notification: Performance of Generate backend data structure: time 0.002053/0.6202, allocations: 1.223 MB / 0.7076 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6203, allocations: 8.031 kB / 0.7076 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.621, allocations: 172.6 kB / 0.7077 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.622, allocations: 0.5794 MB / 0.7083 GB, free: 11.57 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.6221, allocations: 41 kB / 0.7083 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.6222, allocations: 51.98 kB / 0.7084 GB, free: 11.48 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.6232, allocations: 0.5957 MB / 0.709 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.6232, allocations: 3.938 kB / 0.709 GB, free: 10.87 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.6233, allocations: 31.92 kB / 0.709 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.6233, allocations: 12 kB / 0.709 GB, free: 10.83 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.6241, allocations: 463.8 kB / 0.7095 GB, free: 10.38 MB / 0.545 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.6282, allocations: 2.041 MB / 0.7115 GB, free: 8.238 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.6285, allocations: 126.6 kB / 0.7116 GB, free: 8.105 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.6286, allocations: 48.84 kB / 0.7116 GB, free: 8.055 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.6288, allocations: 51.95 kB / 0.7117 GB, free: 8.004 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.6289, allocations: 38.56 kB / 0.7117 GB, free: 7.957 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.6289, allocations: 0 / 0.7117 GB, free: 7.957 MB / 0.545 GB
Notification: Performance of matching and sorting (n=14): time 0.0005987/0.6295, allocations: 265.3 kB / 0.712 GB, free: 7.691 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.6295, allocations: 51.41 kB / 0.712 GB, free: 7.629 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.6312, allocations: 1.324 MB / 0.7133 GB, free: 6.281 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.6312, allocations: 37.7 kB / 0.7133 GB, free: 6.238 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.6317, allocations: 463.8 kB / 0.7138 GB, free: 5.781 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.6317, allocations: 59.52 kB / 0.7138 GB, free: 5.723 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.6319, allocations: 86.02 kB / 0.7139 GB, free: 5.633 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001522/0.632, allocations: 321.9 kB / 0.7142 GB, free: 5.312 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.6323, allocations: 126.6 kB / 0.7144 GB, free: 5.188 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.6326, allocations: 253.4 kB / 0.7146 GB, free: 4.883 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.633, allocations: 334.7 kB / 0.7149 GB, free: 4.496 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6331, allocations: 4 kB / 0.7149 GB, free: 4.492 MB / 0.545 GB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008259/0.6339, allocations: 484.9 kB / 0.7154 GB, free: 4.012 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6339, allocations: 8.094 kB / 0.7154 GB, free: 4.004 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6339, allocations: 4 kB / 0.7154 GB, free: 4 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6339, allocations: 11.94 kB / 0.7154 GB, free: 3.988 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.6344, allocations: 107.8 kB / 0.7155 GB, free: 3.883 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000481/0.6349, allocations: 0.6016 MB / 0.7161 GB, free: 3.258 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.6354, allocations: 83.31 kB / 0.7162 GB, free: 3.176 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.6354, allocations: 24 kB / 0.7162 GB, free: 3.152 MB / 0.545 GB
Warning: Assuming fixed start value for the following 1 variables:
         Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true )  \"Absolute rotation angle of component\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 20
 * 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 (47):
 * Single equations (assignments): 46
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * 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: Performance of prepare postOptimizeDAE: time 0.0004945/0.6359, allocations: 291.4 kB / 0.7165 GB, free: 2.859 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6361, allocations: 99.33 kB / 0.7166 GB, free: 2.762 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.6365, allocations: 241.5 kB / 0.7168 GB, free: 2.52 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6365, allocations: 0 / 0.7168 GB, free: 2.52 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6365, allocations: 0.75 kB / 0.7168 GB, free: 2.52 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6365, allocations: 0 / 0.7168 GB, free: 2.52 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.6373, allocations: 0.5245 MB / 0.7173 GB, free: 1.953 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6373, allocations: 4 kB / 0.7173 GB, free: 1.949 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.6375, allocations: 47.91 kB / 0.7174 GB, free: 1.902 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6375, allocations: 0 / 0.7174 GB, free: 1.902 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.6375, allocations: 4.688 kB / 0.7174 GB, free: 1.898 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/0.6379, allocations: 0.6015 MB / 0.718 GB, free: 1.273 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6379, allocations: 0 / 0.718 GB, free: 1.273 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.6384, allocations: 379.3 kB / 0.7183 GB, free: 0.8867 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.6387, allocations: 127.3 kB / 0.7184 GB, free: 0.7617 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.053e-05/0.6388, allocations: 3.625 kB / 0.7184 GB, free: 0.7617 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.6392, allocations: 15.98 kB / 0.7185 GB, free: 0.7461 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.6393, allocations: 7.984 kB / 0.7185 GB, free: 0.7383 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.6393, allocations: 19.97 kB / 0.7185 GB, free: 0.7188 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.001333/0.6406, allocations: 0.9381 MB / 0.7194 GB, free: 15.77 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1e-07/0.6406, allocations: 4.062 kB / 0.7194 GB, free: 15.77 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0008058/0.6414, allocations: 223.6 kB / 0.7196 GB, free: 15.55 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (Inertia1.phi,Inertia1.w)
 * 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 (14):
 * Single equations (assignments): 13
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * 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: Performance of Backend phase and start with SimCode phase: time 0.001902/0.6433, allocations: 0.5368 MB / 0.7201 GB, free: 15.01 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0005534/0.6439, allocations: 224 kB / 0.7204 GB, free: 14.79 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.6439, allocations: 0 / 0.7204 GB, free: 14.79 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6441, allocations: 63.91 kB / 0.7204 GB, free: 14.73 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6455, allocations: 340.2 kB / 0.7207 GB, free: 14.39 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.648, allocations: 1.557 MB / 0.7223 GB, free: 12.8 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.6488, allocations: 0.988 MB / 0.7232 GB, free: 11.79 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0005354/0.6493, allocations: 174.6 kB / 0.7234 GB, free: 11.61 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.6495, allocations: 63.42 kB / 0.7235 GB, free: 11.55 MB / 0.5606 GB
Notification: Performance of SimCode: time 4.21e-07/0.6495, allocations: 0 / 0.7235 GB, free: 11.55 MB / 0.5606 GB
Notification: Performance of Templates: time 0.0314/0.6809, allocations: 16.2 MB / 0.7393 GB, free: 11.32 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.936984024010599]
Failed to read output from testmodel.py, exit status != 0:
0.6899266028776765 0.705501333 0.08393315500000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f06c00dd7b0>