Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.001591/0.001591, 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.002004/0.002004, allocations: 184 kB / 23.71 MB, free: 4.695 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.548/1.548, allocations: 207.6 MB / 234.5 MB, free: 10 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.3109/0.3109, allocations: 49.57 MB / 336.3 MB, free: 4.133 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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed")
translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") [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.002341/0.002341, allocations: 63.89 kB / 476.8 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 62.42 MB / 0.5266 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.424/0.5447, allocations: 171.3 MB / 0.6939 GB, free: 10.49 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.006152/0.5509, allocations: 3.941 MB / 0.6977 GB, free: 6.543 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.5514, allocations: 11.88 kB / 0.6977 GB, free: 6.531 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009951/0.5524, allocations: 278.3 kB / 0.698 GB, free: 6.258 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.001214/0.5537, allocations: 0.5795 MB / 0.6986 GB, free: 5.676 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.5583, allocations: 1.678 MB / 0.7002 GB, free: 4 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.001859/0.5601, allocations: 1.341 MB / 0.7015 GB, free: 2.656 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.5607, allocations: 353.8 kB / 0.7019 GB, free: 2.301 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.5614, allocations: 0.5411 MB / 0.7024 GB, free: 1.758 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.5621, allocations: 0.5568 MB / 0.7029 GB, free: 1.199 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5622, allocations: 67.92 kB / 0.703 GB, free: 1.133 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.5651, allocations: 1.505 MB / 0.7045 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.5656, allocations: 474.7 kB / 0.7049 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.5661, allocations: 0.536 MB / 0.7054 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.002682/0.5688, allocations: 1.926 MB / 0.7073 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5688, allocations: 0 / 0.7073 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of FrontEnd: time 2.064e-06/0.5688, allocations: 0 / 0.7073 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.777e-05/0.5688, allocations: 4 kB / 0.7073 GB, free: 12.69 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: 128
 * Number of variables: 128
