Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.001338/0.001338, allocations: 112.2 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.001398/0.001398, allocations: 187.8 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.403/1.403, 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.3023/0.3023, 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.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB")
translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [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.00252/0.00252, allocations: 71.89 kB / 476.8 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1167, allocations: 62.42 MB / 0.5266 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.2321/0.3489, allocations: 16.25 MB / 0.5425 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01345/0.3623, allocations: 13.64 MB / 0.5558 GB, free: 7.215 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.3626, allocations: 6.312 kB / 0.5558 GB, free: 7.211 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000467/0.3631, allocations: 136.3 kB / 0.5559 GB, free: 7.145 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.3634, allocations: 205.1 kB / 0.5561 GB, free: 7.039 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01462/0.3781, allocations: 5.352 MB / 0.5613 GB, free: 5 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00227/0.3803, allocations: 1.962 MB / 0.5633 GB, free: 4.176 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3805, allocations: 60.83 kB / 0.5633 GB, free: 4.148 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008256/0.3813, allocations: 0.6248 MB / 0.5639 GB, free: 3.934 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.3824, allocations: 0.799 MB / 0.5647 GB, free: 3.664 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.3827, allocations: 136.8 kB / 0.5648 GB, free: 3.664 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.3968, allocations: 6.799 MB / 0.5715 GB, free: 0.6094 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.3972, allocations: 478.1 kB / 0.5719 GB, free: 268 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009151/0.3982, allocations: 0.5759 MB / 0.5725 GB, free: 15.88 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01298/0.4111, allocations: 5.045 MB / 0.5774 GB, free: 12.64 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4111, allocations: 0 / 0.5774 GB, free: 12.64 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.653e-06/0.4111, allocations: 0 / 0.5774 GB, free: 12.64 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.615e-05/0.4112, allocations: 1.188 kB / 0.5774 GB, free: 12.64 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 203
 * Number of variables: 203
Notification: Performance of Generate backend data structure: time 0.01146/0.4226, allocations: 2.545 MB / 0.5799 GB, free: 11.2 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4227, allocations: 9.344 kB / 0.5799 GB, free: 11.2 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.4246, allocations: 297.7 kB / 0.5802 GB, free: 11.06 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.426, allocations: 0.5431 MB / 0.5807 GB, free: 10.66 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/0.427, allocations: 465.7 kB / 0.5812 GB, free: 10.36 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.4273, allocations: 73.22 kB / 0.5812 GB, free: 10.33 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.4375, allocations: 3.371 MB / 0.5845 GB, free: 8.52 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.4375, allocations: 3.891 kB / 0.5845 GB, free: 8.52 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.4377, allocations: 29.31 kB / 0.5846 GB, free: 8.496 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/0.4378, allocations: 55.06 kB / 0.5846 GB, free: 8.48 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.4551, allocations: 5.394 MB / 0.5899 GB, free: 4.863 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/0.4741, allocations: 10.05 MB / 0.5997 GB, free: 10.32 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008873/0.483, allocations: 2.64 MB / 0.6023 GB, free: 7.672 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.007476/0.4905, allocations: 2.205 MB / 0.6044 GB, free: 5.465 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.1114/0.6019, allocations: 27.92 MB / 0.6317 GB, free: 9.52 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.6019, allocations: 39.56 kB / 0.6317 GB, free: 9.473 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=88): time 2.875e-06/0.602, allocations: 0 / 0.6317 GB, free: 9.473 MB / 478.1 MB
Notification: Performance of matching and sorting (n=88): time 0.02411/0.6261, allocations: 6.642 MB / 0.6382 GB, free: 2.816 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.6261, allocations: 60.41 kB / 0.6383 GB, free: 2.746 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.6264, allocations: 248.9 kB / 0.6385 GB, free: 2.496 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.6266, allocations: 41.7 kB / 0.6386 GB, free: 2.449 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.6268, allocations: 245.1 kB / 0.6388 GB, free: 2.203 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.6273, allocations: 321.2 kB / 0.6391 GB, free: 1.887 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007144/0.628, allocations: 286.2 kB / 0.6394 GB, free: 1.602 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.000194/0.6282, allocations: 354.8 kB / 0.6397 GB, free: 1.246 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.007158/0.6354, allocations: 2.144 MB / 0.6418 GB, free: 15.1 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007302/0.6427, allocations: 2.259 MB / 0.644 GB, free: 12.81 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/0.6554, allocations: 3.394 MB / 0.6473 GB, free: 9.383 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6554, allocations: 0 / 0.6473 GB, free: 9.383 MB / 494.1 MB
Notification: Performance of matching and sorting (n=97) (initialization): time 0.01451/0.6699, allocations: 4.141 MB / 0.6514 GB, free: 5.23 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6699, allocations: 8 kB / 0.6514 GB, free: 5.223 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6699, allocations: 0.75 kB / 0.6514 GB, free: 5.223 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.67, allocations: 12.22 kB / 0.6514 GB, free: 5.211 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/0.6741, allocations: 0.8228 MB / 0.6522 GB, free: 4.387 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.6741, allocations: 8 kB / 0.6522 GB, free: 4.379 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/0.6774, allocations: 0.612 MB / 0.6528 GB, free: 3.766 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.6777, allocations: 91.81 kB / 0.6529 GB, free: 3.676 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (96):
 * Single equations (assignments): 95
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0007291/0.6784, allocations: 261.5 kB / 0.6531 GB, free: 3.41 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.6788, allocations: 52.59 kB / 0.6532 GB, free: 3.359 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.6961, allocations: 6.634 MB / 0.6597 GB, free: 12.71 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01608/0.7122, allocations: 6.05 MB / 0.6656 GB, free: 6.645 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.7122, allocations: 5.688 kB / 0.6656 GB, free: 6.641 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7122, allocations: 3.984 kB / 0.6656 GB, free: 6.637 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/0.7353, allocations: 9.222 MB / 0.6746 GB, free: 13.35 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.7353, allocations: 7.625 kB / 0.6746 GB, free: 13.34 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004078/0.7393, allocations: 0.8034 MB / 0.6754 GB, free: 12.54 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.7393, allocations: 4 kB / 0.6754 GB, free: 12.54 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/0.7396, allocations: 75.81 kB / 0.6754 GB, free: 12.46 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.7396, allocations: 8 kB / 0.6755 GB, free: 12.45 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.7396, allocations: 4 kB / 0.6755 GB, free: 12.45 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/0.7547, allocations: 4.878 MB / 0.6802 GB, free: 7.543 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.755, allocations: 126.8 kB / 0.6803 GB, free: 7.418 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.7553, allocations: 16 kB / 0.6804 GB, free: 7.402 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/0.7584, allocations: 0.5656 MB / 0.6809 GB, free: 6.836 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.7587, allocations: 140.6 kB / 0.681 GB, free: 6.699 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/0.759, allocations: 83.81 kB / 0.6811 GB, free: 6.617 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.0002325/0.7592, allocations: 197.2 kB / 0.6813 GB, free: 6.422 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.7592, allocations: 0 / 0.6813 GB, free: 6.422 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.004167/0.7634, allocations: 1.287 MB / 0.6826 GB, free: 5.133 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (98):
 * Single equations (assignments): 88
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 10
 * 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.004503/0.7679, allocations: 1.161 MB / 0.6837 GB, free: 3.965 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.01521/0.7831, allocations: 4.825 MB / 0.6884 GB, free: 15.13 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.7831, allocations: 4 kB / 0.6884 GB, free: 15.12 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.007969/0.7911, allocations: 2.547 MB / 0.6909 GB, free: 12.58 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.7932, allocations: 348.7 kB / 0.6912 GB, free: 12.24 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.8059, allocations: 4.574 MB / 0.6957 GB, free: 7.629 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.8068, allocations: 1.125 MB / 0.6968 GB, free: 6.473 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.002253/0.809, allocations: 0.7189 MB / 0.6975 GB, free: 5.754 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.8102, allocations: 215 kB / 0.6977 GB, free: 5.543 MB / 0.5294 GB
Notification: Performance of SimCode: time 8.51e-07/0.8102, allocations: 0 / 0.6977 GB, free: 5.543 MB / 0.5294 GB
Notification: Performance of Templates: time 0.08789/0.8981, allocations: 59.81 MB / 0.7561 GB, free: 9.523 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.77183735370636]
Failed to read output from testmodel.py, exit status != 0:
0.9072588393464684 1.084755245 0.670967234
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6ca9d657b0>