Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.001772/0.001772, allocations: 112 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.00205/0.00205, allocations: 180.8 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.639/1.639, allocations: 207.6 MB / 234.5 MB, free: 10.01 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.3035/0.3035, allocations: 49.55 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.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2")
translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") [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.002225/0.002225, allocations: 71.89 kB / 476.8 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1204, allocations: 62.41 MB / 0.5266 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.2475/0.3679, allocations: 37.66 MB / 0.5634 GB, free: 1.66 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0217/0.3896, allocations: 14.92 MB / 0.5779 GB, free: 7.387 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003823/0.39, allocations: 12 kB / 0.5779 GB, free: 7.379 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.3906, allocations: 141.1 kB / 0.5781 GB, free: 7.293 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.3911, allocations: 223.2 kB / 0.5783 GB, free: 7.148 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.02044/0.4115, allocations: 6.529 MB / 0.5847 GB, free: 3.062 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009989/0.4125, allocations: 0.5885 MB / 0.5852 GB, free: 2.723 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.4129, allocations: 182.3 kB / 0.5854 GB, free: 2.598 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.4132, allocations: 225.5 kB / 0.5856 GB, free: 2.48 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.4135, allocations: 229.6 kB / 0.5859 GB, free: 2.34 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.4136, allocations: 25.88 kB / 0.5859 GB, free: 2.34 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01828/0.4319, allocations: 8.929 MB / 0.5946 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.432, allocations: 69.95 kB / 0.5947 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.4325, allocations: 189.3 kB / 0.5948 GB, free: 13.51 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01547/0.4479, allocations: 5.157 MB / 0.5999 GB, free: 10.19 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4479, allocations: 2.562 kB / 0.5999 GB, free: 10.19 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.513e-06/0.4479, allocations: 0 / 0.5999 GB, free: 10.19 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 9.588e-06/0.448, allocations: 0 / 0.5999 GB, free: 10.19 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 65
 * Number of variables: 65