Notification: Performance of Generate backend data structure: time 0.00247/0.5713, allocations: 1.499 MB / 0.7088 GB, free: 11.15 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5713, allocations: 8.031 kB / 0.7088 GB, free: 11.14 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/0.5721, allocations: 191.9 kB / 0.709 GB, free: 10.96 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5734, allocations: 0.8018 MB / 0.7098 GB, free: 10.12 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.5734, allocations: 37.31 kB / 0.7098 GB, free: 10.08 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.5735, allocations: 48 kB / 0.7098 GB, free: 10.03 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5746, allocations: 0.6158 MB / 0.7104 GB, free: 9.402 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5746, allocations: 3.984 kB / 0.7104 GB, free: 9.398 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.5747, allocations: 27.94 kB / 0.7105 GB, free: 9.371 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.5747, allocations: 15.98 kB / 0.7105 GB, free: 9.355 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.5755, allocations: 476.9 kB / 0.7109 GB, free: 8.887 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.004337/0.5798, allocations: 2.272 MB / 0.7132 GB, free: 6.516 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5801, allocations: 134.6 kB / 0.7133 GB, free: 6.375 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.5801, allocations: 52.83 kB / 0.7133 GB, free: 6.32 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.5804, allocations: 55.88 kB / 0.7134 GB, free: 6.266 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.5804, allocations: 41.56 kB / 0.7134 GB, free: 6.219 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5804, allocations: 4 kB / 0.7134 GB, free: 6.215 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13): time 0.0005562/0.581, allocations: 280.8 kB / 0.7137 GB, free: 5.934 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.581, allocations: 55.41 kB / 0.7138 GB, free: 5.867 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.5836, allocations: 1.906 MB / 0.7156 GB, free: 3.941 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.5837, allocations: 29.7 kB / 0.7156 GB, free: 3.906 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006168/0.5843, allocations: 0.5873 MB / 0.7162 GB, free: 3.316 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.5844, allocations: 47.64 kB / 0.7163 GB, free: 3.27 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.5845, allocations: 81.64 kB / 0.7163 GB, free: 3.184 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001501/0.5847, allocations: 318 kB / 0.7166 GB, free: 2.867 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.5849, allocations: 126.2 kB / 0.7168 GB, free: 2.738 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.5852, allocations: 255.2 kB / 0.717 GB, free: 2.426 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.5857, allocations: 337.6 kB / 0.7173 GB, free: 2.031 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5857, allocations: 0 / 0.7173 GB, free: 2.031 MB / 0.545 GB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008305/0.5865, allocations: 0.4924 MB / 0.7178 GB, free: 1.531 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5865, allocations: 8 kB / 0.7178 GB, free: 1.523 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5865, allocations: 4 kB / 0.7178 GB, free: 1.52 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5866, allocations: 8.562 kB / 0.7178 GB, free: 1.512 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.5871, allocations: 119.7 kB / 0.7179 GB, free: 1.395 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007729/0.5879, allocations: 1.186 MB / 0.7191 GB, free: 168 kB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.5883, allocations: 79.38 kB / 0.7192 GB, free: 88 kB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.5884, allocations: 27.94 kB / 0.7192 GB, free: 60 kB / 0.545 GB
Warning: Assuming fixed start value for the following 1 variables:
         ConstantSpeed1.phi:VARIABLE(unit = \"rad\" fixed = true )  \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 21
 * 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 (45):
 * Single equations (assignments): 43
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 2 systems
   {1, 1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0005377/0.5889, allocations: 377.7 kB / 0.7196 GB, free: 15.68 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.5891, allocations: 127.2 kB / 0.7197 GB, free: 15.55 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.5896, allocations: 269.3 kB / 0.7199 GB, free: 15.29 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5896, allocations: 7.875 kB / 0.72 GB, free: 15.28 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5896, allocations: 0 / 0.72 GB, free: 15.28 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5896, allocations: 3.984 kB / 0.72 GB, free: 15.28 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008623/0.5904, allocations: 0.6474 MB / 0.7206 GB, free: 14.58 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5904, allocations: 4 kB / 0.7206 GB, free: 14.58 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.5907, allocations: 47.91 kB / 0.7206 GB, free: 14.53 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5907, allocations: 3.938 kB / 0.7206 GB, free: 14.53 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.5907, allocations: 8 kB / 0.7206 GB, free: 14.52 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000727/0.5914, allocations: 1.188 MB / 0.7218 GB, free: 13.29 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5914, allocations: 0 / 0.7218 GB, free: 13.29 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.592, allocations: 417.1 kB / 0.7222 GB, free: 12.86 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.5924, allocations: 163.2 kB / 0.7224 GB, free: 12.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.5925, allocations: 4 kB / 0.7224 GB, free: 12.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.5929, allocations: 15.98 kB / 0.7224 GB, free: 12.68 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.5929, allocations: 8.078 kB / 0.7224 GB, free: 12.67 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.593, allocations: 28.11 kB / 0.7224 GB, free: 12.64 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.001786/0.5948, allocations: 1.354 MB / 0.7237 GB, free: 11.29 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 2.61e-07/0.5948, allocations: 0 / 0.7237 GB, free: 11.29 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0007817/0.5955, allocations: 239.6 kB / 0.724 GB, free: 11.05 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (ConstantSpeed1.phi)
 * 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 (13):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * 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): 2 systems
   {1, 1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/0.5975, allocations: 0.5388 MB / 0.7245 GB, free: 10.52 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0006206/0.5981, allocations: 227.7 kB / 0.7247 GB, free: 10.29 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.5981, allocations: 3.938 kB / 0.7247 GB, free: 10.29 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.000193/0.5983, allocations: 67.95 kB / 0.7248 GB, free: 10.22 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5999, allocations: 373.2 kB / 0.7251 GB, free: 9.859 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.6029, allocations: 1.987 MB / 0.7271 GB, free: 7.836 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.6037, allocations: 1.102 MB / 0.7282 GB, free: 6.707 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0005683/0.6043, allocations: 220.4 kB / 0.7284 GB, free: 6.488 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.6045, allocations: 75.44 kB / 0.7284 GB, free: 6.414 MB / 0.5606 GB
Notification: Performance of SimCode: time 4.11e-07/0.6045, allocations: 0 / 0.7284 GB, free: 6.414 MB / 0.5606 GB
Notification: Performance of Templates: time 0.03518/0.6397, allocations: 18.12 MB / 0.7461 GB, free: 4.266 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.111642073839903]
Failed to read output from testmodel.py, exit status != 0:
0.6493519805371761 0.664334677 0.09225008100000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f95f9a457b0>