Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.002166/0.002166, 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.002894/0.002894, 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.653/1.653, 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.3086/0.3086, allocations: 49.56 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.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser")
translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [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.002386/0.002386, allocations: 67.89 kB / 476.8 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1162, allocations: 62.42 MB / 0.5266 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2645/0.3807, allocations: 51.75 MB / 0.5771 GB, free: 7.613 MB / 430.1 MB
Notification: Performance of NFInst.instExpressions: time 0.02119/0.4019, allocations: 17.31 MB / 0.594 GB, free: 10.54 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.4024, allocations: 13.91 kB / 0.594 GB, free: 10.53 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.4032, allocations: 260.3 kB / 0.5943 GB, free: 10.33 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006237/0.4094, allocations: 2.39 MB / 0.5966 GB, free: 8.629 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.009244/0.4187, allocations: 3.262 MB / 0.5998 GB, free: 6.316 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001549/0.4202, allocations: 0.8649 MB / 0.6006 GB, free: 5.828 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005416/0.4208, allocations: 239.1 kB / 0.6009 GB, free: 5.664 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.4213, allocations: 353.8 kB / 0.6012 GB, free: 5.484 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.4219, allocations: 390.2 kB / 0.6016 GB, free: 5.273 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.422, allocations: 33 kB / 0.6016 GB, free: 5.273 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01473/0.4367, allocations: 7.563 MB / 0.609 GB, free: 1.309 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.4369, allocations: 103.5 kB / 0.6091 GB, free: 1.207 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.4373, allocations: 250.8 kB / 0.6093 GB, free: 0.9609 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009974/0.4473, allocations: 4.626 MB / 0.6138 GB, free: 12.32 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4473, allocations: 4 kB / 0.6139 GB, free: 12.32 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.613e-06/0.4473, allocations: 0 / 0.6139 GB, free: 12.32 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 1.317e-05/0.4473, allocations: 0 / 0.6139 GB, free: 12.32 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 89
 * Number of variables: 89
Notification: Performance of Generate backend data structure: time 0.002835/0.4501, allocations: 1.323 MB / 0.6151 GB, free: 10.95 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4502, allocations: 12.03 kB / 0.6152 GB, free: 10.94 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.4511, allocations: 156.5 kB / 0.6153 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4517, allocations: 306.1 kB / 0.6156 GB, free: 10.46 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.4517, allocations: 29.03 kB / 0.6156 GB, free: 10.44 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.4518, allocations: 32.56 kB / 0.6157 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.4527, allocations: 483 kB / 0.6161 GB, free: 9.895 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4527, allocations: 4 kB / 0.6161 GB, free: 9.891 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.4527, allocations: 16 kB / 0.6161 GB, free: 9.875 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4527, allocations: 8 kB / 0.6161 GB, free: 9.867 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.4534, allocations: 306.3 kB / 0.6164 GB, free: 9.566 MB / 462.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.002682/0.4561, allocations: 2.463 MB / 0.6188 GB, free: 6.852 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.4568, allocations: 262.6 kB / 0.6191 GB, free: 6.586 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.457, allocations: 125.4 kB / 0.6192 GB, free: 6.461 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.05842/0.5154, allocations: 16.85 MB / 0.6357 GB, free: 5.59 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.5161, allocations: 302.5 kB / 0.636 GB, free: 5.27 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=32): time 2.625e-06/0.5161, allocations: 0 / 0.636 GB, free: 5.27 MB / 478.1 MB
Notification: Performance of matching and sorting (n=36): time 0.00397/0.5201, allocations: 1.581 MB / 0.6375 GB, free: 3.609 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.5202, allocations: 140.5 kB / 0.6376 GB, free: 3.441 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.5207, allocations: 397.9 kB / 0.638 GB, free: 3.043 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5208, allocations: 37.64 kB / 0.638 GB, free: 3 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.521, allocations: 244.5 kB / 0.6383 GB, free: 2.758 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.5211, allocations: 119 kB / 0.6384 GB, free: 2.641 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.5213, allocations: 78.02 kB / 0.6385 GB, free: 2.559 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001871/0.5215, allocations: 350.8 kB / 0.6388 GB, free: 2.207 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.5217, allocations: 136.7 kB / 0.6389 GB, free: 2.074 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.522, allocations: 219.7 kB / 0.6391 GB, free: 1.832 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.5227, allocations: 470.2 kB / 0.6396 GB, free: 1.32 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5227, allocations: 0 / 0.6396 GB, free: 1.32 MB / 478.1 MB
Notification: Performance of matching and sorting (n=49) (initialization): time 0.001162/0.5239, allocations: 0.6148 MB / 0.6402 GB, free: 0.6797 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.5239, allocations: 71.39 kB / 0.6403 GB, free: 0.5977 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.524, allocations: 11.88 kB / 0.6403 GB, free: 0.5859 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.5256, allocations: 158.9 kB / 0.6404 GB, free: 436 kB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.5258, allocations: 59.92 kB / 0.6405 GB, free: 376 kB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5269, allocations: 1.136 MB / 0.6416 GB, free: 15.18 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.5272, allocations: 12 kB / 0.6416 GB, free: 15.16 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.5272, allocations: 16 kB / 0.6416 GB, free: 15.15 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (35):
 * Single equations (assignments): 31
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (2,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.5275, allocations: 249.1 kB / 0.6419 GB, free: 14.88 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5276, allocations: 51.28 kB / 0.6419 GB, free: 14.84 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.53, allocations: 1.618 MB / 0.6435 GB, free: 13.2 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.53, allocations: 15.97 kB / 0.6435 GB, free: 13.18 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.53, allocations: 3.938 kB / 0.6435 GB, free: 13.18 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.53, allocations: 7.984 kB / 0.6435 GB, free: 13.17 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.5309, allocations: 0.7157 MB / 0.6442 GB, free: 12.41 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5309, allocations: 4 kB / 0.6442 GB, free: 12.41 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.5311, allocations: 47.91 kB / 0.6443 GB, free: 12.36 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006302/0.5317, allocations: 252.3 kB / 0.6445 GB, free: 12.11 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.5318, allocations: 16.03 kB / 0.6445 GB, free: 12.09 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.533, allocations: 1.363 MB / 0.6458 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.533, allocations: 0 / 0.6458 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.5354, allocations: 1.74 MB / 0.6475 GB, free: 8.898 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.5356, allocations: 111.3 kB / 0.6477 GB, free: 8.789 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.5357, allocations: 8.625 kB / 0.6477 GB, free: 8.781 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.5359, allocations: 12 kB / 0.6477 GB, free: 8.77 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.536, allocations: 27.89 kB / 0.6477 GB, free: 8.742 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.536, allocations: 16 kB / 0.6477 GB, free: 8.727 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0003277/0.5363, allocations: 279.1 kB / 0.648 GB, free: 8.457 MB / 494.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.5363, allocations: 4 kB / 0.648 GB, free: 8.453 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.003209/0.5395, allocations: 1.119 MB / 0.6491 GB, free: 7.332 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h)
 * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled)
 * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (28):
 * Single equations (assignments): 20
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 4
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,1), (1,2)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.005069/0.5446, allocations: 1.326 MB / 0.6504 GB, free: 5.992 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.00136/0.546, allocations: 0.6813 MB / 0.651 GB, free: 5.285 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.546, allocations: 3.938 kB / 0.651 GB, free: 5.281 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008171/0.5468, allocations: 0.5135 MB / 0.6515 GB, free: 4.742 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5478, allocations: 191.5 kB / 0.6517 GB, free: 4.559 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.5506, allocations: 1.491 MB / 0.6532 GB, free: 3.035 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.5513, allocations: 0.9112 MB / 0.6541 GB, free: 2.102 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0003/0.5516, allocations: 95.11 kB / 0.6542 GB, free: 2.008 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.5517, allocations: 31.44 kB / 0.6542 GB, free: 1.977 MB / 494.1 MB
Notification: Performance of SimCode: time 1.192e-06/0.5517, allocations: 0 / 0.6542 GB, free: 1.977 MB / 494.1 MB
Notification: Performance of Templates: time 0.066/0.6177, allocations: 41.29 MB / 0.6945 GB, free: 8.613 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660]
(rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.415641327388585]
Failed to read output from testmodel.py, exit status != 0:
0.6275201151147485 0.642019681 0.19141854600000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6373aa17b0>