Notification: Performance of Generate backend data structure: time 0.003729/0.4517, allocations: 1.192 MB / 0.601 GB, free: 9.332 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4517, allocations: 16.98 kB / 0.6011 GB, free: 9.324 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.452, allocations: 59.66 kB / 0.6011 GB, free: 9.297 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.4525, allocations: 265.3 kB / 0.6014 GB, free: 9.062 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.4525, allocations: 18.34 kB / 0.6014 GB, free: 9.055 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.4526, allocations: 37.91 kB / 0.6014 GB, free: 9.035 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.4533, allocations: 327.2 kB / 0.6017 GB, free: 8.695 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.4533, allocations: 1.078 kB / 0.6017 GB, free: 8.695 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.4534, allocations: 16 kB / 0.6018 GB, free: 8.68 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4534, allocations: 8 kB / 0.6018 GB, free: 8.672 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.4539, allocations: 205.8 kB / 0.602 GB, free: 8.469 MB / 446.1 MB
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.001963/0.4559, allocations: 1.42 MB / 0.6033 GB, free: 6.93 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.4564, allocations: 178.6 kB / 0.6035 GB, free: 6.746 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4566, allocations: 52.83 kB / 0.6036 GB, free: 6.691 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.118/0.5745, allocations: 33.5 MB / 0.6363 GB, free: 5.156 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.5746, allocations: 38.56 kB / 0.6363 GB, free: 5.109 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.5746, allocations: 4.828 kB / 0.6363 GB, free: 5.105 MB / 478.1 MB
Notification: Performance of matching and sorting (n=14): time 0.001327/0.5759, allocations: 314.1 kB / 0.6366 GB, free: 4.789 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.5759, allocations: 59.34 kB / 0.6367 GB, free: 4.719 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.5764, allocations: 365.6 kB / 0.637 GB, free: 4.355 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.5765, allocations: 29.7 kB / 0.6371 GB, free: 4.32 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5766, allocations: 216.1 kB / 0.6373 GB, free: 4.105 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.5767, allocations: 47.59 kB / 0.6373 GB, free: 4.059 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.5768, allocations: 41.7 kB / 0.6374 GB, free: 4.012 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001737/0.5769, allocations: 342.8 kB / 0.6377 GB, free: 3.668 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.5771, allocations: 47.83 kB / 0.6377 GB, free: 3.621 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.5772, allocations: 102.8 kB / 0.6378 GB, free: 3.496 MB / 478.1 MB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a)
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009735/0.5782, allocations: 292.4 kB / 0.6381 GB, free: 3.188 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5782, allocations: 4.875 kB / 0.6381 GB, free: 3.184 MB / 478.1 MB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004813/0.5787, allocations: 226.8 kB / 0.6383 GB, free: 2.953 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5787, allocations: 8.469 kB / 0.6383 GB, free: 2.945 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5787, allocations: 3.938 kB / 0.6383 GB, free: 2.941 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.5788, allocations: 29.06 kB / 0.6384 GB, free: 2.91 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.579, allocations: 47.92 kB / 0.6384 GB, free: 2.863 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.5803, allocations: 1.289 MB / 0.6397 GB, free: 1.461 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.5805, allocations: 23.84 kB / 0.6397 GB, free: 1.438 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.5805, allocations: 11.98 kB / 0.6397 GB, free: 1.426 MB / 478.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         Inertia1.a = $START.Inertia1.a.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 1 (ST.fluidState_in.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (22):
 * Single equations (assignments): 21
 * 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): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001796/0.5807, allocations: 141.7 kB / 0.6398 GB, free: 1.277 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.5808, allocations: 35.86 kB / 0.6399 GB, free: 1.242 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008926/0.5817, allocations: 0.6317 MB / 0.6405 GB, free: 0.5977 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5817, allocations: 11.98 kB / 0.6405 GB, free: 0.5859 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5817, allocations: 0 / 0.6405 GB, free: 0.5859 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5817, allocations: 3.938 kB / 0.6405 GB, free: 0.582 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.5832, allocations: 1.069 MB / 0.6415 GB, free: 15.46 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5832, allocations: 3.984 kB / 0.6415 GB, free: 15.45 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.5834, allocations: 31.92 kB / 0.6416 GB, free: 15.42 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.5835, allocations: 24.84 kB / 0.6416 GB, free: 15.39 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.5836, allocations: 4.562 kB / 0.6416 GB, free: 15.39 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.5848, allocations: 1.284 MB / 0.6429 GB, free: 13.99 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5848, allocations: 7.875 kB / 0.6429 GB, free: 13.98 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.5858, allocations: 0.6727 MB / 0.6435 GB, free: 13.29 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.586, allocations: 51.62 kB / 0.6436 GB, free: 13.24 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.586, allocations: 11.55 kB / 0.6436 GB, free: 13.23 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5862, allocations: 8 kB / 0.6436 GB, free: 13.22 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.5863, allocations: 7.984 kB / 0.6436 GB, free: 13.21 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.5863, allocations: 8 kB / 0.6436 GB, free: 13.21 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0003446/0.5866, allocations: 263.2 kB / 0.6439 GB, free: 12.95 MB / 494.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5866, allocations: 0 / 0.6439 GB, free: 12.95 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.004151/0.5908, allocations: 1.267 MB / 0.6451 GB, free: 11.68 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi)
 * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (15):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.007219/0.598, allocations: 1.407 MB / 0.6465 GB, free: 10.26 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007169/0.5987, allocations: 302.4 kB / 0.6468 GB, free: 9.953 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.5987, allocations: 4.438 kB / 0.6468 GB, free: 9.949 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.599, allocations: 230.5 kB / 0.647 GB, free: 9.711 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6001, allocations: 170.1 kB / 0.6471 GB, free: 9.551 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6022, allocations: 0.9699 MB / 0.6481 GB, free: 8.555 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.6028, allocations: 0.8077 MB / 0.6489 GB, free: 7.715 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0002752/0.6031, allocations: 70.91 kB / 0.6489 GB, free: 7.641 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.6032, allocations: 31.42 kB / 0.649 GB, free: 7.609 MB / 494.1 MB
Notification: Performance of SimCode: time 1.042e-06/0.6032, allocations: 0 / 0.649 GB, free: 7.609 MB / 494.1 MB
Notification: Performance of Templates: time 0.07978/0.683, allocations: 49.33 MB / 0.6972 GB, free: 6.188 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.231226983480155]
Failed to read output from testmodel.py, exit status != 0:
0.6926890043541789 0.713809373 0.261280504
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f71b9c457b0>